[INFO] cloning repository https://github.com/jiantao88/Substrate_4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jiantao88/Substrate_4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiantao88%2FSubstrate_4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiantao88%2FSubstrate_4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0aa9f868d9a749977b05865b50cc4c42a6ea8552 [INFO] checking jiantao88/Substrate_4 against master#0e517d38ad0e72f93c734b14fabd4bb9b7441de6 for pr-140557-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiantao88%2FSubstrate_4" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jiantao88/Substrate_4 on toolchain 0e517d38ad0e72f93c734b14fabd4bb9b7441de6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jiantao88/Substrate_4 [INFO] finished tweaking git repo https://github.com/jiantao88/Substrate_4 [INFO] tweaked toml for git repo https://github.com/jiantao88/Substrate_4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jiantao88/Substrate_4 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" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84fb810f15a9f8f40f8f68fddb7aa0949a8689fb0978cf4c97c1f12b151078db [INFO] running `Command { std: "docker" "start" "-a" "84fb810f15a9f8f40f8f68fddb7aa0949a8689fb0978cf4c97c1f12b151078db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84fb810f15a9f8f40f8f68fddb7aa0949a8689fb0978cf4c97c1f12b151078db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84fb810f15a9f8f40f8f68fddb7aa0949a8689fb0978cf4c97c1f12b151078db", kill_on_drop: false }` [INFO] [stdout] 84fb810f15a9f8f40f8f68fddb7aa0949a8689fb0978cf4c97c1f12b151078db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10b6511d2515aa9d3d7f4bd2424d4e0ff13baeebd72391e7e976cba09ebff980 [INFO] running `Command { std: "docker" "start" "-a" "10b6511d2515aa9d3d7f4bd2424d4e0ff13baeebd72391e7e976cba09ebff980", kill_on_drop: false }` [INFO] [stderr] Checking Substrate_4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | _ => String::from(""), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 33 | TrafficLight::Red => String::from("红灯亮10s"), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 34 | TrafficLight::Green => String::from("绿灯亮15s"), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 35 | TrafficLight::Yellow => String::from("黄灯亮13s"), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 36 | _ => String::from(""), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red` and `Yellow` are never constructed [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum TrafficLight { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 21 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | Green, [INFO] [stdout] 23 | Yellow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `trafficLight` should have a snake case name [INFO] [stdout] --> src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let trafficLight = TrafficLight::Green; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `traffic_light` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `calculateTime` should have a snake case name [INFO] [stdout] --> src/main.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn calculateTime(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | _ => String::from(""), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 33 | TrafficLight::Red => String::from("红灯亮10s"), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 34 | TrafficLight::Green => String::from("绿灯亮15s"), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 35 | TrafficLight::Yellow => String::from("黄灯亮13s"), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 36 | _ => String::from(""), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red` and `Yellow` are never constructed [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum TrafficLight { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 21 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | Green, [INFO] [stdout] 23 | Yellow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `trafficLight` should have a snake case name [INFO] [stdout] --> src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let trafficLight = TrafficLight::Green; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `traffic_light` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `calculateTime` should have a snake case name [INFO] [stdout] --> src/main.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn calculateTime(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "10b6511d2515aa9d3d7f4bd2424d4e0ff13baeebd72391e7e976cba09ebff980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10b6511d2515aa9d3d7f4bd2424d4e0ff13baeebd72391e7e976cba09ebff980", kill_on_drop: false }` [INFO] [stdout] 10b6511d2515aa9d3d7f4bd2424d4e0ff13baeebd72391e7e976cba09ebff980