[INFO] cloning repository https://github.com/gosse123/toda-tasks-v1
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gosse123/toda-tasks-v1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgosse123%2Ftoda-tasks-v1", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgosse123%2Ftoda-tasks-v1'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 330c64df5b0e40ab8a87bd496f5d20c5b66c924e
[INFO] checking gosse123/toda-tasks-v1 against 24e1a22664233bce1f9b5dc6eee7c1f74327e28c for pr-159343-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgosse123%2Ftoda-tasks-v1" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gosse123/toda-tasks-v1
[INFO] finished tweaking git repo https://github.com/gosse123/toda-tasks-v1
[INFO] tweaked toml for git repo https://github.com/gosse123/toda-tasks-v1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gosse123/toda-tasks-v1 on toolchain 24e1a22664233bce1f9b5dc6eee7c1f74327e28c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gosse123/toda-tasks-v1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7d1f32d5ca541ad107d9ead5b9e9546c9b14bff5e4500aa0b85d5a22fadf8c3b
[INFO] running `Command { std: "docker" "start" "7d1f32d5ca541ad107d9ead5b9e9546c9b14bff5e4500aa0b85d5a22fadf8c3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d1f32d5ca541ad107d9ead5b9e9546c9b14bff5e4500aa0b85d5a22fadf8c3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7d1f32d5ca541ad107d9ead5b9e9546c9b14bff5e4500aa0b85d5a22fadf8c3b" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d1f32d5ca541ad107d9ead5b9e9546c9b14bff5e4500aa0b85d5a22fadf8c3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7d1f32d5ca541ad107d9ead5b9e9546c9b14bff5e4500aa0b85d5a22fadf8c3b" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]     Checking memchr v2.8.1
[INFO] [stderr]     Checking colored_text v0.4.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking todo_task v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/todo/todo_struct.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/todo/todo_struct.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/todo/todo_struct.rs:73:23
[INFO] [stdout]    |
[INFO] [stdout] 73 |     sauvegarder(path, & base_json);
[INFO] [stdout]    |     -----------       ^^^^^^^^^^^ expected `&str`, found `&Result<String, Error>`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&str`
[INFO] [stdout]               found reference `&Result<std::string::String, serde_json::Error>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/todo/todo_struct.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn sauvegarder(path: &str, contenu: &str) -> Result<(), FormError> {
[INFO] [stdout]    |    ^^^^^^^^^^^             -------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/todo/todo_struct.rs:73:23
[INFO] [stdout]    |
[INFO] [stdout] 73 |     sauvegarder(path, & base_json);
[INFO] [stdout]    |     -----------       ^^^^^^^^^^^ expected `&str`, found `&Result<String, Error>`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&str`
[INFO] [stdout]               found reference `&Result<std::string::String, serde_json::Error>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/todo/todo_struct.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn sauvegarder(path: &str, contenu: &str) -> Result<(), FormError> {
[INFO] [stdout]    |    ^^^^^^^^^^^             -------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/main.rs:68:18
[INFO] [stdout]    |
[INFO] [stdout] 68 |             1 => Taks::add(&mut base),
[INFO] [stdout]    |                  ^^^^^^^^^----------- argument #2 of type `&str` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/todo/todo_struct.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn add(data: &mut Vec<Taks>,path: &str) {
[INFO] [stdout]    |            ^^^                      ----------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 68 |             1 => Taks::add(&mut base, /* &str */),
[INFO] [stdout]    |                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/main.rs:68:18
[INFO] [stdout]    |
[INFO] [stdout] 68 |             1 => Taks::add(&mut base),
[INFO] [stdout]    |                  ^^^^^^^^^----------- argument #2 of type `&str` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/todo/todo_struct.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn add(data: &mut Vec<Taks>,path: &str) {
[INFO] [stdout]    |            ^^^                      ----------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 68 |             1 => Taks::add(&mut base, /* &str */),
[INFO] [stdout]    |                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/main.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         Err(e)=>{return Err(FormError::FileNotFound);}
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/main.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         Err(e)=>{return Err(FormError::FileNotFound);}
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `todo_task` (bin "todo_task" test) due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `todo_task` (bin "todo_task") due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7d1f32d5ca541ad107d9ead5b9e9546c9b14bff5e4500aa0b85d5a22fadf8c3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d1f32d5ca541ad107d9ead5b9e9546c9b14bff5e4500aa0b85d5a22fadf8c3b", kill_on_drop: false }`
[INFO] [stdout] 7d1f32d5ca541ad107d9ead5b9e9546c9b14bff5e4500aa0b85d5a22fadf8c3b
