[INFO] cloning repository https://github.com/Mathspy/disunity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mathspy/disunity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathspy%2Fdisunity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathspy%2Fdisunity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a691359a81480086ad1664d9a30b08e7197e53be [INFO] checking Mathspy/disunity/a691359a81480086ad1664d9a30b08e7197e53be against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathspy%2Fdisunity" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mathspy/disunity on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mathspy/disunity [INFO] finished tweaking git repo https://github.com/Mathspy/disunity [INFO] tweaked toml for git repo https://github.com/Mathspy/disunity written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Mathspy/disunity 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dissimilar v1.0.3 [INFO] [stderr] Downloaded trybuild v1.0.54 [INFO] [stderr] Downloaded serde_derive v1.0.135 [INFO] [stderr] Downloaded serde v1.0.135 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06b5f093be13f756d4376018c20ae96eb48f8be5ad8ad71b5d571dce7fd1732d [INFO] running `Command { std: "docker" "start" "-a" "06b5f093be13f756d4376018c20ae96eb48f8be5ad8ad71b5d571dce7fd1732d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06b5f093be13f756d4376018c20ae96eb48f8be5ad8ad71b5d571dce7fd1732d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06b5f093be13f756d4376018c20ae96eb48f8be5ad8ad71b5d571dce7fd1732d", kill_on_drop: false }` [INFO] [stdout] 06b5f093be13f756d4376018c20ae96eb48f8be5ad8ad71b5d571dce7fd1732d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 725d40f07422ab1d0d4b4c116f3fae8eb1b527e315d2ac084b39aed8bac60974 [INFO] running `Command { std: "docker" "start" "-a" "725d40f07422ab1d0d4b4c116f3fae8eb1b527e315d2ac084b39aed8bac60974", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.135 [INFO] [stderr] Compiling serde v1.0.135 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling trybuild v1.0.54 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking dissimilar v1.0.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking quote v1.0.15 [INFO] [stderr] Checking disunity-derive v0.1.0 (/opt/rustwide/workdir/disunity-derive) [INFO] [stderr] Checking disunity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `target_ptr_width` [INFO] [stdout] --> src/main.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(target_ptr_width = "16")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_ptr_width, values("16"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_ptr_width, values(\"16\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(target_pointer_width = "16")] [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target_ptr_width` [INFO] [stdout] --> src/main.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(target_ptr_width = "16")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_ptr_width, values("16"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_ptr_width, values(\"16\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(target_pointer_width = "16")] [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `metadata`, and `file_size` are never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 26 | version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | metadata: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | file_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | Unknown(i32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TargetPlatform` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 | Unknown(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | Unknown(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AssetClass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 117 | Unknown(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `script_id` is never read [INFO] [stdout] --> src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 169 | MonoBehavior { [INFO] [stdout] | ------------ field in this variant [INFO] [stdout] 170 | script_id: [u8; 16], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetClass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class`, `stripped`, `script_type_index`, and `old_type_hash` are never read [INFO] [stdout] --> src/main.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 217 | struct AssetType { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 218 | class: AssetClass, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 219 | stripped: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 220 | script_type_index: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 221 | old_type_hash: [u8; 16], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path_id`, `offset`, `size`, and `ty` are never read [INFO] [stdout] --> src/main.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 271 | struct AssetEntry<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 272 | path_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 273 | offset: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 274 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 275 | ty: &'a AssetType, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `unknown_1` and `unknown_2` are never read [INFO] [stdout] --> src/main.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 323 | struct Unknown1 { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 324 | unknown_1: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 325 | unknown_2: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unknown1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `guid`, `ty`, and `path` are never read [INFO] [stdout] --> src/main.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 354 | struct External { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 355 | guid: u128, [INFO] [stdout] | ^^^^ [INFO] [stdout] 356 | ty: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 357 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `External` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `metadata`, and `file_size` are never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 26 | version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | metadata: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | file_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | Unknown(i32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TargetPlatform` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 | Unknown(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | Unknown(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AssetClass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 117 | Unknown(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `script_id` is never read [INFO] [stdout] --> src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 169 | MonoBehavior { [INFO] [stdout] | ------------ field in this variant [INFO] [stdout] 170 | script_id: [u8; 16], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetClass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class`, `stripped`, `script_type_index`, and `old_type_hash` are never read [INFO] [stdout] --> src/main.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 217 | struct AssetType { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 218 | class: AssetClass, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 219 | stripped: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 220 | script_type_index: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 221 | old_type_hash: [u8; 16], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path_id`, `offset`, `size`, and `ty` are never read [INFO] [stdout] --> src/main.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 271 | struct AssetEntry<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 272 | path_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 273 | offset: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 274 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 275 | ty: &'a AssetType, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `unknown_1` and `unknown_2` are never read [INFO] [stdout] --> src/main.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 323 | struct Unknown1 { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 324 | unknown_1: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 325 | unknown_2: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unknown1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `guid`, `ty`, and `path` are never read [INFO] [stdout] --> src/main.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 354 | struct External { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 355 | guid: u128, [INFO] [stdout] | ^^^^ [INFO] [stdout] 356 | ty: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 357 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `External` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.75s [INFO] running `Command { std: "docker" "inspect" "725d40f07422ab1d0d4b4c116f3fae8eb1b527e315d2ac084b39aed8bac60974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "725d40f07422ab1d0d4b4c116f3fae8eb1b527e315d2ac084b39aed8bac60974", kill_on_drop: false }` [INFO] [stdout] 725d40f07422ab1d0d4b4c116f3fae8eb1b527e315d2ac084b39aed8bac60974