[INFO] fetching crate timebar 0.2.4... [INFO] checking timebar-0.2.4 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate timebar 0.2.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate timebar 0.2.4 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate timebar 0.2.4 [INFO] finished tweaking crates.io crate timebar 0.2.4 [INFO] tweaked toml for crates.io crate timebar 0.2.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate timebar 0.2.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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21ece174c5693cd6fda29e5f40854429abd76f978d34e3d70694f10c93e0dfa1 [INFO] running `Command { std: "docker" "start" "-a" "21ece174c5693cd6fda29e5f40854429abd76f978d34e3d70694f10c93e0dfa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21ece174c5693cd6fda29e5f40854429abd76f978d34e3d70694f10c93e0dfa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21ece174c5693cd6fda29e5f40854429abd76f978d34e3d70694f10c93e0dfa1", kill_on_drop: false }` [INFO] [stdout] 21ece174c5693cd6fda29e5f40854429abd76f978d34e3d70694f10c93e0dfa1 [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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 081c026dca4899b2c0a6cc65c7c132d015bf56f2b0762f8fed3b254b2906ad04 [INFO] running `Command { std: "docker" "start" "-a" "081c026dca4899b2c0a6cc65c7c132d015bf56f2b0762f8fed3b254b2906ad04", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Checking preferences v1.1.0 [INFO] [stderr] Checking timebar v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/dday.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | let day = string_to_u32(date[0].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/dday.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | let month = string_to_u32(date[1].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/dday.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | let day = string_to_u32(date[0].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/dday.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | let month = string_to_u32(date[1].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/dday.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | let year = string_to_u32(date[2].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/dday.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | let year = string_to_u32(date[2].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/life.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | let day = string_to_u32(birthday[0].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/life.rs:157:46 [INFO] [stdout] | [INFO] [stdout] 157 | let month = string_to_u32(birthday[1].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/life.rs:161:45 [INFO] [stdout] | [INFO] [stdout] 161 | let year = string_to_u32(birthday[2].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/life.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | let lifespan = string_to_u32(lifespan.clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/timer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let hours = string_to_u32(timer_config[0].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/timer.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | let minutes = string_to_u32(timer_config[1].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/timer.rs:59:48 [INFO] [stdout] | [INFO] [stdout] 59 | let seconds = string_to_u32(timer_config[2].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/life.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | let day = string_to_u32(birthday[0].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/life.rs:157:46 [INFO] [stdout] | [INFO] [stdout] 157 | let month = string_to_u32(birthday[1].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/life.rs:161:45 [INFO] [stdout] | [INFO] [stdout] 161 | let year = string_to_u32(birthday[2].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/life.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | let lifespan = string_to_u32(lifespan.clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/timer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let hours = string_to_u32(timer_config[0].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/timer.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | let minutes = string_to_u32(timer_config[1].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bar/timer.rs:59:48 [INFO] [stdout] | [INFO] [stdout] 59 | let seconds = string_to_u32(timer_config[2].clone().trim()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `timebar` (lib test) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `timebar` (lib) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "081c026dca4899b2c0a6cc65c7c132d015bf56f2b0762f8fed3b254b2906ad04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "081c026dca4899b2c0a6cc65c7c132d015bf56f2b0762f8fed3b254b2906ad04", kill_on_drop: false }` [INFO] [stdout] 081c026dca4899b2c0a6cc65c7c132d015bf56f2b0762f8fed3b254b2906ad04