[INFO] cloning repository https://github.com/garfield-dev-team/rs-practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/garfield-dev-team/rs-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarfield-dev-team%2Frs-practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarfield-dev-team%2Frs-practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4af8776ce13fe7d7d3d88c7b64740bd1bb597f9 [INFO] checking garfield-dev-team/rs-practice against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarfield-dev-team%2Frs-practice" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/garfield-dev-team/rs-practice on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/garfield-dev-team/rs-practice [INFO] finished tweaking git repo https://github.com/garfield-dev-team/rs-practice [INFO] tweaked toml for git repo https://github.com/garfield-dev-team/rs-practice written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/garfield-dev-team/rs-practice 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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36507dfd27a0ce5a44c3d4140152f0ab484723d683e6034c80746354bc0481a2 [INFO] running `Command { std: "docker" "start" "-a" "36507dfd27a0ce5a44c3d4140152f0ab484723d683e6034c80746354bc0481a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36507dfd27a0ce5a44c3d4140152f0ab484723d683e6034c80746354bc0481a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36507dfd27a0ce5a44c3d4140152f0ab484723d683e6034c80746354bc0481a2", kill_on_drop: false }` [INFO] [stdout] 36507dfd27a0ce5a44c3d4140152f0ab484723d683e6034c80746354bc0481a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95e0a12fbd20466a0e56007d73b43bc1064a83096083a92875a9e83fa9f7f9d3 [INFO] running `Command { std: "docker" "start" "-a" "95e0a12fbd20466a0e56007d73b43bc1064a83096083a92875a9e83fa9f7f9d3", kill_on_drop: false }` [INFO] [stderr] Checking rs-practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0255]: the name `conc` is defined multiple times [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod conc; [INFO] [stdout] | --------- previous definition of the module `conc` here [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::conc; [INFO] [stdout] | ^^^^^^^^^^^ `conc` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `conc` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 8 | use crate::conc as other_conc; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `leetcode` is defined multiple times [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod leetcode; [INFO] [stdout] | ------------- previous definition of the module `leetcode` here [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::leetcode; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `leetcode` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `leetcode` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 9 | use crate::leetcode as other_leetcode; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `conc` is defined multiple times [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod conc; [INFO] [stdout] | --------- previous definition of the module `conc` here [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::conc; [INFO] [stdout] | ^^^^^^^^^^^ `conc` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `conc` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 8 | use crate::conc as other_conc; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic::catch_unwind` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::panic::catch_unwind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conc` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::conc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::leetcode` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::leetcode; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/conc.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 19 | panic!("发生 Panic"); [INFO] [stdout] | -------------------- any code following this expression is unreachable [INFO] [stdout] 20 | println!("执行后"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `leetcode` is defined multiple times [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod leetcode; [INFO] [stdout] | ------------- previous definition of the module `leetcode` here [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::leetcode; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `leetcode` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `leetcode` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 9 | use crate::leetcode as other_leetcode; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic::catch_unwind` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::panic::catch_unwind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conc` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::conc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::leetcode` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::leetcode; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/conc.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 19 | panic!("发生 Panic"); [INFO] [stdout] | -------------------- any code following this expression is unreachable [INFO] [stdout] 20 | println!("执行后"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0255`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0255`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rs-practice` (bin "rs-practice" test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rs-practice` (bin "rs-practice") due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "95e0a12fbd20466a0e56007d73b43bc1064a83096083a92875a9e83fa9f7f9d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95e0a12fbd20466a0e56007d73b43bc1064a83096083a92875a9e83fa9f7f9d3", kill_on_drop: false }` [INFO] [stdout] 95e0a12fbd20466a0e56007d73b43bc1064a83096083a92875a9e83fa9f7f9d3