[INFO] cloning repository https://github.com/vanloc1808O19/rust-bootcamp-exercise-5 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vanloc1808O19/rust-bootcamp-exercise-5" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvanloc1808O19%2Frust-bootcamp-exercise-5", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvanloc1808O19%2Frust-bootcamp-exercise-5'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 460f52b3c0f6cc079e38d651933870a20c6643b0 [INFO] checking vanloc1808O19/rust-bootcamp-exercise-5 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvanloc1808O19%2Frust-bootcamp-exercise-5" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vanloc1808O19/rust-bootcamp-exercise-5 [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/vanloc1808O19/rust-bootcamp-exercise-5 [INFO] tweaked toml for git repo https://github.com/vanloc1808O19/rust-bootcamp-exercise-5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vanloc1808O19/rust-bootcamp-exercise-5 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vanloc1808O19/rust-bootcamp-exercise-5 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-6-tc2/source/src/lib.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `error_handling` [INFO] [stderr] * `integration-test` target `error-handling` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a3f0ca0e561c539d4f45385d75b3aa0df7cdab14ced5372f76ac17b8ac31fed [INFO] running `Command { std: "docker" "start" "-a" "5a3f0ca0e561c539d4f45385d75b3aa0df7cdab14ced5372f76ac17b8ac31fed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a3f0ca0e561c539d4f45385d75b3aa0df7cdab14ced5372f76ac17b8ac31fed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a3f0ca0e561c539d4f45385d75b3aa0df7cdab14ced5372f76ac17b8ac31fed", kill_on_drop: false }` [INFO] [stdout] 5a3f0ca0e561c539d4f45385d75b3aa0df7cdab14ced5372f76ac17b8ac31fed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bc9767de65991250c63ef3a0cc4ad7f67600c3a6f01734ea9f328f5429c841b [INFO] running `Command { std: "docker" "start" "-a" "2bc9767de65991250c63ef3a0cc4ad7f67600c3a6f01734ea9f328f5429c841b", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/lib.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `error_handling` [INFO] [stderr] * `integration-test` target `error-handling` [INFO] [stderr] Checking error-handling v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lib.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_nametag_text` is never used [INFO] [stdout] --> src/lib.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn generate_nametag_text(name: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_number` is never used [INFO] [stdout] --> src/lib.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn parse_number(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CustomParseError` is never used [INFO] [stdout] --> src/lib.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | enum CustomParseError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PositiveNonzeroInteger` is never constructed [INFO] [stdout] --> src/lib.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct PositiveNonzeroInteger(u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CreationError` is never used [INFO] [stdout] --> src/lib.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | enum CreationError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl PositiveNonzeroInteger { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 51 | fn new(value: i64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error_handling` [INFO] [stdout] --> src/lib.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use error_handling::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `error_handling` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `error_handling`, use `cargo add error_handling` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lib.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error_handling::*` [INFO] [stdout] --> src/lib.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use error_handling::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `error-handling` (lib test) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lib.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2bc9767de65991250c63ef3a0cc4ad7f67600c3a6f01734ea9f328f5429c841b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bc9767de65991250c63ef3a0cc4ad7f67600c3a6f01734ea9f328f5429c841b", kill_on_drop: false }` [INFO] [stdout] 2bc9767de65991250c63ef3a0cc4ad7f67600c3a6f01734ea9f328f5429c841b