[INFO] cloning repository https://github.com/2xsaiko/assetc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2xsaiko/assetc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2xsaiko%2Fassetc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2xsaiko%2Fassetc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3809cd6934e9b7fb8913403b0eec857763458d2e [INFO] checking 2xsaiko/assetc against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2xsaiko%2Fassetc" "/workspace/builds/worker-54/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-54/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/2xsaiko/assetc on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/2xsaiko/assetc [INFO] finished tweaking git repo https://github.com/2xsaiko/assetc [INFO] tweaked toml for git repo https://github.com/2xsaiko/assetc written to /workspace/builds/worker-54/source/Cargo.toml [INFO] crate git repo https://github.com/2xsaiko/assetc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytemuck v1.4.0 [INFO] [stderr] Downloaded serde_yaml v0.8.13 [INFO] [stderr] Downloaded image v0.23.9 [INFO] [stderr] Downloaded os_str_bytes v2.3.2 [INFO] [stderr] Downloaded yaml-rust v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6d4fd1ae11b10136f784287d9ffecb26064145ebfe467a3bc440bac364bd46d [INFO] running `Command { std: "docker" "start" "-a" "a6d4fd1ae11b10136f784287d9ffecb26064145ebfe467a3bc440bac364bd46d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6d4fd1ae11b10136f784287d9ffecb26064145ebfe467a3bc440bac364bd46d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6d4fd1ae11b10136f784287d9ffecb26064145ebfe467a3bc440bac364bd46d", kill_on_drop: false }` [INFO] [stdout] a6d4fd1ae11b10136f784287d9ffecb26064145ebfe467a3bc440bac364bd46d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ac92750174b0a6fe94993b2c8aaf5bc3435ba28038c65436206f00ff17a7198 [INFO] running `Command { std: "docker" "start" "-a" "0ac92750174b0a6fe94993b2c8aaf5bc3435ba28038c65436206f00ff17a7198", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking os_str_bytes v2.3.2 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking bytemuck v1.4.0 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking image v0.23.9 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Checking clap v3.0.0-beta.1 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Checking layergen v0.1.0 (/opt/rustwide/workdir/layergen) [INFO] [stderr] Checking modelc v0.1.0 (/opt/rustwide/workdir/modelc) [INFO] [stdout] warning: unused variable: `identifiers` [INFO] [stdout] --> modelc/src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let identifiers = matches.is_present("identifiers"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifiers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> modelc/src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let debug = matches.occurrences_of("debug"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> modelc/src/main.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | AnyModel::BlockState(state) => unimplemented!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> modelc/src/main.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 110 | AnyModel::BlockState(state) => unimplemented!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> modelc/src/model/mod.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_blockstate(state: &BlockStateDef) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifiers` [INFO] [stdout] --> modelc/src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let identifiers = matches.is_present("identifiers"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifiers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> modelc/src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let debug = matches.occurrences_of("debug"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> modelc/src/main.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | AnyModel::BlockState(state) => unimplemented!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> modelc/src/main.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 110 | AnyModel::BlockState(state) => unimplemented!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> modelc/src/model/mod.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_blockstate(state: &BlockStateDef) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `negative_axis` [INFO] [stdout] --> modelc/src/types.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub const fn negative_axis(self) -> bool { self.index() % 2 == 0 } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ambientocclusion` [INFO] [stdout] --> modelc/src/vanilla/model.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn ambientocclusion(&self) -> bool { self.ambientocclusion.unwrap_or(true) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `when` [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | when: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `apply` [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | apply: AppliedModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | inner: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `model` [INFO] [stdout] --> modelc/src/vanilla/blockstate/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | model: Identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> modelc/src/vanilla/blockstate/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> modelc/src/vanilla/blockstate/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `uvlock` [INFO] [stdout] --> modelc/src/vanilla/blockstate/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | uvlock: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_vec2` [INFO] [stdout] --> modelc/src/writer/mod.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn write_vec2(mut target: T, vec: Vec2) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `negative_axis` [INFO] [stdout] --> modelc/src/types.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub const fn negative_axis(self) -> bool { self.index() % 2 == 0 } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ambientocclusion` [INFO] [stdout] --> modelc/src/vanilla/model.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn ambientocclusion(&self) -> bool { self.ambientocclusion.unwrap_or(true) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `when` [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | when: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `apply` [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | apply: AppliedModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> modelc/src/vanilla/blockstate/multipart.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | inner: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `model` [INFO] [stdout] --> modelc/src/vanilla/blockstate/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | model: Identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> modelc/src/vanilla/blockstate/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> modelc/src/vanilla/blockstate/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `uvlock` [INFO] [stdout] --> modelc/src/vanilla/blockstate/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | uvlock: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_vec2` [INFO] [stdout] --> modelc/src/writer/mod.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn write_vec2(mut target: T, vec: Vec2) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.03s [INFO] running `Command { std: "docker" "inspect" "0ac92750174b0a6fe94993b2c8aaf5bc3435ba28038c65436206f00ff17a7198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ac92750174b0a6fe94993b2c8aaf5bc3435ba28038c65436206f00ff17a7198", kill_on_drop: false }` [INFO] [stdout] 0ac92750174b0a6fe94993b2c8aaf5bc3435ba28038c65436206f00ff17a7198