[INFO] cloning repository https://github.com/instantOS/imosid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/instantOS/imosid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FinstantOS%2Fimosid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FinstantOS%2Fimosid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a938f78ee0a8ae95c6ad00e3da8ba8894db1dbaf [INFO] checking instantOS/imosid against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FinstantOS%2Fimosid" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/instantOS/imosid 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 git repo https://github.com/instantOS/imosid [INFO] finished tweaking git repo https://github.com/instantOS/imosid [INFO] tweaked toml for git repo https://github.com/instantOS/imosid written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/instantOS/imosid 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] 634168cc22f81ce30925c818e9a149063dc65bb1a304a8773266fe140228a777 [INFO] running `Command { std: "docker" "start" "-a" "634168cc22f81ce30925c818e9a149063dc65bb1a304a8773266fe140228a777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "634168cc22f81ce30925c818e9a149063dc65bb1a304a8773266fe140228a777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "634168cc22f81ce30925c818e9a149063dc65bb1a304a8773266fe140228a777", kill_on_drop: false }` [INFO] [stdout] 634168cc22f81ce30925c818e9a149063dc65bb1a304a8773266fe140228a777 [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] 94b796374368e0397b09c63b1febc5746758e652a99f055380f06b3f9308f076 [INFO] running `Command { std: "docker" "start" "-a" "94b796374368e0397b09c63b1febc5746758e652a99f055380f06b3f9308f076", kill_on_drop: false }` [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 matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking clap v3.2.21 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling url v2.2.2 [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] 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] 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: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" "94b796374368e0397b09c63b1febc5746758e652a99f055380f06b3f9308f076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94b796374368e0397b09c63b1febc5746758e652a99f055380f06b3f9308f076", kill_on_drop: false }` [INFO] [stdout] 94b796374368e0397b09c63b1febc5746758e652a99f055380f06b3f9308f076