[INFO] cloning repository https://github.com/robinbreast/cyagen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robinbreast/cyagen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinbreast%2Fcyagen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinbreast%2Fcyagen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d4acf8e67874955d475372b0c801452976aefe6 [INFO] checking robinbreast/cyagen against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinbreast%2Fcyagen" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robinbreast/cyagen 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/robinbreast/cyagen [INFO] finished tweaking git repo https://github.com/robinbreast/cyagen [INFO] tweaked toml for git repo https://github.com/robinbreast/cyagen written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/robinbreast/cyagen 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] ffe80115a4a001b7ebd258b1b8a05bc8e1f1d8daeb36f1f5e09221ecd5d32b1e [INFO] running `Command { std: "docker" "start" "-a" "ffe80115a4a001b7ebd258b1b8a05bc8e1f1d8daeb36f1f5e09221ecd5d32b1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffe80115a4a001b7ebd258b1b8a05bc8e1f1d8daeb36f1f5e09221ecd5d32b1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffe80115a4a001b7ebd258b1b8a05bc8e1f1d8daeb36f1f5e09221ecd5d32b1e", kill_on_drop: false }` [INFO] [stdout] ffe80115a4a001b7ebd258b1b8a05bc8e1f1d8daeb36f1f5e09221ecd5d32b1e [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] a2944965540eaab51b6b2a1b5d448c227e33f9e364f5644e0158e18268bf5c4a [INFO] running `Command { std: "docker" "start" "-a" "a2944965540eaab51b6b2a1b5d448c227e33f9e364f5644e0158e18268bf5c4a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling rustix v0.37.11 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Compiling serde_derive v1.0.160 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Checking linux-raw-sys v0.3.1 [INFO] [stderr] Checking regex-syntax v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Checking bstr v1.4.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking clap_lex v0.4.1 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.8.1 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking anstream v0.3.0 [INFO] [stderr] Checking globset v0.4.10 [INFO] [stderr] Checking clap_builder v4.2.2 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Compiling pest v2.5.7 [INFO] [stderr] Checking clap v4.2.2 [INFO] [stderr] Compiling pest_meta v2.5.7 [INFO] [stderr] Compiling pest_generator v2.5.7 [INFO] [stderr] Compiling pest_derive v2.5.7 [INFO] [stderr] Checking tera v1.18.1 [INFO] [stderr] Checking cyagen v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:32:71 [INFO] [stdout] | [INFO] [stdout] 32 | let sourcename = sourcename.file_name().unwrap().to_str().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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:32:71 [INFO] [stdout] | [INFO] [stdout] 32 | let sourcename = sourcename.file_name().unwrap().to_str().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] [stderr] error: could not compile `cyagen` (bin "cyagen") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cyagen` (bin "cyagen" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "a2944965540eaab51b6b2a1b5d448c227e33f9e364f5644e0158e18268bf5c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2944965540eaab51b6b2a1b5d448c227e33f9e364f5644e0158e18268bf5c4a", kill_on_drop: false }` [INFO] [stdout] a2944965540eaab51b6b2a1b5d448c227e33f9e364f5644e0158e18268bf5c4a