[INFO] fetching crate imosid 0.0.0-beta7... [INFO] checking imosid-0.0.0-beta7 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate imosid 0.0.0-beta7 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate imosid 0.0.0-beta7 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 imosid 0.0.0-beta7 [INFO] finished tweaking crates.io crate imosid 0.0.0-beta7 [INFO] tweaked toml for crates.io crate imosid 0.0.0-beta7 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate imosid 0.0.0-beta7 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d52e7814d48cbff63c386a7ee02c4206dca09b2984ea245cabbed1affe62d296 [INFO] running `Command { std: "docker" "start" "-a" "d52e7814d48cbff63c386a7ee02c4206dca09b2984ea245cabbed1affe62d296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d52e7814d48cbff63c386a7ee02c4206dca09b2984ea245cabbed1affe62d296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d52e7814d48cbff63c386a7ee02c4206dca09b2984ea245cabbed1affe62d296", kill_on_drop: false }` [INFO] [stdout] d52e7814d48cbff63c386a7ee02c4206dca09b2984ea245cabbed1affe62d296 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ea1aa8692efca533c1b35dd5f0eba6685c1c3abf6b31f6adea838746bef2f1a2 [INFO] running `Command { std: "docker" "start" "-a" "ea1aa8692efca533c1b35dd5f0eba6685c1c3abf6b31f6adea838746bef2f1a2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking clap v3.2.21 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Compiling cargo-lock v7.1.0 [INFO] [stderr] Compiling built v0.5.1 [INFO] [stderr] Compiling imosid v0.0.0-beta7 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Specialcomment { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 44 | line: u32, [INFO] [stdout] 45 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Specialcomment` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Specialcomment { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 44 | line: u32, [INFO] [stdout] 45 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Specialcomment` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.deref()` on a double reference, which returns `&str` instead of dereferencing the inner type [INFO] [stdout] --> src/main.rs:1221:45 [INFO] [stdout] | [INFO] [stdout] 1221 | return String::from(sign.deref()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.deref()` on a double reference, which returns `&str` instead of dereferencing the inner type [INFO] [stdout] --> src/main.rs:1254:45 [INFO] [stdout] | [INFO] [stdout] 1254 | return String::from(sign.deref()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.deref()` on a double reference, which returns `&str` instead of dereferencing the inner type [INFO] [stdout] --> src/main.rs:1278:45 [INFO] [stdout] | [INFO] [stdout] 1278 | return String::from(sign.deref()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1394:72 [INFO] [stdout] | [INFO] [stdout] 1394 | let targetname = expand_tilde(matches.value_of("file").unwrap().clone()); [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/main.rs:1485:77 [INFO] [stdout] | [INFO] [stdout] 1485 | let targetname = expand_tilde(matches.value_of("directory").unwrap().clone()); [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] warning: using `.deref()` on a double reference, which returns `&str` instead of dereferencing the inner type [INFO] [stdout] --> src/main.rs:1221:45 [INFO] [stdout] | [INFO] [stdout] 1221 | return String::from(sign.deref()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.deref()` on a double reference, which returns `&str` instead of dereferencing the inner type [INFO] [stdout] --> src/main.rs:1254:45 [INFO] [stdout] | [INFO] [stdout] 1254 | return String::from(sign.deref()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.deref()` on a double reference, which returns `&str` instead of dereferencing the inner type [INFO] [stdout] --> src/main.rs:1278:45 [INFO] [stdout] | [INFO] [stdout] 1278 | return String::from(sign.deref()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1394:72 [INFO] [stdout] | [INFO] [stdout] 1394 | let targetname = expand_tilde(matches.value_of("file").unwrap().clone()); [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/main.rs:1485:77 [INFO] [stdout] | [INFO] [stdout] 1485 | let targetname = expand_tilde(matches.value_of("directory").unwrap().clone()); [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/main.rs:1570:50 [INFO] [stdout] | [INFO] [stdout] 1570 | ... .unwrap() [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1571 | | ... .clone() [INFO] [stdout] | |______________________________^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Specialfile` does not implement `Clone`, so calling `clone` on `&Specialfile` 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/main.rs:1570:50 [INFO] [stdout] | [INFO] [stdout] 1570 | ... .unwrap() [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1571 | | ... .clone() [INFO] [stdout] | |______________________________^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Specialfile` does not implement `Clone`, so calling `clone` on `&Specialfile` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `imosid` (bin "imosid") due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `imosid` (bin "imosid" test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ea1aa8692efca533c1b35dd5f0eba6685c1c3abf6b31f6adea838746bef2f1a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea1aa8692efca533c1b35dd5f0eba6685c1c3abf6b31f6adea838746bef2f1a2", kill_on_drop: false }` [INFO] [stdout] ea1aa8692efca533c1b35dd5f0eba6685c1c3abf6b31f6adea838746bef2f1a2