[INFO] cloning repository https://github.com/LBBO/wasm-snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LBBO/wasm-snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLBBO%2Fwasm-snake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLBBO%2Fwasm-snake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e263895ab01ab4efa1521a925a4761e193d1e9ac [INFO] checking LBBO/wasm-snake against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLBBO%2Fwasm-snake" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LBBO/wasm-snake on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LBBO/wasm-snake [INFO] finished tweaking git repo https://github.com/LBBO/wasm-snake [INFO] tweaked toml for git repo https://github.com/LBBO/wasm-snake written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LBBO/wasm-snake 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67fb55fb513557ed20557602132f2fd75c20b6ce6e7e0dc58b2823e6e52c063b [INFO] running `Command { std: "docker" "start" "-a" "67fb55fb513557ed20557602132f2fd75c20b6ce6e7e0dc58b2823e6e52c063b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67fb55fb513557ed20557602132f2fd75c20b6ce6e7e0dc58b2823e6e52c063b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67fb55fb513557ed20557602132f2fd75c20b6ce6e7e0dc58b2823e6e52c063b", kill_on_drop: false }` [INFO] [stdout] 67fb55fb513557ed20557602132f2fd75c20b6ce6e7e0dc58b2823e6e52c063b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edbf0d14dfb918c461b6ac10a5f78f1e8280760ab5463e0b55aacad5df21942d [INFO] running `Command { std: "docker" "start" "-a" "edbf0d14dfb918c461b6ac10a5f78f1e8280760ab5463e0b55aacad5df21942d", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.73 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.73 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Checking tuple-conv v1.0.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.73 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.73 [INFO] [stderr] Checking js-sys v0.3.50 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking web-sys v0.3.50 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.27 [INFO] [stderr] Checking wasm-bindgen-test v0.2.50 [INFO] [stderr] Checking console_log v0.2.0 [INFO] [stderr] Checking wasm-snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/snake_game.rs:265:33 [INFO] [stdout] | [INFO] [stdout] 265 | self.ctx.set_line_width(BORDER_WIDTH.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/snake_game.rs:146:39 [INFO] [stdout] | [INFO] [stdout] 146 | self.cherry_position.to_vec().as_ptr() [INFO] [stdout] | ----------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-snake` (lib test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/snake_game.rs:265:33 [INFO] [stdout] | [INFO] [stdout] 265 | self.ctx.set_line_width(BORDER_WIDTH.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/snake_game.rs:146:39 [INFO] [stdout] | [INFO] [stdout] 146 | self.cherry_position.to_vec().as_ptr() [INFO] [stdout] | ----------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-snake` (lib) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "edbf0d14dfb918c461b6ac10a5f78f1e8280760ab5463e0b55aacad5df21942d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edbf0d14dfb918c461b6ac10a5f78f1e8280760ab5463e0b55aacad5df21942d", kill_on_drop: false }` [INFO] [stdout] edbf0d14dfb918c461b6ac10a5f78f1e8280760ab5463e0b55aacad5df21942d