[INFO] fetching crate rustpack 0.2.0...
[INFO] building rustpack-0.2.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] extracting crate rustpack 0.2.0 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate rustpack 0.2.0
[INFO] finished tweaking crates.io crate rustpack 0.2.0
[INFO] tweaked toml for crates.io crate rustpack 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rustpack 0.2.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rustpack 0.2.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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded iana-time-zone v0.1.62
[INFO] [stderr]   Downloaded notify v4.0.18
[INFO] [stderr]   Downloaded tempfile v3.19.1
[INFO] [stderr]   Downloaded clap v4.5.34
[INFO] [stderr]   Downloaded clap_builder v4.5.34
[INFO] [stderr]   Downloaded flate2 v1.1.0
[INFO] [stderr]   Downloaded rustix v1.0.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 96a1b15f7d9a314d156497704811ed3c51571bb77451f48f7df6f256a56d605b
[INFO] running `Command { std: "docker" "start" "-a" "96a1b15f7d9a314d156497704811ed3c51571bb77451f48f7df6f256a56d605b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "96a1b15f7d9a314d156497704811ed3c51571bb77451f48f7df6f256a56d605b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96a1b15f7d9a314d156497704811ed3c51571bb77451f48f7df6f256a56d605b", kill_on_drop: false }`
[INFO] [stdout] 96a1b15f7d9a314d156497704811ed3c51571bb77451f48f7df6f256a56d605b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 88c2a1192e4ee2220f520cac4860d856bfdaad05e264174b8bd86a93d7a071bb
[INFO] running `Command { std: "docker" "start" "-a" "88c2a1192e4ee2220f520cac4860d856bfdaad05e264174b8bd86a93d7a071bb", kill_on_drop: false }`
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rustix v1.0.3
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling portable-atomic v1.11.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling base64ct v1.7.3
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling miniz_oxide v0.8.5
[INFO] [stderr]    Compiling deranged v0.4.1
[INFO] [stderr]    Compiling filetime v0.2.25
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling inotify v0.7.1
[INFO] [stderr]    Compiling clap_builder v4.5.34
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling password-hash v0.4.2
[INFO] [stderr]    Compiling flate2 v1.1.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.62
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling indicatif v0.17.11
[INFO] [stderr]    Compiling notify v4.0.18
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling bzip2-sys v0.1.13+1.0.8
[INFO] [stderr]    Compiling xattr v1.5.0
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]    Compiling tar v0.4.44
[INFO] [stderr]    Compiling bzip2 v0.4.4
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling clap v4.5.34
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling toml v0.7.8
[INFO] [stderr]    Compiling rustpack v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::env;
[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::thread`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `semver::Version`
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use semver::Version;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]   --> src/main.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 | use base64::encode;
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/main.rs:592:8
[INFO] [stdout]     |
[INFO] [stdout] 592 |     Ok(encode(&code_bytes))
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `project_name`
[INFO] [stdout]    --> src/main.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |     let project_name = matches.get_one::<String>("name")
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `binary_path`
[INFO] [stdout]    --> src/main.rs:497:9
[INFO] [stdout]     |
[INFO] [stdout] 497 |     let binary_path = Path::new(project_path)
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `HmacSha256` is never used
[INFO] [stdout]   --> src/main.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 | type HmacSha256 = Hmac<Sha256>;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_checksum` is never used
[INFO] [stdout]    --> src/main.rs:572:4
[INFO] [stdout]     |
[INFO] [stdout] 572 | fn calculate_checksum(path: &Path) -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sign_package` is never used
[INFO] [stdout]    --> src/main.rs:584:4
[INFO] [stdout]     |
[INFO] [stdout] 584 | fn sign_package(path: &Path, key: &str) -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.70s
[INFO] running `Command { std: "docker" "inspect" "88c2a1192e4ee2220f520cac4860d856bfdaad05e264174b8bd86a93d7a071bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88c2a1192e4ee2220f520cac4860d856bfdaad05e264174b8bd86a93d7a071bb", kill_on_drop: false }`
[INFO] [stdout] 88c2a1192e4ee2220f520cac4860d856bfdaad05e264174b8bd86a93d7a071bb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2e8ca08708d5381fc2e4fa750bfe6e425c773f9b0b5f7d5684365a90d2f47b84
[INFO] running `Command { std: "docker" "start" "-a" "2e8ca08708d5381fc2e4fa750bfe6e425c773f9b0b5f7d5684365a90d2f47b84", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustpack v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::env;
[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::thread`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `semver::Version`
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use semver::Version;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]   --> src/main.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 | use base64::encode;
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/main.rs:592:8
[INFO] [stdout]     |
[INFO] [stdout] 592 |     Ok(encode(&code_bytes))
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `project_name`
[INFO] [stdout]    --> src/main.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |     let project_name = matches.get_one::<String>("name")
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `binary_path`
[INFO] [stdout]    --> src/main.rs:497:9
[INFO] [stdout]     |
[INFO] [stdout] 497 |     let binary_path = Path::new(project_path)
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `HmacSha256` is never used
[INFO] [stdout]   --> src/main.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 | type HmacSha256 = Hmac<Sha256>;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_checksum` is never used
[INFO] [stdout]    --> src/main.rs:572:4
[INFO] [stdout]     |
[INFO] [stdout] 572 | fn calculate_checksum(path: &Path) -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sign_package` is never used
[INFO] [stdout]    --> src/main.rs:584:4
[INFO] [stdout]     |
[INFO] [stdout] 584 | fn sign_package(path: &Path, key: &str) -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s
[INFO] running `Command { std: "docker" "inspect" "2e8ca08708d5381fc2e4fa750bfe6e425c773f9b0b5f7d5684365a90d2f47b84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e8ca08708d5381fc2e4fa750bfe6e425c773f9b0b5f7d5684365a90d2f47b84", kill_on_drop: false }`
[INFO] [stdout] 2e8ca08708d5381fc2e4fa750bfe6e425c773f9b0b5f7d5684365a90d2f47b84
