[INFO] fetching crate coherence 0.1.0... [INFO] checking coherence-0.1.0 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate coherence 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate coherence 0.1.0 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 coherence 0.1.0 [INFO] finished tweaking crates.io crate coherence 0.1.0 [INFO] tweaked toml for crates.io crate coherence 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate coherence 0.1.0 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-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e288aee3a772a7e080ad3a72245131b1970999951ca1ee20962914f3ea11cda [INFO] running `Command { std: "docker" "start" "-a" "1e288aee3a772a7e080ad3a72245131b1970999951ca1ee20962914f3ea11cda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e288aee3a772a7e080ad3a72245131b1970999951ca1ee20962914f3ea11cda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e288aee3a772a7e080ad3a72245131b1970999951ca1ee20962914f3ea11cda", kill_on_drop: false }` [INFO] [stdout] 1e288aee3a772a7e080ad3a72245131b1970999951ca1ee20962914f3ea11cda [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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf8013ebd8aee744756ab671401fc0d6158ae7d62a1dbff50d88db8451f88c5f [INFO] running `Command { std: "docker" "start" "-a" "bf8013ebd8aee744756ab671401fc0d6158ae7d62a1dbff50d88db8451f88c5f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling rustix v0.37.18 [INFO] [stderr] Checking linux-raw-sys v0.3.6 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Checking clap_lex v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.8 [INFO] [stderr] Checking time v0.3.20 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Compiling pest v2.6.0 [INFO] [stderr] Checking clap v4.2.6 [INFO] [stderr] Compiling pest_meta v2.6.0 [INFO] [stderr] Compiling pest_generator v2.6.0 [INFO] [stderr] Compiling pest_derive v2.6.0 [INFO] [stderr] Checking coherence v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `chr` [INFO] [stdout] --> src/chrpatch/patcher.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn apply_patch(chr: CHRFile, root: u64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_chr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/chrpatch/patcher.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn apply_patch(chr: CHRFile, root: u64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chr` [INFO] [stdout] --> src/chrpatch/patcher.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn apply_patch(chr: CHRFile, root: u64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_chr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/chrpatch/patcher.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn apply_patch(chr: CHRFile, root: u64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chr` [INFO] [stdout] --> src/commands/parse.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let chr = construct(pair)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_chr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut lines = content.lines(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chrpatch/constructor.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | let author_username = author_fields.next().unwrap().as_str().clone().to_string(); [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/chrpatch/constructor.rs:21:62 [INFO] [stdout] | [INFO] [stdout] 21 | let author_email = author_fields.next().unwrap().as_str().clone().to_string(); [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/chrpatch/constructor.rs:23:61 [INFO] [stdout] | [INFO] [stdout] 23 | let description = header_fields.next().unwrap().as_str().clone().to_string(); [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/chrpatch/constructor.rs:54:57 [INFO] [stdout] | [INFO] [stdout] 54 | let path = patch_fields.next().unwrap().as_str().clone().to_string(); [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/chrpatch/constructor.rs:78:66 [INFO] [stdout] | [INFO] [stdout] 78 | let path = action_fields.next().unwrap().as_str().clone().to_string(); [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/chrpatch/constructor.rs:84:69 [INFO] [stdout] | [INFO] [stdout] 84 | let content = action_fields.next().unwrap().as_str().clone().to_string(); [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/chrpatch/constructor.rs:91:69 [INFO] [stdout] | [INFO] [stdout] 91 | let content = action_fields.next().unwrap().as_str().clone().to_string(); [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: unused variable: `chr` [INFO] [stdout] --> src/commands/parse.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let chr = construct(pair)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_chr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut lines = content.lines(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chrpatch/constructor.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | let author_username = author_fields.next().unwrap().as_str().clone().to_string(); [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/chrpatch/constructor.rs:21:62 [INFO] [stdout] | [INFO] [stdout] 21 | let author_email = author_fields.next().unwrap().as_str().clone().to_string(); [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/chrpatch/constructor.rs:23:61 [INFO] [stdout] | [INFO] [stdout] 23 | let description = header_fields.next().unwrap().as_str().clone().to_string(); [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/chrpatch/constructor.rs:54:57 [INFO] [stdout] | [INFO] [stdout] 54 | let path = patch_fields.next().unwrap().as_str().clone().to_string(); [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] [stderr] error: could not compile `coherence` (bin "chr" test) due to 8 previous errors; 4 warnings emitted [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chrpatch/constructor.rs:78:66 [INFO] [stdout] | [INFO] [stdout] 78 | let path = action_fields.next().unwrap().as_str().clone().to_string(); [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chrpatch/constructor.rs:84:69 [INFO] [stdout] | [INFO] [stdout] 84 | let content = action_fields.next().unwrap().as_str().clone().to_string(); [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/chrpatch/constructor.rs:91:69 [INFO] [stdout] | [INFO] [stdout] 91 | let content = action_fields.next().unwrap().as_str().clone().to_string(); [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 7 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coherence` (bin "chr") due to 8 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bf8013ebd8aee744756ab671401fc0d6158ae7d62a1dbff50d88db8451f88c5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf8013ebd8aee744756ab671401fc0d6158ae7d62a1dbff50d88db8451f88c5f", kill_on_drop: false }` [INFO] [stdout] bf8013ebd8aee744756ab671401fc0d6158ae7d62a1dbff50d88db8451f88c5f