[INFO] cloning repository https://github.com/OlivierLemoine/wasm_rust_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OlivierLemoine/wasm_rust_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivierLemoine%2Fwasm_rust_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivierLemoine%2Fwasm_rust_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b710a10678b44d46535cba0391d5ad6ce198cf7 [INFO] checking OlivierLemoine/wasm_rust_game/5b710a10678b44d46535cba0391d5ad6ce198cf7 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivierLemoine%2Fwasm_rust_game" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OlivierLemoine/wasm_rust_game on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/OlivierLemoine/wasm_rust_game [INFO] finished tweaking git repo https://github.com/OlivierLemoine/wasm_rust_game [INFO] tweaked toml for git repo https://github.com/OlivierLemoine/wasm_rust_game written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/OlivierLemoine/wasm_rust_game 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e00b80a4b2e606fc1c2b4d2a592895de3e298cb5071c132aadf6e13a49182fce [INFO] running `Command { std: "docker" "start" "-a" "e00b80a4b2e606fc1c2b4d2a592895de3e298cb5071c132aadf6e13a49182fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e00b80a4b2e606fc1c2b4d2a592895de3e298cb5071c132aadf6e13a49182fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e00b80a4b2e606fc1c2b4d2a592895de3e298cb5071c132aadf6e13a49182fce", kill_on_drop: false }` [INFO] [stdout] e00b80a4b2e606fc1c2b4d2a592895de3e298cb5071c132aadf6e13a49182fce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail_expr_drop_order" "-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7969241166ef4c2d275ddef8e191e02d293887c761d79bf75dcf7d958bcd2d55 [INFO] running `Command { std: "docker" "start" "-a" "7969241166ef4c2d275ddef8e191e02d293887c761d79bf75dcf7d958bcd2d55", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.54 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bumpalo v2.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.54 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.19 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling proc-macro-hack v0.4.2 [INFO] [stderr] Checking rayon v1.2.0 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling mashup-impl v0.1.9 [INFO] [stderr] Checking tuple_utils v0.3.0 [INFO] [stderr] Checking shrev v1.1.1 [INFO] [stderr] Checking math v0.1.0 (/opt/rustwide/workdir/math) [INFO] [stderr] Checking mashup v0.1.9 [INFO] [stderr] Checking hibitset v0.6.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.54 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling const-random-macro v0.1.6 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.54 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.54 [INFO] [stderr] Checking const-random v0.1.6 [INFO] [stderr] Checking ahash v0.2.17 [INFO] [stderr] Checking shred v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.54 [INFO] [stderr] Checking specs v0.15.1 [INFO] [stderr] Compiling web-sys v0.3.31 [INFO] [stderr] Checking log v0.1.0 (/opt/rustwide/workdir/log) [INFO] [stderr] Checking js-sys v0.3.31 [INFO] [stderr] Checking engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stderr] Checking wasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/draw.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | static ref CTX: Context = { Context::from_id("game").unwrap() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 14 - static ref CTX: Context = { Context::from_id("game").unwrap() }; [INFO] [stdout] 14 + static ref CTX: Context = Context::from_id("game").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/draw.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | static ref CTX: Context = { Context::from_id("game").unwrap() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 14 - static ref CTX: Context = { Context::from_id("game").unwrap() }; [INFO] [stdout] 14 + static ref CTX: Context = Context::from_id("game").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/draw.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 124 | let document = web_sys::window().unwrap().document().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | let canvas = document.get_element_by_id(id).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let canvas: web_sys::HtmlCanvasElement = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let ctx = canvas [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | Ok(Context { ctx }) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/draw.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 124 | let document = web_sys::window().unwrap().document().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | let canvas = document.get_element_by_id(id).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let canvas: web_sys::HtmlCanvasElement = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let ctx = canvas [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | Ok(Context { ctx }) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wasm` (lib test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7969241166ef4c2d275ddef8e191e02d293887c761d79bf75dcf7d958bcd2d55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7969241166ef4c2d275ddef8e191e02d293887c761d79bf75dcf7d958bcd2d55", kill_on_drop: false }` [INFO] [stdout] 7969241166ef4c2d275ddef8e191e02d293887c761d79bf75dcf7d958bcd2d55