[INFO] cloning repository https://github.com/mobile32/rust_experiments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mobile32/rust_experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmobile32%2Frust_experiments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmobile32%2Frust_experiments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f2935f316844927adc984a1172ed2439d2c1574 [INFO] checking mobile32/rust_experiments against master#4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmobile32%2Frust_experiments" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mobile32/rust_experiments on toolchain 4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mobile32/rust_experiments [INFO] finished tweaking git repo https://github.com/mobile32/rust_experiments [INFO] tweaked toml for git repo https://github.com/mobile32/rust_experiments written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/mobile32/rust_experiments already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "fetch" "--locked" "--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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94c208d35a062e3ef6b0ce2e59e06a20b89e7f16b4eab349f04563101fdf3b0a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "94c208d35a062e3ef6b0ce2e59e06a20b89e7f16b4eab349f04563101fdf3b0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94c208d35a062e3ef6b0ce2e59e06a20b89e7f16b4eab349f04563101fdf3b0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94c208d35a062e3ef6b0ce2e59e06a20b89e7f16b4eab349f04563101fdf3b0a", kill_on_drop: false }` [INFO] [stdout] 94c208d35a062e3ef6b0ce2e59e06a20b89e7f16b4eab349f04563101fdf3b0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 044a52aa24dd8b2180b401b3984c8f0877990bb4620aa2e2e9e7274ffebce784 [INFO] running `Command { std: "docker" "start" "-a" "044a52aa24dd8b2180b401b3984c8f0877990bb4620aa2e2e9e7274ffebce784", kill_on_drop: false }` [INFO] [stderr] Checking rust_experiments v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `Stats` [INFO] [stdout] --> src/calculus.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Stats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/calculus.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn create(numbers: Vec) -> Stats { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_results` [INFO] [stdout] --> src/calculus.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn show_results(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mean` [INFO] [stdout] --> src/calculus.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn mean(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `median` [INFO] [stdout] --> src/calculus.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn median(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mode` [INFO] [stdout] --> src/calculus.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn mode(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collect_employees` [INFO] [stdout] --> src/employees.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn collect_employees() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_to_pig_latin` [INFO] [stdout] --> src/pig_latin.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn convert_to_pig_latin(word: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Stats` [INFO] [stdout] --> src/calculus.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Stats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/calculus.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn create(numbers: Vec) -> Stats { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_results` [INFO] [stdout] --> src/calculus.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn show_results(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mean` [INFO] [stdout] --> src/calculus.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn mean(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `median` [INFO] [stdout] --> src/calculus.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn median(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mode` [INFO] [stdout] --> src/calculus.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn mode(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collect_employees` [INFO] [stdout] --> src/employees.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn collect_employees() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_to_pig_latin` [INFO] [stdout] --> src/pig_latin.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn convert_to_pig_latin(word: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "044a52aa24dd8b2180b401b3984c8f0877990bb4620aa2e2e9e7274ffebce784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "044a52aa24dd8b2180b401b3984c8f0877990bb4620aa2e2e9e7274ffebce784", kill_on_drop: false }` [INFO] [stdout] 044a52aa24dd8b2180b401b3984c8f0877990bb4620aa2e2e9e7274ffebce784