[INFO] fetching crate new-stow 0.1.6...
[INFO] building new-stow-0.1.6 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2
[INFO] extracting crate new-stow 0.1.6 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate new-stow 0.1.6
[INFO] finished tweaking crates.io crate new-stow 0.1.6
[INFO] tweaked toml for crates.io crate new-stow 0.1.6 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate new-stow 0.1.6 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate new-stow 0.1.6 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8d256ab01966bad01ce6775794c61e7c947140d335c13507c2b39715400ca9e6
[INFO] running `Command { std: "docker" "start" "-a" "8d256ab01966bad01ce6775794c61e7c947140d335c13507c2b39715400ca9e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d256ab01966bad01ce6775794c61e7c947140d335c13507c2b39715400ca9e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d256ab01966bad01ce6775794c61e7c947140d335c13507c2b39715400ca9e6", kill_on_drop: false }`
[INFO] [stdout] 8d256ab01966bad01ce6775794c61e7c947140d335c13507c2b39715400ca9e6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 85df79cd09a6257950e9d4ef5c2e74031396cc2a8dc40cf82572333f065e0364
[INFO] running `Command { std: "docker" "start" "-a" "85df79cd09a6257950e9d4ef5c2e74031396cc2a8dc40cf82572333f065e0364", kill_on_drop: false }`
[INFO] [stderr] Compiling rustix v0.38.8
[INFO] [stderr] Compiling proc-macro2 v1.0.66
[INFO] [stderr] Compiling memchr v2.5.0
[INFO] [stderr] Compiling linux-raw-sys v0.4.5
[INFO] [stderr] Compiling libc v0.2.147
[INFO] [stderr] Compiling unicode-ident v1.0.11
[INFO] [stderr] Compiling anstyle v1.0.1
[INFO] [stderr] Compiling regex-syntax v0.7.4
[INFO] [stderr] Compiling serde v1.0.183
[INFO] [stderr] Compiling clap_lex v0.5.0
[INFO] [stderr] Compiling anstyle-parse v0.2.1
[INFO] [stderr] Compiling serde_derive v1.0.183
[INFO] [stderr] Compiling anyhow v1.0.72
[INFO] [stderr] Compiling log v0.4.20
[INFO] [stderr] Compiling hashbrown v0.14.0
[INFO] [stderr] Compiling unsafe-libyaml v0.2.9
[INFO] [stderr] Compiling termcolor v1.2.0
[INFO] [stderr] Compiling indexmap v2.0.0
[INFO] [stderr] Compiling aho-corasick v1.0.4
[INFO] [stderr] Compiling quote v1.0.32
[INFO] [stderr] Compiling syn v2.0.28
[INFO] [stderr] Compiling is-terminal v0.4.9
[INFO] [stderr] Compiling atty v0.2.14
[INFO] [stderr] Compiling dirs-sys-next v0.1.2
[INFO] [stderr] Compiling anstream v0.3.2
[INFO] [stderr] Compiling clap_builder v4.3.21
[INFO] [stderr] Compiling regex-automata v0.3.6
[INFO] [stderr] Compiling directories-next v2.0.0
[INFO] [stderr] Compiling serde_yaml v0.9.25
[INFO] [stderr] Compiling regex v1.9.3
[INFO] [stderr] Compiling clap_derive v4.3.12
[INFO] [stderr] Compiling env_logger v0.9.3
[INFO] [stderr] Compiling clap v4.3.21
[INFO] [stderr] Compiling clap-verbosity-flag v2.0.1
[INFO] [stderr] Compiling new-stow v0.1.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `error`, `trace`, and `warn`
[INFO] [stdout] --> src/main.rs:4:18
[INFO] [stdout] |
[INFO] [stdout] 4 | use log::{debug, error, info, trace, warn};
[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: `current_dir`
[INFO] [stdout] --> src/main.rs:5:22
[INFO] [stdout] |
[INFO] [stdout] 5 | use std::env::{self, current_dir};
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Level`, `error`, and `trace`
[INFO] [stdout] --> src/link.rs:3:18
[INFO] [stdout] |
[INFO] [stdout] 3 | use log::{debug, error, info, trace, warn, Level};
[INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Result` and `bail`
[INFO] [stdout] --> src/filter.rs:1:14
[INFO] [stdout] |
[INFO] [stdout] 1 | use anyhow::{bail, Result};
[INFO] [stdout] | ^^^^ ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `lazy_static::lazy_static`
[INFO] [stdout] --> src/filter.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use lazy_static::lazy_static;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `debug`, `error`, `trace`, and `warn`
[INFO] [stdout] --> src/filter.rs:3:11
[INFO] [stdout] |
[INFO] [stdout] 3 | use log::{debug, error, info, trace, warn};
[INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new` and `to_path_buf` are never used
[INFO] [stdout] --> src/stow.rs:19:12
[INFO] [stdout] |
[INFO] [stdout] 18 | impl SmartPopPathBuf {
[INFO] [stdout] | -------------------- associated items in this implementation
[INFO] [stdout] 19 | pub fn new() -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 | pub fn to_path_buf(&self) -> PathBuf {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `settings` is never read
[INFO] [stdout] --> src/stow.rs:265:5
[INFO] [stdout] |
[INFO] [stdout] 263 | pub struct Stow<'a> {
[INFO] [stdout] | ---- field in this struct
[INFO] [stdout] 264 | links: Vec>,
[INFO] [stdout] 265 | settings: &'a Settings,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `override_filter` is never read
[INFO] [stdout] --> src/filter.rs:68:5
[INFO] [stdout] |
[INFO] [stdout] 65 | pub struct StowFilters {
[INFO] [stdout] | ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 68 | override_filter: Option,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `StowFilters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `check_target_override` is never used
[INFO] [stdout] --> src/filter.rs:119:12
[INFO] [stdout] |
[INFO] [stdout] 70 | impl StowFilters {
[INFO] [stdout] | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 119 | pub fn check_target_override(&self, input: &str) -> bool {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `backup` is never read
[INFO] [stdout] --> src/settings.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 5 | pub struct LinkSettings {
[INFO] [stdout] | ------------ field in this struct
[INFO] [stdout] 6 | dry_run: bool,
[INFO] [stdout] 7 | backup: Option,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `LinkSettings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `backup` is never used
[INFO] [stdout] --> src/settings.rs:18:12
[INFO] [stdout] |
[INFO] [stdout] 9 | impl LinkSettings {
[INFO] [stdout] | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 | pub fn backup(&self) -> &Option {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.47s
[INFO] running `Command { std: "docker" "inspect" "85df79cd09a6257950e9d4ef5c2e74031396cc2a8dc40cf82572333f065e0364", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85df79cd09a6257950e9d4ef5c2e74031396cc2a8dc40cf82572333f065e0364", kill_on_drop: false }`
[INFO] [stdout] 85df79cd09a6257950e9d4ef5c2e74031396cc2a8dc40cf82572333f065e0364
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a6316a0d51a56f4f89a275d03beaf2d52ce6c0057de477907f4b6b25e973582c
[INFO] running `Command { std: "docker" "start" "-a" "a6316a0d51a56f4f89a275d03beaf2d52ce6c0057de477907f4b6b25e973582c", kill_on_drop: false }`
[INFO] [stderr] Compiling new-stow v0.1.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `error`, `trace`, and `warn`
[INFO] [stdout] --> src/main.rs:4:18
[INFO] [stdout] |
[INFO] [stdout] 4 | use log::{debug, error, info, trace, warn};
[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: `current_dir`
[INFO] [stdout] --> src/main.rs:5:22
[INFO] [stdout] |
[INFO] [stdout] 5 | use std::env::{self, current_dir};
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Level`, `error`, and `trace`
[INFO] [stdout] --> src/link.rs:3:18
[INFO] [stdout] |
[INFO] [stdout] 3 | use log::{debug, error, info, trace, warn, Level};
[INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Result` and `bail`
[INFO] [stdout] --> src/filter.rs:1:14
[INFO] [stdout] |
[INFO] [stdout] 1 | use anyhow::{bail, Result};
[INFO] [stdout] | ^^^^ ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `lazy_static::lazy_static`
[INFO] [stdout] --> src/filter.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use lazy_static::lazy_static;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `debug`, `error`, `trace`, and `warn`
[INFO] [stdout] --> src/filter.rs:3:11
[INFO] [stdout] |
[INFO] [stdout] 3 | use log::{debug, error, info, trace, warn};
[INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new` and `to_path_buf` are never used
[INFO] [stdout] --> src/stow.rs:19:12
[INFO] [stdout] |
[INFO] [stdout] 18 | impl SmartPopPathBuf {
[INFO] [stdout] | -------------------- associated items in this implementation
[INFO] [stdout] 19 | pub fn new() -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 | pub fn to_path_buf(&self) -> PathBuf {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `settings` is never read
[INFO] [stdout] --> src/stow.rs:265:5
[INFO] [stdout] |
[INFO] [stdout] 263 | pub struct Stow<'a> {
[INFO] [stdout] | ---- field in this struct
[INFO] [stdout] 264 | links: Vec>,
[INFO] [stdout] 265 | settings: &'a Settings,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `backup` is never read
[INFO] [stdout] --> src/settings.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 5 | pub struct LinkSettings {
[INFO] [stdout] | ------------ field in this struct
[INFO] [stdout] 6 | dry_run: bool,
[INFO] [stdout] 7 | backup: Option,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `LinkSettings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `backup` is never used
[INFO] [stdout] --> src/settings.rs:18:12
[INFO] [stdout] |
[INFO] [stdout] 9 | impl LinkSettings {
[INFO] [stdout] | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 | pub fn backup(&self) -> &Option {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `override_filter` is never read
[INFO] [stdout] --> src/filter.rs:68:5
[INFO] [stdout] |
[INFO] [stdout] 65 | pub struct StowFilters {
[INFO] [stdout] | ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 68 | override_filter: Option,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `StowFilters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `check_target_override` is never used
[INFO] [stdout] --> src/filter.rs:119:12
[INFO] [stdout] |
[INFO] [stdout] 70 | impl StowFilters {
[INFO] [stdout] | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 119 | pub fn check_target_override(&self, input: &str) -> bool {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s
[INFO] running `Command { std: "docker" "inspect" "a6316a0d51a56f4f89a275d03beaf2d52ce6c0057de477907f4b6b25e973582c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6316a0d51a56f4f89a275d03beaf2d52ce6c0057de477907f4b6b25e973582c", kill_on_drop: false }`
[INFO] [stdout] a6316a0d51a56f4f89a275d03beaf2d52ce6c0057de477907f4b6b25e973582c