[INFO] cloning repository https://github.com/wqferr/rust-todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wqferr/rust-todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwqferr%2Frust-todo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwqferr%2Frust-todo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09610fce67884065069eb6a2acd2f533b31f9cfc [INFO] checking wqferr/rust-todo against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwqferr%2Frust-todo" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wqferr/rust-todo on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wqferr/rust-todo [INFO] finished tweaking git repo https://github.com/wqferr/rust-todo [INFO] tweaked toml for git repo https://github.com/wqferr/rust-todo written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wqferr/rust-todo 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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d24c31246f095f39012dc4082e36cd3912608a7304a9c52ab777d51b38749d68 [INFO] running `Command { std: "docker" "start" "-a" "d24c31246f095f39012dc4082e36cd3912608a7304a9c52ab777d51b38749d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d24c31246f095f39012dc4082e36cd3912608a7304a9c52ab777d51b38749d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d24c31246f095f39012dc4082e36cd3912608a7304a9c52ab777d51b38749d68", kill_on_drop: false }` [INFO] [stdout] d24c31246f095f39012dc4082e36cd3912608a7304a9c52ab777d51b38749d68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfc654b90a3498ae20eabc9b8e9292c8a4522d88302e9585377f53588a7cd6f3 [INFO] running `Command { std: "docker" "start" "-a" "dfc654b90a3498ae20eabc9b8e9292c8a4522d88302e9585377f53588a7cd6f3", kill_on_drop: false }` [INFO] [stderr] Checking rust-todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `msg` in this scope [INFO] [stdout] --> src/main.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | println!("{}", msg); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `msg` in this scope [INFO] [stdout] --> src/main.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | println!("{}", msg); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 61 | match read_item() { [INFO] [stdout] | ----------- this expression has type `Result` [INFO] [stdout] 62 | Ok(it) => { items.push(it) }, [INFO] [stdout] 63 | Err(io::ErrorKind::InvalidInput) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error`, found `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 61 | match read_item() { [INFO] [stdout] | ----------- this expression has type `Result` [INFO] [stdout] 62 | Ok(it) => { items.push(it) }, [INFO] [stdout] 63 | Err(io::ErrorKind::InvalidInput) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error`, found `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 48 | fn main() -> io::Result<()> { [INFO] [stdout] | -------------- expected `Result<(), std::io::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 66 | Err(error) => { return error; } [INFO] [stdout] | ^^^^^ expected `Result<(), Error>`, found `Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found struct `std::io::Error` [INFO] [stdout] help: try wrapping the expression in `Err` [INFO] [stdout] | [INFO] [stdout] 66 | Err(error) => { return Err(error); } [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 48 | fn main() -> io::Result<()> { [INFO] [stdout] | -------------- expected `Result<(), std::io::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 66 | Err(error) => { return error; } [INFO] [stdout] | ^^^^^ expected `Result<(), Error>`, found `Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found struct `std::io::Error` [INFO] [stdout] help: try wrapping the expression in `Err` [INFO] [stdout] | [INFO] [stdout] 66 | Err(error) => { return Err(error); } [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | io::stdin().read_line(&mut buf).map_err(|x| ())?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | buf.trim().parse::().map_err(|x| ()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | io::stdin().read_line(&mut buf).map_err(|x| ())?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | buf.trim().parse::().map_err(|x| ()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-todo` (bin "rust-todo") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-todo` (bin "rust-todo" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dfc654b90a3498ae20eabc9b8e9292c8a4522d88302e9585377f53588a7cd6f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfc654b90a3498ae20eabc9b8e9292c8a4522d88302e9585377f53588a7cd6f3", kill_on_drop: false }` [INFO] [stdout] dfc654b90a3498ae20eabc9b8e9292c8a4522d88302e9585377f53588a7cd6f3