[INFO] cloning repository https://github.com/TuckerBMorgan/gymnasium [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TuckerBMorgan/gymnasium" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuckerBMorgan%2Fgymnasium", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuckerBMorgan%2Fgymnasium'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e1fa0a6704c63e18fc6a2013b6ab66c5b991f99 [INFO] checking TuckerBMorgan/gymnasium against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuckerBMorgan%2Fgymnasium" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TuckerBMorgan/gymnasium 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/TuckerBMorgan/gymnasium [INFO] finished tweaking git repo https://github.com/TuckerBMorgan/gymnasium [INFO] tweaked toml for git repo https://github.com/TuckerBMorgan/gymnasium written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/TuckerBMorgan/gymnasium 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 orbclient v0.3.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] f5a987e7a11c370518cebcc79752d9ff5e5f3371edef3c29883b8b197757a393 [INFO] running `Command { std: "docker" "start" "-a" "f5a987e7a11c370518cebcc79752d9ff5e5f3371edef3c29883b8b197757a393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5a987e7a11c370518cebcc79752d9ff5e5f3371edef3c29883b8b197757a393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5a987e7a11c370518cebcc79752d9ff5e5f3371edef3c29883b8b197757a393", kill_on_drop: false }` [INFO] [stdout] f5a987e7a11c370518cebcc79752d9ff5e5f3371edef3c29883b8b197757a393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] c5b40389432f5a89123450771e7a324c6cb52792316abc0d94a97f3dae374648 [INFO] running `Command { std: "docker" "start" "-a" "c5b40389432f5a89123450771e7a324c6cb52792316abc0d94a97f3dae374648", 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] memchr v2.3.4: default, std, use_std [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Compiling minifb v0.19.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking wayland-commons v0.27.0 [INFO] [stderr] Checking wayland-cursor v0.27.0 [INFO] [stderr] Checking gymnasium v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/acrobot.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 193 | }z` [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 193 | }z' [INFO] [stdout] | ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/acrobot.rs:186:69 [INFO] [stdout] | [INFO] [stdout] 186 | let world_transform = Renderer::create_transform((0, 1000 * ), scale: f32, rotation: f32) [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `for` [INFO] [stdout] --> src/acrobot.rs:186:98 [INFO] [stdout] | [INFO] [stdout] 186 | let world_transform = Renderer::create_transform((0, 1000 * ), scale: f32, rotation: f32) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 187 | [INFO] [stdout] 188 | for i in 0..1 { [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `self` [INFO] [stdout] --> src/acrobot.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 193 | }z` [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 194 | [INFO] [stdout] 195 | self.renderer.render(); [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `let` expressions are not supported here [INFO] [stdout] --> src/acrobot.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let world_transform = Renderer::create_transform((0, 1000 * ), scale: f32, rotation: f32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if`- and `while`-expressions [INFO] [stdout] = note: as well as when nested within `&&` and parenthesis in those conditions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `scale` in this scope [INFO] [stdout] --> src/acrobot.rs:186:72 [INFO] [stdout] | [INFO] [stdout] 186 | let world_transform = Renderer::create_transform((0, 1000 * ), scale: f32, rotation: f32) [INFO] [stdout] | ^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rotation` in this scope [INFO] [stdout] --> src/acrobot.rs:186:84 [INFO] [stdout] | [INFO] [stdout] 186 | let world_transform = Renderer::create_transform((0, 1000 * ), scale: f32, rotation: f32) [INFO] [stdout] | ^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `z` in this scope [INFO] [stdout] --> src/acrobot.rs:193:10 [INFO] [stdout] | [INFO] [stdout] 193 | }z` [INFO] [stdout] | ^ help: a local variable with a similar name exists: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `let` expressions in this position are experimental [INFO] [stdout] --> src/acrobot.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let world_transform = Renderer::create_transform((0, 1000 * ), scale: f32, rotation: f32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #53667 for more information [INFO] [stdout] = help: add `#![feature(let_chains)]` to the crate attributes to enable [INFO] [stdout] = help: you can write `matches!(, )` instead of `let = ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::renderer::*` [INFO] [stdout] --> src/frozen_lake.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::renderer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/renderer.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use minifb::{Key, Window, WindowOptions}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/acrobot.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 193 | }z` [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 193 | }z' [INFO] [stdout] | ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/acrobot.rs:186:69 [INFO] [stdout] | [INFO] [stdout] 186 | let world_transform = Renderer::create_transform((0, 1000 * ), scale: f32, rotation: f32) [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `for` [INFO] [stdout] --> src/acrobot.rs:186:98 [INFO] [stdout] | [INFO] [stdout] 186 | let world_transform = Renderer::create_transform((0, 1000 * ), scale: f32, rotation: f32) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 187 | [INFO] [stdout] 188 | for i in 0..1 { [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `self` [INFO] [stdout] --> src/acrobot.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 193 | }z` [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 194 | [INFO] [stdout] 195 | self.renderer.render(); [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gymnasium` due to 10 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: `let` expressions are not supported here [INFO] [stdout] --> src/acrobot.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let world_transform = Renderer::create_transform((0, 1000 * ), scale: f32, rotation: f32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if`- and `while`-expressions [INFO] [stdout] = note: as well as when nested within `&&` and parenthesis in those conditions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `scale` in this scope [INFO] [stdout] --> src/acrobot.rs:186:72 [INFO] [stdout] | [INFO] [stdout] 186 | let world_transform = Renderer::create_transform((0, 1000 * ), scale: f32, rotation: f32) [INFO] [stdout] | ^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rotation` in this scope [INFO] [stdout] --> src/acrobot.rs:186:84 [INFO] [stdout] | [INFO] [stdout] 186 | let world_transform = Renderer::create_transform((0, 1000 * ), scale: f32, rotation: f32) [INFO] [stdout] | ^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `z` in this scope [INFO] [stdout] --> src/acrobot.rs:193:10 [INFO] [stdout] | [INFO] [stdout] 193 | }z` [INFO] [stdout] | ^ help: a local variable with a similar name exists: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `let` expressions in this position are experimental [INFO] [stdout] --> src/acrobot.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let world_transform = Renderer::create_transform((0, 1000 * ), scale: f32, rotation: f32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #53667 for more information [INFO] [stdout] = help: add `#![feature(let_chains)]` to the crate attributes to enable [INFO] [stdout] = help: you can write `matches!(, )` instead of `let = ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::renderer::*` [INFO] [stdout] --> src/frozen_lake.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::renderer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/renderer.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use minifb::{Key, Window, WindowOptions}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c5b40389432f5a89123450771e7a324c6cb52792316abc0d94a97f3dae374648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5b40389432f5a89123450771e7a324c6cb52792316abc0d94a97f3dae374648", kill_on_drop: false }` [INFO] [stdout] c5b40389432f5a89123450771e7a324c6cb52792316abc0d94a97f3dae374648