[INFO] fetching crate gym-rs 0.2.1... [INFO] testing gym-rs-0.2.1 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate gym-rs 0.2.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate gym-rs 0.2.1 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7b593e540766c95b6cdf236f082a4f603e2c9f6ed7bd5b185503ecd0323ed93e [INFO] running `Command { std: "docker" "start" "-a" "7b593e540766c95b6cdf236f082a4f603e2c9f6ed7bd5b185503ecd0323ed93e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b593e540766c95b6cdf236f082a4f603e2c9f6ed7bd5b185503ecd0323ed93e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b593e540766c95b6cdf236f082a4f603e2c9f6ed7bd5b185503ecd0323ed93e", kill_on_drop: false }` [INFO] [stdout] 7b593e540766c95b6cdf236f082a4f603e2c9f6ed7bd5b185503ecd0323ed93e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02265de076b1dd92214e8f34d4457ae242e8429a786d21415b4032eea4ef9d28 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "02265de076b1dd92214e8f34d4457ae242e8429a786d21415b4032eea4ef9d28", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling bytemuck v1.7.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 ppv-lite86 v0.2.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling pathfinder_simd v0.5.1 [INFO] [stderr] Compiling rand v0.7.3 [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 pathfinder_geometry 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 synstructure v0.12.5 [INFO] [stderr] Compiling plotters-bitmap v0.3.1 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling gym-rs v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "02265de076b1dd92214e8f34d4457ae242e8429a786d21415b4032eea4ef9d28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02265de076b1dd92214e8f34d4457ae242e8429a786d21415b4032eea4ef9d28", kill_on_drop: false }` [INFO] [stdout] 02265de076b1dd92214e8f34d4457ae242e8429a786d21415b4032eea4ef9d28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8b000a0abad04c02083dda817c5647eb1b352367b0c2904988b14cb6468fc3a6 [INFO] running `Command { std: "docker" "start" "-a" "8b000a0abad04c02083dda817c5647eb1b352367b0c2904988b14cb6468fc3a6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gym-rs v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.09s [INFO] running `Command { std: "docker" "inspect" "8b000a0abad04c02083dda817c5647eb1b352367b0c2904988b14cb6468fc3a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b000a0abad04c02083dda817c5647eb1b352367b0c2904988b14cb6468fc3a6", kill_on_drop: false }` [INFO] [stdout] 8b000a0abad04c02083dda817c5647eb1b352367b0c2904988b14cb6468fc3a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c7c6e400eedf35a143304cc2bde76b060c5f77d50a75146f470d3244f9b3e070 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c7c6e400eedf35a143304cc2bde76b060c5f77d50a75146f470d3244f9b3e070", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gym_rs-8683d684f98ad199) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Doc-tests gym-rs [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.02s [INFO] [stdout] [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 35) ... FAILED [INFO] [stdout] test src/mountain_car.rs - mountain_car::MountainCarEnv (line 29) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/cart_pole.rs - cart_pole::CartPoleEnv (line 35) stdout ---- [INFO] [stdout] error: expected one of `!`, `(`, `.`, `::`, `;`, `<`, `?`, or `}`, found `amount` [INFO] [stdout] --> src/cart_pole.rs:36: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 29) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `case` [INFO] [stdout] --> src/mountain_car.rs:30: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 35) [INFO] [stdout] src/mountain_car.rs - mountain_car::MountainCarEnv (line 29) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c7c6e400eedf35a143304cc2bde76b060c5f77d50a75146f470d3244f9b3e070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7c6e400eedf35a143304cc2bde76b060c5f77d50a75146f470d3244f9b3e070", kill_on_drop: false }` [INFO] [stdout] c7c6e400eedf35a143304cc2bde76b060c5f77d50a75146f470d3244f9b3e070