[INFO] fetching crate gym-rs 0.2.1... [INFO] testing gym-rs-0.2.1 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate gym-rs 0.2.1 into /workspace/builds/worker-103/source [INFO] validating manifest of crates.io crate gym-rs 0.2.1 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gym-rs 0.2.1 [INFO] finished tweaking crates.io crate gym-rs 0.2.1 [INFO] tweaked toml for crates.io crate gym-rs 0.2.1 written to /workspace/builds/worker-103/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded find_folder v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a3e813b769e0ba809577ab6b3c039d37a1e6116ccc6c9e48de4db5ff186840f [INFO] running `Command { std: "docker" "start" "-a" "1a3e813b769e0ba809577ab6b3c039d37a1e6116ccc6c9e48de4db5ff186840f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a3e813b769e0ba809577ab6b3c039d37a1e6116ccc6c9e48de4db5ff186840f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a3e813b769e0ba809577ab6b3c039d37a1e6116ccc6c9e48de4db5ff186840f", kill_on_drop: false }` [INFO] [stdout] 1a3e813b769e0ba809577ab6b3c039d37a1e6116ccc6c9e48de4db5ff186840f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b942407b5e3d87f8efc1e7dafa459e6b6c5fc5b4b72945fdf3ff09e731fcdf3 [INFO] running `Command { std: "docker" "start" "-a" "9b942407b5e3d87f8efc1e7dafa459e6b6c5fc5b4b72945fdf3ff09e731fcdf3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling pathfinder_simd v0.5.1 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cmake v0.1.46 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling freetype v0.7.0 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling font-kit v0.10.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling plotters-bitmap v0.3.1 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling gym-rs v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `mass_cart` [INFO] [stdout] --> src/cart_pole.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | mass_cart: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.66s [INFO] running `Command { std: "docker" "inspect" "9b942407b5e3d87f8efc1e7dafa459e6b6c5fc5b4b72945fdf3ff09e731fcdf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b942407b5e3d87f8efc1e7dafa459e6b6c5fc5b4b72945fdf3ff09e731fcdf3", kill_on_drop: false }` [INFO] [stdout] 9b942407b5e3d87f8efc1e7dafa459e6b6c5fc5b4b72945fdf3ff09e731fcdf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61fd67b68a4e05e9f3d6727e4658f1b1d64eb6e3afbaf54f5fc37a118d8b702b [INFO] running `Command { std: "docker" "start" "-a" "61fd67b68a4e05e9f3d6727e4658f1b1d64eb6e3afbaf54f5fc37a118d8b702b", kill_on_drop: false }` [INFO] [stderr] Compiling gym-rs v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `mass_cart` [INFO] [stdout] --> src/cart_pole.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | mass_cart: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mass_cart` [INFO] [stdout] --> src/cart_pole.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | mass_cart: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.40s [INFO] running `Command { std: "docker" "inspect" "61fd67b68a4e05e9f3d6727e4658f1b1d64eb6e3afbaf54f5fc37a118d8b702b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61fd67b68a4e05e9f3d6727e4658f1b1d64eb6e3afbaf54f5fc37a118d8b702b", kill_on_drop: false }` [INFO] [stdout] 61fd67b68a4e05e9f3d6727e4658f1b1d64eb6e3afbaf54f5fc37a118d8b702b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 623046059d5d31647aa0f55e0039258386755821c9ace248d7432a18546d26c5 [INFO] running `Command { std: "docker" "start" "-a" "623046059d5d31647aa0f55e0039258386755821c9ace248d7432a18546d26c5", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `mass_cart` [INFO] [stderr] --> src/cart_pole.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | mass_cart: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `gym-rs` (lib) generated 1 warning [INFO] [stderr] warning: `gym-rs` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gym_rs-5d98b24b8dd8e5ce) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test utils::tests::test_scale ... ok [INFO] [stdout] test mountain_car::tests::mountain_car ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests gym-rs [INFO] [stderr] warning: lint `missing_crate_level_docs` has been renamed to `rustdoc::missing_crate_level_docs` [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(missing_docs, missing_crate_level_docs)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_crate_level_docs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/cart_pole.rs - cart_pole::CartPoleEnv (line 34) ... FAILED [INFO] [stdout] test src/mountain_car.rs - mountain_car::MountainCarEnv (line 28) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/cart_pole.rs - cart_pole::CartPoleEnv (line 34) stdout ---- [INFO] [stdout] error: expected one of `!`, `(`, `.`, `::`, `;`, `<`, `?`, or `}`, found `amount` [INFO] [stdout] --> src/cart_pole.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 3 | Note: The amount the velocity that is reduced or increased is not [INFO] [stdout] | - ^^^^^^ expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | tried to parse a type due to this type ascription [INFO] [stdout] | [INFO] [stdout] = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` [INFO] [stdout] = note: see issue #23416 for more information [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mountain_car.rs - mountain_car::MountainCarEnv (line 28) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `case` [INFO] [stdout] --> src/mountain_car.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 3 | In case of continuous action, apply a force in range [-1.0, 1.0], [INFO] [stdout] | ^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/cart_pole.rs - cart_pole::CartPoleEnv (line 34) [INFO] [stdout] src/mountain_car.rs - mountain_car::MountainCarEnv (line 28) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "623046059d5d31647aa0f55e0039258386755821c9ace248d7432a18546d26c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "623046059d5d31647aa0f55e0039258386755821c9ace248d7432a18546d26c5", kill_on_drop: false }` [INFO] [stdout] 623046059d5d31647aa0f55e0039258386755821c9ace248d7432a18546d26c5