[INFO] cloning repository https://github.com/arkeasz/ld [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arkeasz/ld" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farkeasz%2Fld", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farkeasz%2Fld'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f374a4e18d998d109ce1ee713ca919cb3cd736ae [INFO] checking arkeasz/ld against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farkeasz%2Fld" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/arkeasz/ld [INFO] finished tweaking git repo https://github.com/arkeasz/ld [INFO] tweaked toml for git repo https://github.com/arkeasz/ld written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/arkeasz/ld on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/arkeasz/ld 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 8f0aa3fc0d7c09128d29de96fd81e3cb6e42e20f1f4c803bc458ec380ade6b00 [INFO] running `Command { std: "docker" "start" "8f0aa3fc0d7c09128d29de96fd81e3cb6e42e20f1f4c803bc458ec380ade6b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f0aa3fc0d7c09128d29de96fd81e3cb6e42e20f1f4c803bc458ec380ade6b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8f0aa3fc0d7c09128d29de96fd81e3cb6e42e20f1f4c803bc458ec380ade6b00" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f0aa3fc0d7c09128d29de96fd81e3cb6e42e20f1f4c803bc458ec380ade6b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8f0aa3fc0d7c09128d29de96fd81e3cb6e42e20f1f4c803bc458ec380ade6b00" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking unicode-ident v1.0.16 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking syn v2.0.100 [INFO] [stderr] Checking terminal_size v0.4.1 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking zix-macro v0.1.0 (/opt/rustwide/workdir/zix-macro) [INFO] [stdout] warning: unused imports: `Attribute`, `LitStr`, `Path`, and `parse::Parser` [INFO] [stdout] --> zix-macro/src/lib.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{parse_macro_input, ItemImpl, LitStr, Path, parse::Parser, Attribute}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attribute`, `LitStr`, `Path`, and `parse::Parser` [INFO] [stdout] --> zix-macro/src/lib.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{parse_macro_input, ItemImpl, LitStr, Path, parse::Parser, Attribute}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking zix-utils v0.0.1 (/opt/rustwide/workdir/zix-utils) [INFO] [stderr] Checking zix-core v0.0.2 (/opt/rustwide/workdir/zix-core) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> zix-utils/tests/type_of.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | let z = &mut { let mut a = 5; a }; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> zix-utils/tests/type_of.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 69 | struct Wrapper { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 70 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> zix-core/src/grid.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> zix-core/src/grid.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> zix-core/src/entry/utils.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn is_executable(filename: &str, _metadata: &fs::Metadata) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `shorten_name` is never read [INFO] [stdout] --> zix-core/src/entry/mod.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | let mut shorten_name = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 56 | shorten_name = self.name.to_string(); [INFO] [stdout] | ------------ `shorten_name` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries_recursive` [INFO] [stdout] --> zix-core/src/recursive.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let entries_recursive: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries_recursive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `usize` [INFO] [stdout] --> zix-core/src/grid.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | if current_width + width + 2 <= terminal_width.into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 20 - if current_width + width + 2 <= terminal_width.into() { [INFO] [stdout] 20 + if current_width + width + 2 <= terminal_width { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 20 - if current_width + width + 2 <= terminal_width.into() { [INFO] [stdout] 20 + if current_width + width + 2 <= >::into(terminal_width) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zix-core` (lib) due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> zix-core/src/entry/utils.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn is_executable(filename: &str, _metadata: &fs::Metadata) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `shorten_name` is never read [INFO] [stdout] --> zix-core/src/entry/mod.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | let mut shorten_name = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 56 | shorten_name = self.name.to_string(); [INFO] [stdout] | ------------ `shorten_name` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries_recursive` [INFO] [stdout] --> zix-core/src/recursive.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let entries_recursive: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries_recursive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `usize` [INFO] [stdout] --> zix-core/src/grid.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | if current_width + width + 2 <= terminal_width.into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 20 - if current_width + width + 2 <= terminal_width.into() { [INFO] [stdout] 20 + if current_width + width + 2 <= terminal_width { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 20 - if current_width + width + 2 <= terminal_width.into() { [INFO] [stdout] 20 + if current_width + width + 2 <= >::into(terminal_width) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zix-core` (lib test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8f0aa3fc0d7c09128d29de96fd81e3cb6e42e20f1f4c803bc458ec380ade6b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f0aa3fc0d7c09128d29de96fd81e3cb6e42e20f1f4c803bc458ec380ade6b00", kill_on_drop: false }` [INFO] [stdout] 8f0aa3fc0d7c09128d29de96fd81e3cb6e42e20f1f4c803bc458ec380ade6b00