[INFO] cloning repository https://github.com/DelphinusLab/towerdefence-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DelphinusLab/towerdefence-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDelphinusLab%2Ftowerdefence-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDelphinusLab%2Ftowerdefence-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d665838130da12e7c2d5a93a86a6d0e6ffd7d594 [INFO] checking DelphinusLab/towerdefence-demo against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDelphinusLab%2Ftowerdefence-demo" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DelphinusLab/towerdefence-demo on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DelphinusLab/towerdefence-demo [INFO] finished tweaking git repo https://github.com/DelphinusLab/towerdefence-demo [INFO] tweaked toml for git repo https://github.com/DelphinusLab/towerdefence-demo written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DelphinusLab/towerdefence-demo 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/DelphinusLab/zkWasm-rust.git` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05877b7727cec109a04f78a12af3e01fe898439d7a87bd03b06739cfb6b947d2 [INFO] running `Command { std: "docker" "start" "-a" "05877b7727cec109a04f78a12af3e01fe898439d7a87bd03b06739cfb6b947d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05877b7727cec109a04f78a12af3e01fe898439d7a87bd03b06739cfb6b947d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05877b7727cec109a04f78a12af3e01fe898439d7a87bd03b06739cfb6b947d2", kill_on_drop: false }` [INFO] [stdout] 05877b7727cec109a04f78a12af3e01fe898439d7a87bd03b06739cfb6b947d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ddbf09b09106fd43e92d0a3c0a3a1111d545d21afe9eb9410973314a65a3f08 [INFO] running `Command { std: "docker" "start" "-a" "4ddbf09b09106fd43e92d0a3c0a3a1111d545d21afe9eb9410973314a65a3f08", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.109 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.91 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.91 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.91 [INFO] [stderr] Checking wasm-bindgen v0.2.91 [INFO] [stderr] Checking zkwasm-rust-sdk v0.1.0 (https://github.com/DelphinusLab/zkWasm-rust.git?branch=main#2356d47b) [INFO] [stderr] Checking tdgame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Digest`, `Sha256` [INFO] [stdout] --> src/game.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Digest`, `Sha256` [INFO] [stdout] --> src/game.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/game/state.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let global = unsafe {&mut GLOBAL}; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 66 | let global = unsafe {addr_of_mut!(GLOBAL)}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/game/state.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | let global = unsafe {&mut GLOBAL}; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 136 | let global = unsafe {addr_of_mut!(GLOBAL)}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/game/state.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | let global = unsafe {&mut GLOBAL}; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 144 | let global = unsafe {addr_of_mut!(GLOBAL)}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/game.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let global = unsafe {&GLOBAL}; [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 63 | let global = unsafe {addr_of!(GLOBAL)}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/game/state.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let global = unsafe {&mut GLOBAL}; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 66 | let global = unsafe {addr_of_mut!(GLOBAL)}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/game/state.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | let global = unsafe {&mut GLOBAL}; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 136 | let global = unsafe {addr_of_mut!(GLOBAL)}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/game/state.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | let global = unsafe {&mut GLOBAL}; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 144 | let global = unsafe {addr_of_mut!(GLOBAL)}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/game.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let global = unsafe {&GLOBAL}; [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 63 | let global = unsafe {addr_of!(GLOBAL)}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monster` [INFO] [stdout] --> src/game/state.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let monster = Monster::new(10, 5, 1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monster` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawner` [INFO] [stdout] --> src/game/state.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let spawner = Spawner::new(4, 4); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spawner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `account` [INFO] [stdout] --> src/game.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn load(account: u64, r0: u64, r1:u64, r2:u64, r3:u64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/game.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn init(seed: u64) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monster` [INFO] [stdout] --> src/game/state.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let monster = Monster::new(10, 5, 1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monster` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawner` [INFO] [stdout] --> src/game/state.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let spawner = Spawner::new(4, 4); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spawner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `account` [INFO] [stdout] --> src/game.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn load(account: u64, r0: u64, r1:u64, r2:u64, r3:u64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/game.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn init(seed: u64) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_SPAWN` is never used [INFO] [stdout] --> src/game.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const CMD_SPAWN: u8 = 2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/render.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_SPAWN` is never used [INFO] [stdout] --> src/game.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const CMD_SPAWN: u8 = 2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/render.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.06s [INFO] running `Command { std: "docker" "inspect" "4ddbf09b09106fd43e92d0a3c0a3a1111d545d21afe9eb9410973314a65a3f08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ddbf09b09106fd43e92d0a3c0a3a1111d545d21afe9eb9410973314a65a3f08", kill_on_drop: false }` [INFO] [stdout] 4ddbf09b09106fd43e92d0a3c0a3a1111d545d21afe9eb9410973314a65a3f08 [INFO] checking DelphinusLab/towerdefence-demo against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDelphinusLab%2Ftowerdefence-demo" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DelphinusLab/towerdefence-demo on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DelphinusLab/towerdefence-demo [INFO] finished tweaking git repo https://github.com/DelphinusLab/towerdefence-demo [INFO] tweaked toml for git repo https://github.com/DelphinusLab/towerdefence-demo written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DelphinusLab/towerdefence-demo 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91cc47d0634381c63c71684b929c6fed9066aac7cea01d1f1cfa68fe4d7037dc [INFO] running `Command { std: "docker" "start" "-a" "91cc47d0634381c63c71684b929c6fed9066aac7cea01d1f1cfa68fe4d7037dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91cc47d0634381c63c71684b929c6fed9066aac7cea01d1f1cfa68fe4d7037dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91cc47d0634381c63c71684b929c6fed9066aac7cea01d1f1cfa68fe4d7037dc", kill_on_drop: false }` [INFO] [stdout] 91cc47d0634381c63c71684b929c6fed9066aac7cea01d1f1cfa68fe4d7037dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6835aba72d45d5fea6a16e663fa3cf412d72dfd8e702fb39d7bd71f621437347 [INFO] running `Command { std: "docker" "start" "-a" "6835aba72d45d5fea6a16e663fa3cf412d72dfd8e702fb39d7bd71f621437347", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.109 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.91 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.91 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.91 [INFO] [stderr] Checking wasm-bindgen v0.2.91 [INFO] [stderr] Checking zkwasm-rust-sdk v0.1.0 (https://github.com/DelphinusLab/zkWasm-rust.git?branch=main#2356d47b) [INFO] [stderr] Checking tdgame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Digest`, `Sha256` [INFO] [stdout] --> src/game.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Digest`, `Sha256` [INFO] [stdout] --> src/game.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/game/state.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let global = unsafe {&mut GLOBAL}; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 66 | let global = unsafe {addr_of_mut!(GLOBAL)}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/game/state.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | let global = unsafe {&mut GLOBAL}; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 136 | let global = unsafe {addr_of_mut!(GLOBAL)}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/game/state.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | let global = unsafe {&mut GLOBAL}; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 144 | let global = unsafe {addr_of_mut!(GLOBAL)}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/game/state.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let global = unsafe {&mut GLOBAL}; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 66 | let global = unsafe {addr_of_mut!(GLOBAL)}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/game/state.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | let global = unsafe {&mut GLOBAL}; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 136 | let global = unsafe {addr_of_mut!(GLOBAL)}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/game.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let global = unsafe {&GLOBAL}; [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 63 | let global = unsafe {addr_of!(GLOBAL)}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/game/state.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | let global = unsafe {&mut GLOBAL}; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 144 | let global = unsafe {addr_of_mut!(GLOBAL)}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/game.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let global = unsafe {&GLOBAL}; [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 63 | let global = unsafe {addr_of!(GLOBAL)}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monster` [INFO] [stdout] --> src/game/state.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let monster = Monster::new(10, 5, 1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monster` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawner` [INFO] [stdout] --> src/game/state.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let spawner = Spawner::new(4, 4); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spawner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `account` [INFO] [stdout] --> src/game.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn load(account: u64, r0: u64, r1:u64, r2:u64, r3:u64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/game.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn init(seed: u64) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monster` [INFO] [stdout] --> src/game/state.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let monster = Monster::new(10, 5, 1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monster` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawner` [INFO] [stdout] --> src/game/state.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let spawner = Spawner::new(4, 4); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spawner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `account` [INFO] [stdout] --> src/game.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn load(account: u64, r0: u64, r1:u64, r2:u64, r3:u64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/game.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn init(seed: u64) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_SPAWN` is never used [INFO] [stdout] --> src/game.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const CMD_SPAWN: u8 = 2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/render.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_SPAWN` is never used [INFO] [stdout] --> src/game.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const CMD_SPAWN: u8 = 2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/render.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.75s [INFO] running `Command { std: "docker" "inspect" "6835aba72d45d5fea6a16e663fa3cf412d72dfd8e702fb39d7bd71f621437347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6835aba72d45d5fea6a16e663fa3cf412d72dfd8e702fb39d7bd71f621437347", kill_on_drop: false }` [INFO] [stdout] 6835aba72d45d5fea6a16e663fa3cf412d72dfd8e702fb39d7bd71f621437347