[INFO] fetching crate aftman 0.3.0... [INFO] testing aftman-0.3.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate aftman 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate aftman 0.3.0 [INFO] finished tweaking crates.io crate aftman 0.3.0 [INFO] tweaked toml for crates.io crate aftman 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate aftman 0.3.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate aftman 0.3.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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 556afe732d0488ad90a165f709cd590b9ce7b187ab6b59127403f01a0d97c45a [INFO] running `Command { std: "docker" "start" "-a" "556afe732d0488ad90a165f709cd590b9ce7b187ab6b59127403f01a0d97c45a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "556afe732d0488ad90a165f709cd590b9ce7b187ab6b59127403f01a0d97c45a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "556afe732d0488ad90a165f709cd590b9ce7b187ab6b59127403f01a0d97c45a", kill_on_drop: false }` [INFO] [stdout] 556afe732d0488ad90a165f709cd590b9ce7b187ab6b59127403f01a0d97c45a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3d43cd832ce2e2096ba2d765074836f3438fc323e8f56cc82e062ca2211a030 [INFO] running `Command { std: "docker" "start" "-a" "e3d43cd832ce2e2096ba2d765074836f3438fc323e8f56cc82e062ca2211a030", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling dialoguer v0.9.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml_edit v0.14.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling aftman v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `add_token` is never used [INFO] [stdout] --> src/auth.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl AuthManifest { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn add_token(home: &Home, token_type: &str, token: &str) -> anyhow::Result<()> { [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 `prerelease` is never read [INFO] [stdout] --> src/tool_source/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Release { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 11 | pub version: Version, [INFO] [stdout] 12 | pub prerelease: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Release` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 12s [INFO] running `Command { std: "docker" "inspect" "e3d43cd832ce2e2096ba2d765074836f3438fc323e8f56cc82e062ca2211a030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d43cd832ce2e2096ba2d765074836f3438fc323e8f56cc82e062ca2211a030", kill_on_drop: false }` [INFO] [stdout] e3d43cd832ce2e2096ba2d765074836f3438fc323e8f56cc82e062ca2211a030 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a00a00ec32e9184d1c4e8c9468ec385a89e016f464ac3edf7d70619941d99c8d [INFO] running `Command { std: "docker" "start" "-a" "a00a00ec32e9184d1c4e8c9468ec385a89e016f464ac3edf7d70619941d99c8d", kill_on_drop: false }` [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling similar v2.5.0 [INFO] [stdout] warning: associated function `add_token` is never used [INFO] [stdout] --> src/auth.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl AuthManifest { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn add_token(home: &Home, token_type: &str, token: &str) -> anyhow::Result<()> { [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 `prerelease` is never read [INFO] [stdout] --> src/tool_source/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Release { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 11 | pub version: Version, [INFO] [stdout] 12 | pub prerelease: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Release` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling insta v1.38.0 [INFO] [stderr] Compiling aftman v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `test_util` [INFO] [stdout] --> tests/ui.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use test_util::Environment; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_util`, use `cargo add test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aftman` (test "ui") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function `add_token` is never used [INFO] [stdout] --> src/auth.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl AuthManifest { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn add_token(home: &Home, token_type: &str, token: &str) -> anyhow::Result<()> { [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 `prerelease` is never read [INFO] [stdout] --> src/tool_source/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Release { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 11 | pub version: Version, [INFO] [stdout] 12 | pub prerelease: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Release` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a00a00ec32e9184d1c4e8c9468ec385a89e016f464ac3edf7d70619941d99c8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a00a00ec32e9184d1c4e8c9468ec385a89e016f464ac3edf7d70619941d99c8d", kill_on_drop: false }` [INFO] [stdout] a00a00ec32e9184d1c4e8c9468ec385a89e016f464ac3edf7d70619941d99c8d