[INFO] cloning repository https://github.com/kevin01001101/hello_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kevin01001101/hello_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevin01001101%2Fhello_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevin01001101%2Fhello_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0cfac35f8669b24c1d9aba12f2f52e3a6f79d011 [INFO] checking kevin01001101/hello_rust against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevin01001101%2Fhello_rust" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kevin01001101/hello_rust on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kevin01001101/hello_rust [INFO] finished tweaking git repo https://github.com/kevin01001101/hello_rust [INFO] tweaked toml for git repo https://github.com/kevin01001101/hello_rust written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/kevin01001101/hello_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43a1642544cbd17ab90261bd36d228b91ef0c0b2cbcec126c8c4e95636fdc1a8 [INFO] running `Command { std: "docker" "start" "-a" "43a1642544cbd17ab90261bd36d228b91ef0c0b2cbcec126c8c4e95636fdc1a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43a1642544cbd17ab90261bd36d228b91ef0c0b2cbcec126c8c4e95636fdc1a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43a1642544cbd17ab90261bd36d228b91ef0c0b2cbcec126c8c4e95636fdc1a8", kill_on_drop: false }` [INFO] [stdout] 43a1642544cbd17ab90261bd36d228b91ef0c0b2cbcec126c8c4e95636fdc1a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac87b2c15a78a7fab14a33869f071402bac65994e3277ac05ba7872d8f9feb99 [INFO] running `Command { std: "docker" "start" "-a" "ac87b2c15a78a7fab14a33869f071402bac65994e3277ac05ba7872d8f9feb99", kill_on_drop: false }` [INFO] [stderr] Checking hello_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/main.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `origin` [INFO] [stdout] --> src/main.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn origin() -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn add() -> i32 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `option` [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn option() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `points` [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn points() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `My3dPoint` [INFO] [stdout] --> src/main.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | struct My3dPoint { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/main.rs:119:6 [INFO] [stdout] | [INFO] [stdout] 119 | enum Color [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enums` [INFO] [stdout] --> src/main.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn enums() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `try_match` [INFO] [stdout] --> src/main.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn try_match() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_for_loop` [INFO] [stdout] --> src/main.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn do_for_loop() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_some_loop` [INFO] [stdout] --> src/main.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn do_some_loop() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `if_statement` [INFO] [stdout] --> src/main.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | fn if_statement() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/main.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `origin` [INFO] [stdout] --> src/main.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn origin() -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn add() -> i32 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `option` [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn option() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `points` [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn points() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `My3dPoint` [INFO] [stdout] --> src/main.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | struct My3dPoint { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/main.rs:119:6 [INFO] [stdout] | [INFO] [stdout] 119 | enum Color [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enums` [INFO] [stdout] --> src/main.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn enums() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `try_match` [INFO] [stdout] --> src/main.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn try_match() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_for_loop` [INFO] [stdout] --> src/main.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn do_for_loop() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_some_loop` [INFO] [stdout] --> src/main.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn do_some_loop() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `if_statement` [INFO] [stdout] --> src/main.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | fn if_statement() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "ac87b2c15a78a7fab14a33869f071402bac65994e3277ac05ba7872d8f9feb99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac87b2c15a78a7fab14a33869f071402bac65994e3277ac05ba7872d8f9feb99", kill_on_drop: false }` [INFO] [stdout] ac87b2c15a78a7fab14a33869f071402bac65994e3277ac05ba7872d8f9feb99