[INFO] cloning repository https://github.com/olsigjecii/type_confusion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/olsigjecii/type_confusion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folsigjecii%2Ftype_confusion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folsigjecii%2Ftype_confusion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1bc5d218e761e6e7dad1b6acfbb711daf4e21c49 [INFO] testing olsigjecii/type_confusion against 1.91.0 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folsigjecii%2Ftype_confusion" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/olsigjecii/type_confusion [INFO] finished tweaking git repo https://github.com/olsigjecii/type_confusion [INFO] tweaked toml for git repo https://github.com/olsigjecii/type_confusion written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/olsigjecii/type_confusion on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/olsigjecii/type_confusion 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-server v2.6.0 [INFO] [stderr] Downloaded actix-http v3.11.0 [INFO] [stderr] Downloaded brotli v8.0.2 [INFO] [stderr] Downloaded brotli-decompressor v5.0.0 [INFO] [stderr] Downloaded actix-web v4.11.0 [INFO] [stderr] Downloaded actix-service v2.0.3 [INFO] [stderr] Downloaded zstd-sys v2.0.15+zstd.1.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 484b372881d56658f9391e5bd6d2cf3e0cc0c1b9c6a319088414b7da28dc8f9b [INFO] running `Command { std: "docker" "start" "-a" "484b372881d56658f9391e5bd6d2cf3e0cc0c1b9c6a319088414b7da28dc8f9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "484b372881d56658f9391e5bd6d2cf3e0cc0c1b9c6a319088414b7da28dc8f9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "484b372881d56658f9391e5bd6d2cf3e0cc0c1b9c6a319088414b7da28dc8f9b", kill_on_drop: false }` [INFO] [stdout] 484b372881d56658f9391e5bd6d2cf3e0cc0c1b9c6a319088414b7da28dc8f9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1aef7ed2f27b0eca475ec00716d29c00b953a966ced10fdbc6d954711f4d04b [INFO] running `Command { std: "docker" "start" "-a" "c1aef7ed2f27b0eca475ec00716d29c00b953a966ced10fdbc6d954711f4d04b", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling type_confusion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `password` is never read [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct VulnerableUser { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 14 | username: Value, [INFO] [stdout] 15 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VulnerableUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `password` is never read [INFO] [stdout] --> src/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | struct SecureUser { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 64 | username: String, [INFO] [stdout] 65 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecureUser` 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 38.22s [INFO] running `Command { std: "docker" "inspect" "c1aef7ed2f27b0eca475ec00716d29c00b953a966ced10fdbc6d954711f4d04b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1aef7ed2f27b0eca475ec00716d29c00b953a966ced10fdbc6d954711f4d04b", kill_on_drop: false }` [INFO] [stdout] c1aef7ed2f27b0eca475ec00716d29c00b953a966ced10fdbc6d954711f4d04b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a146e0ed2e1e43b4cc4f11829bd7acc6184b4b4a45a43637bdd0c7f16d80e0c [INFO] running `Command { std: "docker" "start" "-a" "1a146e0ed2e1e43b4cc4f11829bd7acc6184b4b4a45a43637bdd0c7f16d80e0c", kill_on_drop: false }` [INFO] [stderr] Compiling type_confusion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `password` is never read [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct VulnerableUser { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 14 | username: Value, [INFO] [stdout] 15 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VulnerableUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `password` is never read [INFO] [stdout] --> src/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | struct SecureUser { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 64 | username: String, [INFO] [stdout] 65 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecureUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "1a146e0ed2e1e43b4cc4f11829bd7acc6184b4b4a45a43637bdd0c7f16d80e0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a146e0ed2e1e43b4cc4f11829bd7acc6184b4b4a45a43637bdd0c7f16d80e0c", kill_on_drop: false }` [INFO] [stdout] 1a146e0ed2e1e43b4cc4f11829bd7acc6184b4b4a45a43637bdd0c7f16d80e0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 47bdeeb554e0fd76509b4a307c4be062c1bd676b29f8d39a2fa98bb749d0b785 [INFO] running `Command { std: "docker" "start" "-a" "47bdeeb554e0fd76509b4a307c4be062c1bd676b29f8d39a2fa98bb749d0b785", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/main.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `password` is never read [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 13 | struct VulnerableUser { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 14 | username: Value, [INFO] [stderr] 15 | password: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VulnerableUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `password` is never read [INFO] [stderr] --> src/main.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 63 | struct SecureUser { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 64 | username: String, [INFO] [stderr] 65 | password: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SecureUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `type_confusion` (bin "type_confusion" test) generated 3 warnings (run `cargo fix --bin "type_confusion" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/type_confusion-e921ac666126034b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "47bdeeb554e0fd76509b4a307c4be062c1bd676b29f8d39a2fa98bb749d0b785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47bdeeb554e0fd76509b4a307c4be062c1bd676b29f8d39a2fa98bb749d0b785", kill_on_drop: false }` [INFO] [stdout] 47bdeeb554e0fd76509b4a307c4be062c1bd676b29f8d39a2fa98bb749d0b785