[INFO] cloning repository https://github.com/zynaxsoft/rust-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/zynaxsoft/rust-wasm-snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzynaxsoft%2Frust-wasm-snake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzynaxsoft%2Frust-wasm-snake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 784dd350c22835b46df1b117340ce6c3f92ea8fc [INFO] checking zynaxsoft/rust-wasm-snake against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzynaxsoft%2Frust-wasm-snake" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zynaxsoft/rust-wasm-snake 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/zynaxsoft/rust-wasm-snake [INFO] finished tweaking git repo https://github.com/zynaxsoft/rust-wasm-snake [INFO] tweaked toml for git repo https://github.com/zynaxsoft/rust-wasm-snake written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/zynaxsoft/rust-wasm-snake 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.63 [INFO] [stderr] Downloaded base-x v0.2.6 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.63 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.63 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.63 [INFO] [stderr] Downloaded wasm-bindgen v0.2.63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 04659cb4879d8558a98b9dd89b74b67a5b9bbdc2640a79c88200b24ae6d9148c [INFO] running `Command { std: "docker" "start" "-a" "04659cb4879d8558a98b9dd89b74b67a5b9bbdc2640a79c88200b24ae6d9148c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04659cb4879d8558a98b9dd89b74b67a5b9bbdc2640a79c88200b24ae6d9148c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04659cb4879d8558a98b9dd89b74b67a5b9bbdc2640a79c88200b24ae6d9148c", kill_on_drop: false }` [INFO] [stdout] 04659cb4879d8558a98b9dd89b74b67a5b9bbdc2640a79c88200b24ae6d9148c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 3600fb0b8f88e469c64cfef11a461baafd141e3a41d662af1ba1a192a7ecd0a8 [INFO] running `Command { std: "docker" "start" "-a" "3600fb0b8f88e469c64cfef11a461baafd141e3a41d662af1ba1a192a7ecd0a8", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.5 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling base-x v0.2.6 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling stdweb v0.4.20 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling stdweb-derive v0.5.3 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.9 [INFO] [stderr] Checking snake v0.1.0 (/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 `snake` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/board.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/board.rs:88:17 [INFO] [stderr] | [INFO] [stderr] 88 | $crate::initialize(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `$` [INFO] [stderr] --> src/board.rs:91:33 [INFO] [stderr] | [INFO] [stderr] 91 | let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] warning: unused import: `stdweb::js` [INFO] [stderr] --> src/board.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use stdweb::js; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unused import: `stdweb::js` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use stdweb::js; [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/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use stdweb::unstable::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdweb::js` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use stdweb::js; [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/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use stdweb::unstable::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/board.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | let random = js! { return Math.floor(Math.random() * @{max}) } [INFO] [stdout] | __________________^ [INFO] [stdout] 87 | | .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] 86 ~ let random = TryInto::try_into({ [INFO] [stdout] 87 + if cfg!( test ) { [INFO] [stdout] 88 + $crate::initialize(); [INFO] [stdout] 89 + } [INFO] [stdout] 90 + [INFO] [stdout] 91 + 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] = 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: unused variable: `x` [INFO] [stdout] --> src/collision.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | fn respawn(&mut self, x: i32, y: i32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/collision.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | fn respawn(&mut self, x: i32, y: i32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/board.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | let random = js! { return Math.floor(Math.random() * @{max}) } [INFO] [stdout] | __________________^ [INFO] [stdout] 87 | | .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] 86 ~ let random = TryInto::try_into({ [INFO] [stdout] 87 + if cfg!( test ) { [INFO] [stdout] 88 + $crate::initialize(); [INFO] [stdout] 89 + } [INFO] [stdout] 90 + [INFO] [stdout] 91 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/consumable.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | fn draw(&mut self, canvas: &Canvas, state: &mut State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/snake.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | fn draw(&mut self, canvas: &Canvas, state: &mut State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/snake.rs:87:41 [INFO] [stdout] | [INFO] [stdout] 87 | fn draw(&mut self, canvas: &Canvas, state: &mut State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/snake.rs:93:50 [INFO] [stdout] | [INFO] [stdout] 93 | fn consumed_by(&mut self, snake: &mut Snake, state: &State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/snake.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | fn consumed_by(&mut self, snake: &mut Snake, state: &State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [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] = 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: unused variable: `x` [INFO] [stdout] --> src/collision.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | fn respawn(&mut self, x: i32, y: i32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/collision.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | fn respawn(&mut self, x: i32, y: i32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/consumable.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | fn draw(&mut self, canvas: &Canvas, state: &mut State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/snake.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | fn draw(&mut self, canvas: &Canvas, state: &mut State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/snake.rs:87:41 [INFO] [stdout] | [INFO] [stdout] 87 | fn draw(&mut self, canvas: &Canvas, state: &mut State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/snake.rs:93:50 [INFO] [stdout] | [INFO] [stdout] 93 | fn consumed_by(&mut self, snake: &mut Snake, state: &State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/snake.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | fn consumed_by(&mut self, snake: &mut Snake, state: &State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [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 [unoptimized + debuginfo] target(s) in 32.28s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking snake v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused import: `stdweb::js` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use stdweb::js; [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/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use stdweb::unstable::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdweb::js` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use stdweb::js; [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/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use stdweb::unstable::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/board.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | .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] 86 ~ let random = std::convert::TryInto::try_into({ [INFO] [stdout] 87 + if cfg!( test ) { [INFO] [stdout] 88 + $crate::initialize(); [INFO] [stdout] 89 + } [INFO] [stdout] 90 + [INFO] [stdout] 91 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 86 ~ let random = stdweb::unstable::TryInto::try_into({ [INFO] [stdout] 87 + if cfg!( test ) { [INFO] [stdout] 88 + $crate::initialize(); [INFO] [stdout] 89 + } [INFO] [stdout] 90 + [INFO] [stdout] 91 + 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/board.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | .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] 86 ~ let random = std::convert::TryInto::try_into({ [INFO] [stdout] 87 + if cfg!( test ) { [INFO] [stdout] 88 + $crate::initialize(); [INFO] [stdout] 89 + } [INFO] [stdout] 90 + [INFO] [stdout] 91 + let restore_point = $crate::private::ArenaRestorePoint::new(); [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 86 ~ let random = stdweb::unstable::TryInto::try_into({ [INFO] [stdout] 87 + if cfg!( test ) { [INFO] [stdout] 88 + $crate::initialize(); [INFO] [stdout] 89 + } [INFO] [stdout] 90 + [INFO] [stdout] 91 + 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/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] warning: unused import: `stdweb::unstable::TryInto` [INFO] [stdout] --> src/board.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use stdweb::unstable::TryInto; [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] [INFO] [stdout] warning: unused import: `stdweb::unstable::TryInto` [INFO] [stdout] --> src/board.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use stdweb::unstable::TryInto; [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] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snake` due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "3600fb0b8f88e469c64cfef11a461baafd141e3a41d662af1ba1a192a7ecd0a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3600fb0b8f88e469c64cfef11a461baafd141e3a41d662af1ba1a192a7ecd0a8", kill_on_drop: false }` [INFO] [stdout] 3600fb0b8f88e469c64cfef11a461baafd141e3a41d662af1ba1a192a7ecd0a8