[INFO] cloning repository https://github.com/AlterionX/pass-converter-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlterionX/pass-converter-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlterionX%2Fpass-converter-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlterionX%2Fpass-converter-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 209fbe9377bf42ef9c25969fab491e7eb36ec987 [INFO] building AlterionX/pass-converter-rs against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlterionX%2Fpass-converter-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AlterionX/pass-converter-rs [INFO] finished tweaking git repo https://github.com/AlterionX/pass-converter-rs [INFO] tweaked toml for git repo https://github.com/AlterionX/pass-converter-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AlterionX/pass-converter-rs on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AlterionX/pass-converter-rs 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-epoch v0.9.14 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.92 [INFO] [stderr] Downloaded checked_int_cast v1.0.0 [INFO] [stderr] Downloaded scratch v1.0.5 [INFO] [stderr] Downloaded adler32 v1.2.0 [INFO] [stderr] Downloaded quote v1.0.26 [INFO] [stderr] Downloaded anyhow v1.0.69 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.92 [INFO] [stderr] Downloaded bytemuck v1.13.1 [INFO] [stderr] Downloaded cxx-build v1.0.92 [INFO] [stderr] Downloaded crossbeam-channel v0.5.7 [INFO] [stderr] Downloaded time v0.3.20 [INFO] [stderr] Downloaded serde_json v1.0.94 [INFO] [stderr] Downloaded serde v1.0.156 [INFO] [stderr] Downloaded jpeg-decoder v0.1.22 [INFO] [stderr] Downloaded cxx v1.0.92 [INFO] [stderr] Downloaded chrono v0.4.24 [INFO] [stderr] Downloaded image v0.23.14 [INFO] [stderr] Downloaded deflate v0.8.6 [INFO] [stderr] Downloaded png v0.16.8 [INFO] [stderr] Downloaded qrcode v0.12.0 [INFO] [stderr] Downloaded zip v0.6.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.52 [INFO] [stderr] Downloaded miniz_oxide v0.3.7 [INFO] [stderr] Downloaded memoffset v0.8.0 [INFO] [stderr] Downloaded tiff v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ce3dbea52988a4b1086253337834ac63dc315d95782222511aecedb211abe42 [INFO] running `Command { std: "docker" "start" "-a" "9ce3dbea52988a4b1086253337834ac63dc315d95782222511aecedb211abe42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ce3dbea52988a4b1086253337834ac63dc315d95782222511aecedb211abe42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ce3dbea52988a4b1086253337834ac63dc315d95782222511aecedb211abe42", kill_on_drop: false }` [INFO] [stdout] 9ce3dbea52988a4b1086253337834ac63dc315d95782222511aecedb211abe42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 57b0e4ef050ef86d83f1aa472dad99ed1b2650a3d2b46c4d178fed571f3ed49c [INFO] running `Command { std: "docker" "start" "-a" "57b0e4ef050ef86d83f1aa472dad99ed1b2650a3d2b46c4d178fed571f3ed49c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.7 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling serde v1.0.156 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.94 [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling time v0.3.20 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling checked_int_cast v1.0.0 [INFO] [stderr] Compiling zstd-sys v2.0.7+zstd.1.5.4 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.4 [INFO] [stderr] Compiling qrcode v0.12.0 [INFO] [stderr] Compiling pass-converter-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `zip::result::ZipResult` [INFO] [stdout] --> src/pass.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zip::result::ZipResult; [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: `BufWriter` and `Stdin` [INFO] [stdout] --> src/main.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs::File, io::{Stdin, Write, BufWriter}}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GoogleWalletPass` [INFO] [stdout] --> src/main.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use pass::{Pass, PkPass, GoogleWalletPass, PassFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/pass.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | fn extract(json: &serde_json::Value, year: i32) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/pass.rs:141:42 [INFO] [stdout] | [INFO] [stdout] 141 | fn extract(json: &serde_json::Value, year: i32) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/pass.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 305 | fn extract(json: &serde_json::Map, internal_json: &serde_json::Value, year: i32) -> Result src/pass.rs:491:13 [INFO] [stdout] | [INFO] [stdout] 491 | fn from(pass: GoogleWalletPass) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/pass.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | fn from(pass: PkPass) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/pass.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | fn from(pass: Pass) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/pass.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | fn from(pass: Pass) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | if let PkPassSubtype::Flight(ref flight) = pkpass.subtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpass` [INFO] [stdout] --> src/main.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | (None, Some(gpass)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gpass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outcome` [INFO] [stdout] --> src/main.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let outcome = match res { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outcome` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | fn write_pass(output: impl Write, pass: Pass, format: PassFormat) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/main.rs:186:35 [INFO] [stdout] | [INFO] [stdout] 186 | fn write_pass(output: impl Write, pass: Pass, format: PassFormat) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/main.rs:186:47 [INFO] [stdout] | [INFO] [stdout] 186 | fn write_pass(output: impl Write, pass: Pass, format: PassFormat) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PkPass` is never constructed [INFO] [stdout] --> src/pass.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum PassFormat { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 6 | GPass, [INFO] [stdout] 7 | PkPass, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `format` and `encoding` are never read [INFO] [stdout] --> src/pass.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct PkPassBarcode { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 71 | pub format: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 72 | pub message: String, [INFO] [stdout] 73 | pub encoding: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PkPassBarcode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `format_version`, `organization_name`, `team_identifier`, `description`, `background_color`, and `foreground_color` are never read [INFO] [stdout] --> src/pass.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct PkPassBase { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 128 | pub format_version: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub organization_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | pub team_identifier: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | [INFO] [stdout] 134 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 135 | [INFO] [stdout] 136 | pub background_color: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | pub foreground_color: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PkPassBase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/pass.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct PkPassValue { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 236 | pub key: String, [INFO] [stdout] 237 | pub label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PkPassValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transit_type` is never read [INFO] [stdout] --> src/pass.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct PkPassFlight { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 299 | transit_type: PkTransitType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PkPassFlight` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/pass.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 304 | impl PkPassFlight { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 371 | pub fn details(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | pub fn ticket(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn frequent_flyer(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub fn sequence(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn flight_number(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | pub fn status(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn group(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.75s [INFO] running `Command { std: "docker" "inspect" "57b0e4ef050ef86d83f1aa472dad99ed1b2650a3d2b46c4d178fed571f3ed49c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57b0e4ef050ef86d83f1aa472dad99ed1b2650a3d2b46c4d178fed571f3ed49c", kill_on_drop: false }` [INFO] [stdout] 57b0e4ef050ef86d83f1aa472dad99ed1b2650a3d2b46c4d178fed571f3ed49c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] a9387368ac05f3db513df666cda99306fd41404821654ffdded84c0e589c9c6d [INFO] running `Command { std: "docker" "start" "-a" "a9387368ac05f3db513df666cda99306fd41404821654ffdded84c0e589c9c6d", kill_on_drop: false }` [INFO] [stderr] Compiling pass-converter-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `zip::result::ZipResult` [INFO] [stdout] --> src/pass.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zip::result::ZipResult; [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: `BufWriter` and `Stdin` [INFO] [stdout] --> src/main.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs::File, io::{Stdin, Write, BufWriter}}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GoogleWalletPass` [INFO] [stdout] --> src/main.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use pass::{Pass, PkPass, GoogleWalletPass, PassFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/pass.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | fn extract(json: &serde_json::Value, year: i32) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/pass.rs:141:42 [INFO] [stdout] | [INFO] [stdout] 141 | fn extract(json: &serde_json::Value, year: i32) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/pass.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 305 | fn extract(json: &serde_json::Map, internal_json: &serde_json::Value, year: i32) -> Result src/pass.rs:491:13 [INFO] [stdout] | [INFO] [stdout] 491 | fn from(pass: GoogleWalletPass) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/pass.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | fn from(pass: PkPass) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/pass.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | fn from(pass: Pass) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/pass.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | fn from(pass: Pass) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | if let PkPassSubtype::Flight(ref flight) = pkpass.subtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpass` [INFO] [stdout] --> src/main.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | (None, Some(gpass)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gpass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outcome` [INFO] [stdout] --> src/main.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let outcome = match res { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outcome` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | fn write_pass(output: impl Write, pass: Pass, format: PassFormat) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/main.rs:186:35 [INFO] [stdout] | [INFO] [stdout] 186 | fn write_pass(output: impl Write, pass: Pass, format: PassFormat) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/main.rs:186:47 [INFO] [stdout] | [INFO] [stdout] 186 | fn write_pass(output: impl Write, pass: Pass, format: PassFormat) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PkPass` is never constructed [INFO] [stdout] --> src/pass.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum PassFormat { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 6 | GPass, [INFO] [stdout] 7 | PkPass, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `format` and `encoding` are never read [INFO] [stdout] --> src/pass.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct PkPassBarcode { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 71 | pub format: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 72 | pub message: String, [INFO] [stdout] 73 | pub encoding: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PkPassBarcode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `format_version`, `organization_name`, `team_identifier`, `description`, `background_color`, and `foreground_color` are never read [INFO] [stdout] --> src/pass.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct PkPassBase { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 128 | pub format_version: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub organization_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | pub team_identifier: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | [INFO] [stdout] 134 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 135 | [INFO] [stdout] 136 | pub background_color: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | pub foreground_color: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PkPassBase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/pass.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct PkPassValue { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 236 | pub key: String, [INFO] [stdout] 237 | pub label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PkPassValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transit_type` is never read [INFO] [stdout] --> src/pass.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct PkPassFlight { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 299 | transit_type: PkTransitType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PkPassFlight` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/pass.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 304 | impl PkPassFlight { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 371 | pub fn details(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | pub fn ticket(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn frequent_flyer(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub fn sequence(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn flight_number(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | pub fn status(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn group(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "a9387368ac05f3db513df666cda99306fd41404821654ffdded84c0e589c9c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9387368ac05f3db513df666cda99306fd41404821654ffdded84c0e589c9c6d", kill_on_drop: false }` [INFO] [stdout] a9387368ac05f3db513df666cda99306fd41404821654ffdded84c0e589c9c6d