[INFO] cloning repository https://github.com/lihuineo/OneBlockSubstrateCourse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lihuineo/OneBlockSubstrateCourse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flihuineo%2FOneBlockSubstrateCourse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flihuineo%2FOneBlockSubstrateCourse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8810fb9cf0d805d168abe850ef5366a5347cf733 [INFO] checking lihuineo/OneBlockSubstrateCourse against master#0c478fdfe138a8b09744798c85fe2be657768b00 for pr-139419 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flihuineo%2FOneBlockSubstrateCourse" "/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/lihuineo/OneBlockSubstrateCourse on toolchain 0c478fdfe138a8b09744798c85fe2be657768b00 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c478fdfe138a8b09744798c85fe2be657768b00" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lihuineo/OneBlockSubstrateCourse [INFO] finished tweaking git repo https://github.com/lihuineo/OneBlockSubstrateCourse [INFO] tweaked toml for git repo https://github.com/lihuineo/OneBlockSubstrateCourse written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lihuineo/OneBlockSubstrateCourse 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" "+0c478fdfe138a8b09744798c85fe2be657768b00" "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" "+0c478fdfe138a8b09744798c85fe2be657768b00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edc74392d59f9ff09072bd71c28844ad655996847e3b6f1b28afab4dc5e1226d [INFO] running `Command { std: "docker" "start" "-a" "edc74392d59f9ff09072bd71c28844ad655996847e3b6f1b28afab4dc5e1226d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edc74392d59f9ff09072bd71c28844ad655996847e3b6f1b28afab4dc5e1226d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc74392d59f9ff09072bd71c28844ad655996847e3b6f1b28afab4dc5e1226d", kill_on_drop: false }` [INFO] [stdout] edc74392d59f9ff09072bd71c28844ad655996847e3b6f1b28afab4dc5e1226d [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" "+0c478fdfe138a8b09744798c85fe2be657768b00" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ca4ad6d4046ad5fdc15e482e5c5be862b93d89efbc2edd249083029471d52c1 [INFO] running `Command { std: "docker" "start" "-a" "0ca4ad6d4046ad5fdc15e482e5c5be862b93d89efbc2edd249083029471d52c1", kill_on_drop: false }` [INFO] [stderr] Checking oneblock_substrate_course v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Circle`, `Rectangle`, and `Squard` [INFO] [stdout] --> src/main.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::topic_4::shape_cal::{Circle, Rectangle, Squard}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_duration` is never used [INFO] [stdout] --> src/topic_4/traffic_light.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait DurationTime { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 12 | fn get_duration(&self) -> u32; //获取交通灯时长 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [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" "0ca4ad6d4046ad5fdc15e482e5c5be862b93d89efbc2edd249083029471d52c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ca4ad6d4046ad5fdc15e482e5c5be862b93d89efbc2edd249083029471d52c1", kill_on_drop: false }` [INFO] [stdout] 0ca4ad6d4046ad5fdc15e482e5c5be862b93d89efbc2edd249083029471d52c1