[INFO] cloning repository https://github.com/ruocuoguo23/rust-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ruocuoguo23/rust-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruocuoguo23%2Frust-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruocuoguo23%2Frust-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 187caa110e15e0b035a30b2542cbe58fa9eb58d6 [INFO] checking ruocuoguo23/rust-tutorial against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruocuoguo23%2Frust-tutorial" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ruocuoguo23/rust-tutorial [INFO] finished tweaking git repo https://github.com/ruocuoguo23/rust-tutorial [INFO] tweaked toml for git repo https://github.com/ruocuoguo23/rust-tutorial written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ruocuoguo23/rust-tutorial on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ruocuoguo23/rust-tutorial 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28abeb68b95cfacb8cc99f4cdfb6f0f142dae921d7b598c88561ff4389b07953 [INFO] running `Command { std: "docker" "start" "-a" "28abeb68b95cfacb8cc99f4cdfb6f0f142dae921d7b598c88561ff4389b07953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28abeb68b95cfacb8cc99f4cdfb6f0f142dae921d7b598c88561ff4389b07953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28abeb68b95cfacb8cc99f4cdfb6f0f142dae921d7b598c88561ff4389b07953", kill_on_drop: false }` [INFO] [stdout] 28abeb68b95cfacb8cc99f4cdfb6f0f142dae921d7b598c88561ff4389b07953 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fb098480c3659ab799360f7e06456e13cce09e981853ac74dc7ecf94a02c67c [INFO] running `Command { std: "docker" "start" "-a" "2fb098480c3659ab799360f7e06456e13cce09e981853ac74dc7ecf94a02c67c", kill_on_drop: false }` [INFO] [stderr] Checking rust-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Clubs` and `Spades` are never constructed [INFO] [stdout] --> src/bin/3-2-enum.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | enum PokerSuit { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | Clubs, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | Spades, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PokerSuit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> src/bin/attributes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct Point { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 3 | x: i32, [INFO] [stdout] 4 | y: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> src/bin/attributes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct Point { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 3 | x: i32, [INFO] [stdout] 4 | y: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `no_dangle` is never used [INFO] [stdout] --> src/bin/2-2-references-and-borrowing.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn no_dangle() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/bin/attributes_clone.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct BigData { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 4 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `no_dangle` is never used [INFO] [stdout] --> src/bin/2-2-references-and-borrowing.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn no_dangle() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/bin/attributes_clone.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct BigData { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 4 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Clubs` and `Spades` are never constructed [INFO] [stdout] --> src/bin/3-2-enum.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | enum PokerSuit { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | Clubs, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | Spades, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PokerSuit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "2fb098480c3659ab799360f7e06456e13cce09e981853ac74dc7ecf94a02c67c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fb098480c3659ab799360f7e06456e13cce09e981853ac74dc7ecf94a02c67c", kill_on_drop: false }` [INFO] [stdout] 2fb098480c3659ab799360f7e06456e13cce09e981853ac74dc7ecf94a02c67c