[INFO] cloning repository https://github.com/tonytins/wasmsnake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tonytins/wasmsnake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonytins%2Fwasmsnake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonytins%2Fwasmsnake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b8295208a7168f22493338ea551c98faee6af6a [INFO] checking tonytins/wasmsnake against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonytins%2Fwasmsnake" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tonytins/wasmsnake on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tonytins/wasmsnake [INFO] finished tweaking git repo https://github.com/tonytins/wasmsnake [INFO] tweaked toml for git repo https://github.com/tonytins/wasmsnake written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/tonytins/wasmsnake already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stdweb v0.4.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7e8ef213cc43d52834e15baa45271e2ccad062c873aed3eef8430cd04036633 [INFO] running `Command { std: "docker" "start" "-a" "a7e8ef213cc43d52834e15baa45271e2ccad062c873aed3eef8430cd04036633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7e8ef213cc43d52834e15baa45271e2ccad062c873aed3eef8430cd04036633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7e8ef213cc43d52834e15baa45271e2ccad062c873aed3eef8430cd04036633", kill_on_drop: false }` [INFO] [stdout] a7e8ef213cc43d52834e15baa45271e2ccad062c873aed3eef8430cd04036633 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e99fb3b08246d162ae4c1fced1b109b569a1e102552be5a11423f43752cfaa64 [INFO] running `Command { std: "docker" "start" "-a" "e99fb3b08246d162ae4c1fced1b109b569a1e102552be5a11423f43752cfaa64", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] syn v1.0.5 (as host dependency): full [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.4 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling base-x v0.2.5 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Compiling stdweb v0.4.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.7 [INFO] [stderr] Compiling stdweb-derive v0.5.1 [INFO] [stderr] Checking wasmsnake v0.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `wasmsnake` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] * src/snake.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected expression, found `$` [INFO] [stderr] --> src/snake.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | $crate::initialize(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `$` [INFO] [stderr] --> src/snake.rs:28:33 [INFO] [stderr] | [INFO] [stderr] 28 | let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `$` [INFO] [stderr] --> src/snake.rs:64:17 [INFO] [stderr] | [INFO] [stderr] 64 | $crate::initialize(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `$` [INFO] [stderr] --> src/snake.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `$` [INFO] [stderr] --> src/snake.rs:105:17 [INFO] [stderr] | [INFO] [stderr] 105 | $crate::initialize(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `$` [INFO] [stderr] --> src/snake.rs:108:33 [INFO] [stderr] | [INFO] [stderr] 108 | let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `$` [INFO] [stderr] --> src/snake.rs:144:17 [INFO] [stderr] | [INFO] [stderr] 144 | $crate::initialize(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `$` [INFO] [stderr] --> src/snake.rs:147:33 [INFO] [stderr] | [INFO] [stderr] 147 | let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `$` [INFO] [stderr] --> src/snake.rs:233:17 [INFO] [stderr] | [INFO] [stderr] 233 | $crate::initialize(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `$` [INFO] [stderr] --> src/snake.rs:236:33 [INFO] [stderr] | [INFO] [stderr] 236 | let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `$` [INFO] [stderr] --> src/snake.rs:272:17 [INFO] [stderr] | [INFO] [stderr] 272 | $crate::initialize(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `$` [INFO] [stderr] --> src/snake.rs:275:33 [INFO] [stderr] | [INFO] [stderr] 275 | let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] extern crate stdweb; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/canvas.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | let canvas: CanvasElement = document() [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 18 | | .query_selector(attr_id) [INFO] [stdout] 19 | | .unwrap() [INFO] [stdout] 20 | | .unwrap() [INFO] [stdout] 21 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-prelude-collisions` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: disambiguate the associated function [INFO] [stdout] | [INFO] [stdout] 17 ~ let canvas: CanvasElement = TryInto::try_into(document() [INFO] [stdout] 18 + .query_selector(attr_id) [INFO] [stdout] 19 + .unwrap() [INFO] [stdout] 20 + .unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/snake.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | let head_x: u32 = js!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 24 | | return Math.floor(Math.random() * @{width}) [INFO] [stdout] 25 | | ) [INFO] [stdout] 26 | | .try_into() [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: disambiguate the associated function [INFO] [stdout] | [INFO] [stdout] 23 ~ let head_x: u32 = TryInto::try_into({ [INFO] [stdout] 24 + if cfg!( test ) { [INFO] [stdout] 25 + $crate::initialize(); [INFO] [stdout] 26 + } [INFO] [stdout] 27 + [INFO] [stdout] 28 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/snake.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | let head_y: u32 = js!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 30 | | return Math.floor(Math.random() * @{height}) [INFO] [stdout] 31 | | ) [INFO] [stdout] 32 | | .try_into() [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: disambiguate the associated function [INFO] [stdout] | [INFO] [stdout] 29 ~ let head_y: u32 = TryInto::try_into({ [INFO] [stdout] 30 + if cfg!( test ) { [INFO] [stdout] 31 + $crate::initialize(); [INFO] [stdout] 32 + } [INFO] [stdout] 33 + [INFO] [stdout] 34 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/snake.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | let food_x: u32 = js!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 38 | | return Math.floor(Math.random() * @{width}) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .try_into() [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: disambiguate the associated function [INFO] [stdout] | [INFO] [stdout] 37 ~ let food_x: u32 = TryInto::try_into({ [INFO] [stdout] 38 + if cfg!( test ) { [INFO] [stdout] 39 + $crate::initialize(); [INFO] [stdout] 40 + } [INFO] [stdout] 41 + [INFO] [stdout] 42 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/snake.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | let food_y: u32 = js!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 44 | | return Math.floor(Math.random() * @{height}) [INFO] [stdout] 45 | | ) [INFO] [stdout] 46 | | .try_into() [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: disambiguate the associated function [INFO] [stdout] | [INFO] [stdout] 43 ~ let food_y: u32 = TryInto::try_into({ [INFO] [stdout] 44 + if cfg!( test ) { [INFO] [stdout] 45 + $crate::initialize(); [INFO] [stdout] 46 + } [INFO] [stdout] 47 + [INFO] [stdout] 48 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/snake.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | let food_x: u32 = js!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 100 | | return Math.floor(Math.random() * @{self.width}) [INFO] [stdout] 101 | | ) [INFO] [stdout] 102 | | .try_into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: disambiguate the associated function [INFO] [stdout] | [INFO] [stdout] 99 ~ let food_x: u32 = TryInto::try_into({ [INFO] [stdout] 100 + if cfg!( test ) { [INFO] [stdout] 101 + $crate::initialize(); [INFO] [stdout] 102 + } [INFO] [stdout] 103 + [INFO] [stdout] 104 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/snake.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | let food_y: u32 = js!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 106 | | return Math.floor(Math.random() * @{self.height}) [INFO] [stdout] 107 | | ) [INFO] [stdout] 108 | | .try_into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: disambiguate the associated function [INFO] [stdout] | [INFO] [stdout] 105 ~ let food_y: u32 = TryInto::try_into({ [INFO] [stdout] 106 + if cfg!( test ) { [INFO] [stdout] 107 + $crate::initialize(); [INFO] [stdout] 108 + } [INFO] [stdout] 109 + [INFO] [stdout] 110 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/canvas.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | let canvas: CanvasElement = document() [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 18 | | .query_selector(attr_id) [INFO] [stdout] 19 | | .unwrap() [INFO] [stdout] 20 | | .unwrap() [INFO] [stdout] 21 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-prelude-collisions` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: disambiguate the associated function [INFO] [stdout] | [INFO] [stdout] 17 ~ let canvas: CanvasElement = TryInto::try_into(document() [INFO] [stdout] 18 + .query_selector(attr_id) [INFO] [stdout] 19 + .unwrap() [INFO] [stdout] 20 + .unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/snake.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | let head_x: u32 = js!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 24 | | return Math.floor(Math.random() * @{width}) [INFO] [stdout] 25 | | ) [INFO] [stdout] 26 | | .try_into() [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: disambiguate the associated function [INFO] [stdout] | [INFO] [stdout] 23 ~ let head_x: u32 = TryInto::try_into({ [INFO] [stdout] 24 + if cfg!( test ) { [INFO] [stdout] 25 + $crate::initialize(); [INFO] [stdout] 26 + } [INFO] [stdout] 27 + [INFO] [stdout] 28 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/snake.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | let head_y: u32 = js!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 30 | | return Math.floor(Math.random() * @{height}) [INFO] [stdout] 31 | | ) [INFO] [stdout] 32 | | .try_into() [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: disambiguate the associated function [INFO] [stdout] | [INFO] [stdout] 29 ~ let head_y: u32 = TryInto::try_into({ [INFO] [stdout] 30 + if cfg!( test ) { [INFO] [stdout] 31 + $crate::initialize(); [INFO] [stdout] 32 + } [INFO] [stdout] 33 + [INFO] [stdout] 34 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/snake.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | let food_x: u32 = js!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 38 | | return Math.floor(Math.random() * @{width}) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .try_into() [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: disambiguate the associated function [INFO] [stdout] | [INFO] [stdout] 37 ~ let food_x: u32 = TryInto::try_into({ [INFO] [stdout] 38 + if cfg!( test ) { [INFO] [stdout] 39 + $crate::initialize(); [INFO] [stdout] 40 + } [INFO] [stdout] 41 + [INFO] [stdout] 42 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/snake.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | let food_y: u32 = js!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 44 | | return Math.floor(Math.random() * @{height}) [INFO] [stdout] 45 | | ) [INFO] [stdout] 46 | | .try_into() [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: disambiguate the associated function [INFO] [stdout] | [INFO] [stdout] 43 ~ let food_y: u32 = TryInto::try_into({ [INFO] [stdout] 44 + if cfg!( test ) { [INFO] [stdout] 45 + $crate::initialize(); [INFO] [stdout] 46 + } [INFO] [stdout] 47 + [INFO] [stdout] 48 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/snake.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | let food_x: u32 = js!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 100 | | return Math.floor(Math.random() * @{self.width}) [INFO] [stdout] 101 | | ) [INFO] [stdout] 102 | | .try_into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: disambiguate the associated function [INFO] [stdout] | [INFO] [stdout] 99 ~ let food_x: u32 = TryInto::try_into({ [INFO] [stdout] 100 + if cfg!( test ) { [INFO] [stdout] 101 + $crate::initialize(); [INFO] [stdout] 102 + } [INFO] [stdout] 103 + [INFO] [stdout] 104 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/snake.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | let food_y: u32 = js!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 106 | | return Math.floor(Math.random() * @{self.height}) [INFO] [stdout] 107 | | ) [INFO] [stdout] 108 | | .try_into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: disambiguate the associated function [INFO] [stdout] | [INFO] [stdout] 105 ~ let food_y: u32 = TryInto::try_into({ [INFO] [stdout] 106 + if cfg!( test ) { [INFO] [stdout] 107 + $crate::initialize(); [INFO] [stdout] 108 + } [INFO] [stdout] 109 + [INFO] [stdout] 110 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.86s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.7 [INFO] [stderr] Compiling stdweb-derive v0.5.1 [INFO] [stderr] Checking stdweb v0.4.18 [INFO] [stderr] Checking wasmsnake v0.1.1 (/tmp/fixit) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/canvas.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | .try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `stdweb::unstable::TryInto` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 17 ~ let canvas: CanvasElement = std::convert::TryInto::try_into(document() [INFO] [stdout] 18 + .query_selector(attr_id) [INFO] [stdout] 19 + .unwrap() [INFO] [stdout] 20 + .unwrap()) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 17 ~ let canvas: CanvasElement = stdweb::unstable::TryInto::try_into(document() [INFO] [stdout] 18 + .query_selector(attr_id) [INFO] [stdout] 19 + .unwrap() [INFO] [stdout] 20 + .unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/canvas.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | .try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `stdweb::unstable::TryInto` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 17 ~ let canvas: CanvasElement = std::convert::TryInto::try_into(document() [INFO] [stdout] 18 + .query_selector(attr_id) [INFO] [stdout] 19 + .unwrap() [INFO] [stdout] 20 + .unwrap()) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 17 ~ let canvas: CanvasElement = stdweb::unstable::TryInto::try_into(document() [INFO] [stdout] 18 + .query_selector(attr_id) [INFO] [stdout] 19 + .unwrap() [INFO] [stdout] 20 + .unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/snake.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | .try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `stdweb::unstable::TryInto` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 23 ~ let head_x: u32 = std::convert::TryInto::try_into({ [INFO] [stdout] 24 + if cfg!( test ) { [INFO] [stdout] 25 + $crate::initialize(); [INFO] [stdout] 26 + } [INFO] [stdout] 27 + [INFO] [stdout] 28 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 23 ~ let head_x: u32 = stdweb::unstable::TryInto::try_into({ [INFO] [stdout] 24 + if cfg!( test ) { [INFO] [stdout] 25 + $crate::initialize(); [INFO] [stdout] 26 + } [INFO] [stdout] 27 + [INFO] [stdout] 28 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/snake.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | .try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `stdweb::unstable::TryInto` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 23 ~ let head_x: u32 = std::convert::TryInto::try_into({ [INFO] [stdout] 24 + if cfg!( test ) { [INFO] [stdout] 25 + $crate::initialize(); [INFO] [stdout] 26 + } [INFO] [stdout] 27 + [INFO] [stdout] 28 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 23 ~ let head_x: u32 = stdweb::unstable::TryInto::try_into({ [INFO] [stdout] 24 + if cfg!( test ) { [INFO] [stdout] 25 + $crate::initialize(); [INFO] [stdout] 26 + } [INFO] [stdout] 27 + [INFO] [stdout] 28 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/snake.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | .try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `stdweb::unstable::TryInto` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 29 ~ let head_y: u32 = std::convert::TryInto::try_into({ [INFO] [stdout] 30 + if cfg!( test ) { [INFO] [stdout] 31 + $crate::initialize(); [INFO] [stdout] 32 + } [INFO] [stdout] 33 + [INFO] [stdout] 34 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 29 ~ let head_y: u32 = stdweb::unstable::TryInto::try_into({ [INFO] [stdout] 30 + if cfg!( test ) { [INFO] [stdout] 31 + $crate::initialize(); [INFO] [stdout] 32 + } [INFO] [stdout] 33 + [INFO] [stdout] 34 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/snake.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | .try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `stdweb::unstable::TryInto` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 29 ~ let head_y: u32 = std::convert::TryInto::try_into({ [INFO] [stdout] 30 + if cfg!( test ) { [INFO] [stdout] 31 + $crate::initialize(); [INFO] [stdout] 32 + } [INFO] [stdout] 33 + [INFO] [stdout] 34 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 29 ~ let head_y: u32 = stdweb::unstable::TryInto::try_into({ [INFO] [stdout] 30 + if cfg!( test ) { [INFO] [stdout] 31 + $crate::initialize(); [INFO] [stdout] 32 + } [INFO] [stdout] 33 + [INFO] [stdout] 34 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/snake.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | .try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `stdweb::unstable::TryInto` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 37 ~ let food_x: u32 = std::convert::TryInto::try_into({ [INFO] [stdout] 38 + if cfg!( test ) { [INFO] [stdout] 39 + $crate::initialize(); [INFO] [stdout] 40 + } [INFO] [stdout] 41 + [INFO] [stdout] 42 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 37 ~ let food_x: u32 = stdweb::unstable::TryInto::try_into({ [INFO] [stdout] 38 + if cfg!( test ) { [INFO] [stdout] 39 + $crate::initialize(); [INFO] [stdout] 40 + } [INFO] [stdout] 41 + [INFO] [stdout] 42 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/snake.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | .try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `stdweb::unstable::TryInto` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 37 ~ let food_x: u32 = std::convert::TryInto::try_into({ [INFO] [stdout] 38 + if cfg!( test ) { [INFO] [stdout] 39 + $crate::initialize(); [INFO] [stdout] 40 + } [INFO] [stdout] 41 + [INFO] [stdout] 42 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 37 ~ let food_x: u32 = stdweb::unstable::TryInto::try_into({ [INFO] [stdout] 38 + if cfg!( test ) { [INFO] [stdout] 39 + $crate::initialize(); [INFO] [stdout] 40 + } [INFO] [stdout] 41 + [INFO] [stdout] 42 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/snake.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | .try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `stdweb::unstable::TryInto` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 43 ~ let food_y: u32 = std::convert::TryInto::try_into({ [INFO] [stdout] 44 + if cfg!( test ) { [INFO] [stdout] 45 + $crate::initialize(); [INFO] [stdout] 46 + } [INFO] [stdout] 47 + [INFO] [stdout] 48 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 43 ~ let food_y: u32 = stdweb::unstable::TryInto::try_into({ [INFO] [stdout] 44 + if cfg!( test ) { [INFO] [stdout] 45 + $crate::initialize(); [INFO] [stdout] 46 + } [INFO] [stdout] 47 + [INFO] [stdout] 48 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/snake.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | .try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `stdweb::unstable::TryInto` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 43 ~ let food_y: u32 = std::convert::TryInto::try_into({ [INFO] [stdout] 44 + if cfg!( test ) { [INFO] [stdout] 45 + $crate::initialize(); [INFO] [stdout] 46 + } [INFO] [stdout] 47 + [INFO] [stdout] 48 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 43 ~ let food_y: u32 = stdweb::unstable::TryInto::try_into({ [INFO] [stdout] 44 + if cfg!( test ) { [INFO] [stdout] 45 + $crate::initialize(); [INFO] [stdout] 46 + } [INFO] [stdout] 47 + [INFO] [stdout] 48 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/snake.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | .try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `stdweb::unstable::TryInto` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 99 ~ let food_x: u32 = std::convert::TryInto::try_into({ [INFO] [stdout] 100 + if cfg!( test ) { [INFO] [stdout] 101 + $crate::initialize(); [INFO] [stdout] 102 + } [INFO] [stdout] 103 + [INFO] [stdout] 104 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 99 ~ let food_x: u32 = stdweb::unstable::TryInto::try_into({ [INFO] [stdout] 100 + if cfg!( test ) { [INFO] [stdout] 101 + $crate::initialize(); [INFO] [stdout] 102 + } [INFO] [stdout] 103 + [INFO] [stdout] 104 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/snake.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | .try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `stdweb::unstable::TryInto` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 105 ~ let food_y: u32 = std::convert::TryInto::try_into({ [INFO] [stdout] 106 + if cfg!( test ) { [INFO] [stdout] 107 + $crate::initialize(); [INFO] [stdout] 108 + } [INFO] [stdout] 109 + [INFO] [stdout] 110 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 105 ~ let food_y: u32 = stdweb::unstable::TryInto::try_into({ [INFO] [stdout] 106 + if cfg!( test ) { [INFO] [stdout] 107 + $crate::initialize(); [INFO] [stdout] 108 + } [INFO] [stdout] 109 + [INFO] [stdout] 110 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdweb::unstable::TryInto` [INFO] [stdout] --> src/canvas.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stdweb::unstable::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdweb::unstable::TryInto` [INFO] [stdout] --> src/snake.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use stdweb::unstable::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/snake.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | .try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `stdweb::unstable::TryInto` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 99 ~ let food_x: u32 = std::convert::TryInto::try_into({ [INFO] [stdout] 100 + if cfg!( test ) { [INFO] [stdout] 101 + $crate::initialize(); [INFO] [stdout] 102 + } [INFO] [stdout] 103 + [INFO] [stdout] 104 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 99 ~ let food_x: u32 = stdweb::unstable::TryInto::try_into({ [INFO] [stdout] 100 + if cfg!( test ) { [INFO] [stdout] 101 + $crate::initialize(); [INFO] [stdout] 102 + } [INFO] [stdout] 103 + [INFO] [stdout] 104 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/snake.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | .try_into() [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `stdweb::unstable::TryInto` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 105 ~ let food_y: u32 = std::convert::TryInto::try_into({ [INFO] [stdout] 106 + if cfg!( test ) { [INFO] [stdout] 107 + $crate::initialize(); [INFO] [stdout] 108 + } [INFO] [stdout] 109 + [INFO] [stdout] 110 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 105 ~ let food_y: u32 = stdweb::unstable::TryInto::try_into({ [INFO] [stdout] 106 + if cfg!( test ) { [INFO] [stdout] 107 + $crate::initialize(); [INFO] [stdout] 108 + } [INFO] [stdout] 109 + [INFO] [stdout] 110 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdweb::unstable::TryInto` [INFO] [stdout] --> src/canvas.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use stdweb::unstable::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmsnake` due to 8 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `stdweb::unstable::TryInto` [INFO] [stdout] --> src/snake.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use stdweb::unstable::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e99fb3b08246d162ae4c1fced1b109b569a1e102552be5a11423f43752cfaa64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e99fb3b08246d162ae4c1fced1b109b569a1e102552be5a11423f43752cfaa64", kill_on_drop: false }` [INFO] [stdout] e99fb3b08246d162ae4c1fced1b109b569a1e102552be5a11423f43752cfaa64