[INFO] cloning repository https://github.com/yutaro-sakamoto/sample-traffic-light [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yutaro-sakamoto/sample-traffic-light" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutaro-sakamoto%2Fsample-traffic-light", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutaro-sakamoto%2Fsample-traffic-light'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27ea9652c7112bdc4de376df38bc76e3fc1dc37b [INFO] testing yutaro-sakamoto/sample-traffic-light against master#9e297bf54d31eb3b30067208ff9af4416945a2ed for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutaro-sakamoto%2Fsample-traffic-light" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yutaro-sakamoto/sample-traffic-light on toolchain 9e297bf54d31eb3b30067208ff9af4416945a2ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yutaro-sakamoto/sample-traffic-light [INFO] finished tweaking git repo https://github.com/yutaro-sakamoto/sample-traffic-light [INFO] tweaked toml for git repo https://github.com/yutaro-sakamoto/sample-traffic-light written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yutaro-sakamoto/sample-traffic-light 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" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c783a2fc4c009ed215216e0a54d5ce2a0ef78dd69570c06d9b25e6614f2b9c0f [INFO] running `Command { std: "docker" "start" "-a" "c783a2fc4c009ed215216e0a54d5ce2a0ef78dd69570c06d9b25e6614f2b9c0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c783a2fc4c009ed215216e0a54d5ce2a0ef78dd69570c06d9b25e6614f2b9c0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c783a2fc4c009ed215216e0a54d5ce2a0ef78dd69570c06d9b25e6614f2b9c0f", kill_on_drop: false }` [INFO] [stdout] c783a2fc4c009ed215216e0a54d5ce2a0ef78dd69570c06d9b25e6614f2b9c0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff54faf297514a896152a86495f4c3783243cc507cdfe53f60d5042a24f79339 [INFO] running `Command { std: "docker" "start" "-a" "ff54faf297514a896152a86495f4c3783243cc507cdfe53f60d5042a24f79339", kill_on_drop: false }` [INFO] [stderr] Compiling sample-traffic-light v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ColorSettings` is never constructed [INFO] [stdout] --> src/light.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ColorSettings { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColorSettings` has derived impls for the traits `Debug` and `Clone`, 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: associated items `new` and `get_time` are never used [INFO] [stdout] --> src/light.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ColorSettings { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(red_time: u32, yellow_time: u32, blue_time: u32) -> ColorSettings { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_time(&self, color: &Color) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TrafficLight` is never used [INFO] [stdout] --> src/light.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | trait TrafficLight { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StandardTrafficLight` is never constructed [INFO] [stdout] --> src/light.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct StandardTrafficLight<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StandardTrafficLight` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `next` are never used [INFO] [stdout] --> src/light.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl StandardTrafficLight<'_> { [INFO] [stdout] | ----------------------------- associated functions in this implementation [INFO] [stdout] 43 | pub fn new(initial_color: Color, color_settings: &ColorSettings) -> StandardTrafficLight { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn next() -> Color { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "ff54faf297514a896152a86495f4c3783243cc507cdfe53f60d5042a24f79339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff54faf297514a896152a86495f4c3783243cc507cdfe53f60d5042a24f79339", kill_on_drop: false }` [INFO] [stdout] ff54faf297514a896152a86495f4c3783243cc507cdfe53f60d5042a24f79339 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9047845d3a1a5e5d21e0f081c0444e56b68f03a0e37d7595727f52c5df96e998 [INFO] running `Command { std: "docker" "start" "-a" "9047845d3a1a5e5d21e0f081c0444e56b68f03a0e37d7595727f52c5df96e998", kill_on_drop: false }` [INFO] [stderr] Compiling sample-traffic-light v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ColorSettings` is never constructed [INFO] [stdout] --> src/light.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ColorSettings { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColorSettings` has derived impls for the traits `Debug` and `Clone`, 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: associated items `new` and `get_time` are never used [INFO] [stdout] --> src/light.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ColorSettings { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(red_time: u32, yellow_time: u32, blue_time: u32) -> ColorSettings { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_time(&self, color: &Color) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TrafficLight` is never used [INFO] [stdout] --> src/light.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | trait TrafficLight { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StandardTrafficLight` is never constructed [INFO] [stdout] --> src/light.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct StandardTrafficLight<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StandardTrafficLight` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `next` are never used [INFO] [stdout] --> src/light.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl StandardTrafficLight<'_> { [INFO] [stdout] | ----------------------------- associated functions in this implementation [INFO] [stdout] 43 | pub fn new(initial_color: Color, color_settings: &ColorSettings) -> StandardTrafficLight { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn next() -> Color { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "9047845d3a1a5e5d21e0f081c0444e56b68f03a0e37d7595727f52c5df96e998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9047845d3a1a5e5d21e0f081c0444e56b68f03a0e37d7595727f52c5df96e998", kill_on_drop: false }` [INFO] [stdout] 9047845d3a1a5e5d21e0f081c0444e56b68f03a0e37d7595727f52c5df96e998 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 70f1ba95ea441e1dcf78d85a1d4cf7b78cee2c36d924f63309911e4268e7885d [INFO] running `Command { std: "docker" "start" "-a" "70f1ba95ea441e1dcf78d85a1d4cf7b78cee2c36d924f63309911e4268e7885d", kill_on_drop: false }` [INFO] [stderr] warning: struct `ColorSettings` is never constructed [INFO] [stderr] --> src/light.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct ColorSettings { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ColorSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `get_time` are never used [INFO] [stderr] --> src/light.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl ColorSettings { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 16 | pub fn new(red_time: u32, yellow_time: u32, blue_time: u32) -> ColorSettings { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn get_time(&self, color: &Color) -> u32 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `TrafficLight` is never used [INFO] [stderr] --> src/light.rs:31:7 [INFO] [stderr] | [INFO] [stderr] 31 | trait TrafficLight { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `StandardTrafficLight` is never constructed [INFO] [stderr] --> src/light.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct StandardTrafficLight<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StandardTrafficLight` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `next` are never used [INFO] [stderr] --> src/light.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 42 | impl StandardTrafficLight<'_> { [INFO] [stderr] | ----------------------------- associated functions in this implementation [INFO] [stderr] 43 | pub fn new(initial_color: Color, color_settings: &ColorSettings) -> StandardTrafficLight { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 52 | fn next() -> Color { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `sample-traffic-light` (bin "sample-traffic-light" test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sample_traffic_light-e2e4b0a8950a9af9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "70f1ba95ea441e1dcf78d85a1d4cf7b78cee2c36d924f63309911e4268e7885d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70f1ba95ea441e1dcf78d85a1d4cf7b78cee2c36d924f63309911e4268e7885d", kill_on_drop: false }` [INFO] [stdout] 70f1ba95ea441e1dcf78d85a1d4cf7b78cee2c36d924f63309911e4268e7885d [INFO] testing yutaro-sakamoto/sample-traffic-light against try#61a9ac64344e91d62f5496627ff363d177f9daab for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutaro-sakamoto%2Fsample-traffic-light" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yutaro-sakamoto/sample-traffic-light on toolchain 61a9ac64344e91d62f5496627ff363d177f9daab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yutaro-sakamoto/sample-traffic-light [INFO] finished tweaking git repo https://github.com/yutaro-sakamoto/sample-traffic-light [INFO] tweaked toml for git repo https://github.com/yutaro-sakamoto/sample-traffic-light written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yutaro-sakamoto/sample-traffic-light 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" "+61a9ac64344e91d62f5496627ff363d177f9daab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2682159fde765c4396ec54314d419af6cc3844503e15302e838af0c932e139e1 [INFO] running `Command { std: "docker" "start" "-a" "2682159fde765c4396ec54314d419af6cc3844503e15302e838af0c932e139e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2682159fde765c4396ec54314d419af6cc3844503e15302e838af0c932e139e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2682159fde765c4396ec54314d419af6cc3844503e15302e838af0c932e139e1", kill_on_drop: false }` [INFO] [stdout] 2682159fde765c4396ec54314d419af6cc3844503e15302e838af0c932e139e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c88a498b220d0439eb8c457dd35f6bf7fbd1e86736e86888f55cc4dd65a67dd4 [INFO] running `Command { std: "docker" "start" "-a" "c88a498b220d0439eb8c457dd35f6bf7fbd1e86736e86888f55cc4dd65a67dd4", kill_on_drop: false }` [INFO] [stderr] Compiling sample-traffic-light v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ColorSettings` is never constructed [INFO] [stdout] --> src/light.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ColorSettings { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColorSettings` has derived impls for the traits `Debug` and `Clone`, 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: associated items `new` and `get_time` are never used [INFO] [stdout] --> src/light.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ColorSettings { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(red_time: u32, yellow_time: u32, blue_time: u32) -> ColorSettings { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_time(&self, color: &Color) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TrafficLight` is never used [INFO] [stdout] --> src/light.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | trait TrafficLight { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StandardTrafficLight` is never constructed [INFO] [stdout] --> src/light.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct StandardTrafficLight<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StandardTrafficLight` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `next` are never used [INFO] [stdout] --> src/light.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl StandardTrafficLight<'_> { [INFO] [stdout] | ----------------------------- associated functions in this implementation [INFO] [stdout] 43 | pub fn new(initial_color: Color, color_settings: &ColorSettings) -> StandardTrafficLight { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn next() -> Color { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "c88a498b220d0439eb8c457dd35f6bf7fbd1e86736e86888f55cc4dd65a67dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c88a498b220d0439eb8c457dd35f6bf7fbd1e86736e86888f55cc4dd65a67dd4", kill_on_drop: false }` [INFO] [stdout] c88a498b220d0439eb8c457dd35f6bf7fbd1e86736e86888f55cc4dd65a67dd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fbf204ae9c9aeaee60090f77e9557a87afb1b2291a308d0cc9889e4ca637ad0 [INFO] running `Command { std: "docker" "start" "-a" "1fbf204ae9c9aeaee60090f77e9557a87afb1b2291a308d0cc9889e4ca637ad0", kill_on_drop: false }` [INFO] [stderr] Compiling sample-traffic-light v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ColorSettings` is never constructed [INFO] [stdout] --> src/light.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ColorSettings { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColorSettings` has derived impls for the traits `Debug` and `Clone`, 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: associated items `new` and `get_time` are never used [INFO] [stdout] --> src/light.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ColorSettings { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(red_time: u32, yellow_time: u32, blue_time: u32) -> ColorSettings { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_time(&self, color: &Color) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TrafficLight` is never used [INFO] [stdout] --> src/light.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | trait TrafficLight { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StandardTrafficLight` is never constructed [INFO] [stdout] --> src/light.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct StandardTrafficLight<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StandardTrafficLight` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `next` are never used [INFO] [stdout] --> src/light.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl StandardTrafficLight<'_> { [INFO] [stdout] | ----------------------------- associated functions in this implementation [INFO] [stdout] 43 | pub fn new(initial_color: Color, color_settings: &ColorSettings) -> StandardTrafficLight { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn next() -> Color { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcMb3ImR/symbols.o" "/opt/rustwide/target/debug/deps/sample_traffic_light-e2e4b0a8950a9af9.sample_traffic_light.18afd4d077972738-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/sample_traffic_light-e2e4b0a8950a9af9.2z70gu4oqsqzgc4xuarmamjpy.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-b549f03e4f6ed709.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-7e028745ce963204.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-71aefaaf9e1f49e3.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-49f45d0bd99df635.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6701759d8343e913.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9ff13545d1688b3c.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-210d920812faea91.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f3d3451767410a17.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-1a79dd36d08251de.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-886230e7120831b2.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-2caea079085a58a2.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-314a4689716cb02e.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-5727477b0a78105a.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7e555563aa211118.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-d9ed943652059c0d.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ee5b5774583426df.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-c3e1f40644ffc9b8.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-e8bfe52be756260a.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-7b90a2705bcf265b.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-b6892f3c52c68f01.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-f72b956e24d1de70.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-632ae0f28c5e55ff.rlib" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-e8b7e96e438f08f6.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-B/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-B/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/61a9ac64344e91d62f5496627ff363d177f9daab/lib/rustlib/x86_64-unknown-linux-gnu/lib/self-contained" "-o" "/opt/rustwide/target/debug/deps/sample_traffic_light-e2e4b0a8950a9af9" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sample-traffic-light` (bin "sample-traffic-light" test) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1fbf204ae9c9aeaee60090f77e9557a87afb1b2291a308d0cc9889e4ca637ad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fbf204ae9c9aeaee60090f77e9557a87afb1b2291a308d0cc9889e4ca637ad0", kill_on_drop: false }` [INFO] [stdout] 1fbf204ae9c9aeaee60090f77e9557a87afb1b2291a308d0cc9889e4ca637ad0