[INFO] cloning repository https://github.com/rustspeak/sapin_deux
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rustspeak/sapin_deux" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustspeak%2Fsapin_deux", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustspeak%2Fsapin_deux'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d8ac653f5ed647385a3ad96ad1c20ebf40bab9a3
[INFO] checking rustspeak/sapin_deux against e4d5758286bf2cf6f415802f2cf861747a7c6c8c for pr-152972
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustspeak%2Fsapin_deux" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rustspeak/sapin_deux
[INFO] finished tweaking git repo https://github.com/rustspeak/sapin_deux
[INFO] tweaked toml for git repo https://github.com/rustspeak/sapin_deux written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rustspeak/sapin_deux on toolchain e4d5758286bf2cf6f415802f2cf861747a7c6c8c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rustspeak/sapin_deux 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" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cc77cece65b0e2c86c392e21c16f498b4fda40c88cd821ca18997cc811b8d21b
[INFO] running `Command { std: "docker" "start" "cc77cece65b0e2c86c392e21c16f498b4fda40c88cd821ca18997cc811b8d21b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cc77cece65b0e2c86c392e21c16f498b4fda40c88cd821ca18997cc811b8d21b", 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" "cc77cece65b0e2c86c392e21c16f498b4fda40c88cd821ca18997cc811b8d21b" "/opt/rustwide/cargo-home/bin/cargo" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cc77cece65b0e2c86c392e21c16f498b4fda40c88cd821ca18997cc811b8d21b", 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" "cc77cece65b0e2c86c392e21c16f498b4fda40c88cd821ca18997cc811b8d21b" "/opt/rustwide/cargo-home/bin/cargo" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking sapin_deux v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found `println`
[INFO] [stdout]   --> src/main.rs:27:54
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let   code_valide: &str = code.trim().to_string()
[INFO] [stdout]    |                                                      ^ help: add `;` here
[INFO] [stdout] 28 |      println!("{:?}", code_valide);
[INFO] [stdout]    |      ------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `println`
[INFO] [stdout]   --> src/main.rs:27:54
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let   code_valide: &str = code.trim().to_string()
[INFO] [stdout]    |                                                      ^ help: add `;` here
[INFO] [stdout] 28 |      println!("{:?}", code_valide);
[INFO] [stdout]    |      ------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Write;
[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::thread`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Write;
[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::thread`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:27:31
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let   code_valide: &str = code.trim().to_string()
[INFO] [stdout]    |                        ----   ^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        expected due to this
[INFO] [stdout]    |
[INFO] [stdout] help: try removing the method call
[INFO] [stdout]    |
[INFO] [stdout] 27 -     let   code_valide: &str = code.trim().to_string()
[INFO] [stdout] 27 +     let   code_valide: &str = code.trim()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:27:31
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let   code_valide: &str = code.trim().to_string()
[INFO] [stdout]    |                        ----   ^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        expected due to this
[INFO] [stdout]    |
[INFO] [stdout] help: try removing the method call
[INFO] [stdout]    |
[INFO] [stdout] 27 -     let   code_valide: &str = code.trim().to_string()
[INFO] [stdout] 27 +     let   code_valide: &str = code.trim()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]  --> src/main.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn verification_code(code: &str, code_valide : &str )  {
[INFO] [stdout]   |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]  --> src/main.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn verification_code(code: &str, code_valide : &str )  {
[INFO] [stdout]   |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sapin_deux` (bin "sapin_deux" test) due to 2 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `sapin_deux` (bin "sapin_deux") due to 2 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cc77cece65b0e2c86c392e21c16f498b4fda40c88cd821ca18997cc811b8d21b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc77cece65b0e2c86c392e21c16f498b4fda40c88cd821ca18997cc811b8d21b", kill_on_drop: false }`
[INFO] [stdout] cc77cece65b0e2c86c392e21c16f498b4fda40c88cd821ca18997cc811b8d21b
