{"message":{"children":[],"code":{"code":"E0061","explanation":"\nThe number of arguments passed to a function must match the number of arguments\nspecified in the function signature.\n\nFor example, a function like:\n\n```\nfn f(a: u16, b: &str) {}\n```\n\nMust always be called with exactly two arguments, e.g. `f(2, \"test\")`.\n\nNote that Rust does not have a notion of optional function arguments or\nvariadic functions (except for its C-FFI).\n"},"level":"error","message":"this function takes 1 parameter but 2 parameters were supplied","rendered":"error[E0061]: this function takes 1 parameter but 2 parameters were supplied\n --> build/main.rs:6:5\n  |\n1 | fn foo(i : i32) {\n  | --------------- defined here\n...\n6 |     foo(1, 1);\n  |     ^^^^^^^^^ expected 1 parameter\n\n","spans":[{"byte_end":15,"byte_start":0,"column_end":16,"column_start":1,"expansion":null,"file_name":"build/main.rs","is_primary":false,"label":"defined here","line_end":1,"line_start":1,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":16,"highlight_start":1,"text":"fn foo(i : i32) {"}]},{"byte_end":67,"byte_start":58,"column_end":14,"column_start":5,"expansion":null,"file_name":"build/main.rs","is_primary":true,"label":"expected 1 parameter","line_end":6,"line_start":6,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":14,"highlight_start":5,"text":"    foo(1, 1);"}]}]},"package_id":"testfoo 0.1.0 (path+file:///home/dpc/tmp/testfoo)","reason":"compiler-message","target":{"crate_types":["bin"],"edition":"2015","kind":["bin"],"name":"testfoo","src_path":"/home/dpc/tmp/testfoo/build/main.rs"}}
{"message":{"children":[],"code":null,"level":"error","message":"aborting due to previous error","rendered":"error: aborting due to previous error\n\n","spans":[]},"package_id":"testfoo 0.1.0 (path+file:///home/dpc/tmp/testfoo)","reason":"compiler-message","target":{"crate_types":["bin"],"edition":"2015","kind":["bin"],"name":"testfoo","src_path":"/home/dpc/tmp/testfoo/build/main.rs"}}
{"message":{"children":[],"code":null,"level":"","message":"For more information about this error, try `rustc --explain E0061`.","rendered":"For more information about this error, try `rustc --explain E0061`.\n","spans":[]},"package_id":"testfoo 0.1.0 (path+file:///home/dpc/tmp/testfoo)","reason":"compiler-message","target":{"crate_types":["bin"],"edition":"2015","kind":["bin"],"name":"testfoo","src_path":"/home/dpc/tmp/testfoo/build/main.rs"}}
