[INFO] fetching crate gym-rs 0.2.1... [INFO] testing gym-rs-0.2.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate gym-rs 0.2.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate gym-rs 0.2.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ttf-parser v0.12.1 [INFO] [stderr] Downloaded servo-fontconfig v0.5.1 [INFO] [stderr] Downloaded dirs-sys v0.3.6 [INFO] [stderr] Downloaded freetype v0.7.0 [INFO] [stderr] Downloaded dwrote v0.11.0 [INFO] [stderr] Downloaded float-ord v0.2.0 [INFO] [stderr] Downloaded find_folder v0.3.0 [INFO] [stderr] Downloaded pathfinder_simd v0.5.1 [INFO] [stderr] Downloaded core-text v19.2.0 [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded rand_chacha v0.2.2 [INFO] [stderr] Downloaded rand v0.7.3 [INFO] [stderr] Downloaded freetype-sys v0.13.1 [INFO] [stderr] Downloaded servo-fontconfig-sys v5.1.0 [INFO] [stderr] Downloaded font-kit v0.10.0 [INFO] [stderr] Downloaded expat-sys v2.1.6 [INFO] [stderr] Downloaded weezl v0.1.5 [INFO] [stderr] Downloaded pathfinder_geometry v0.5.1 [INFO] [stderr] Downloaded plotters-bitmap v0.3.1 [INFO] [stderr] Downloaded plotters v0.3.1 [INFO] [stderr] Downloaded rand_pcg v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] faf8900dd7fbc7032411c5147bbe35665d938eb37cb6bd60b20511fd087934b5 [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" "faf8900dd7fbc7032411c5147bbe35665d938eb37cb6bd60b20511fd087934b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "faf8900dd7fbc7032411c5147bbe35665d938eb37cb6bd60b20511fd087934b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faf8900dd7fbc7032411c5147bbe35665d938eb37cb6bd60b20511fd087934b5", kill_on_drop: false }` [INFO] [stdout] faf8900dd7fbc7032411c5147bbe35665d938eb37cb6bd60b20511fd087934b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d646db3d8365a49e37107983bce50e8f1fc30fb40631fbf5c9a9be6aa561808 [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" "8d646db3d8365a49e37107983bce50e8f1fc30fb40631fbf5c9a9be6aa561808", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling rustc-demangle v0.1.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling ttf-parser v0.12.1 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling gif v0.11.2 [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-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling object v0.25.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling freetype v0.7.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling pathfinder_simd v0.5.1 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling font-kit v0.10.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling plotters-bitmap v0.3.1 [INFO] [stderr] Compiling plotters v0.3.1 [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 42s [INFO] running `Command { std: "docker" "inspect" "8d646db3d8365a49e37107983bce50e8f1fc30fb40631fbf5c9a9be6aa561808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d646db3d8365a49e37107983bce50e8f1fc30fb40631fbf5c9a9be6aa561808", kill_on_drop: false }` [INFO] [stdout] 8d646db3d8365a49e37107983bce50e8f1fc30fb40631fbf5c9a9be6aa561808 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eb1ec694a34dfbb6a8213ee81c7dea70dba6c87f54e2198f1e37b0a804accc0 [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" "9eb1ec694a34dfbb6a8213ee81c7dea70dba6c87f54e2198f1e37b0a804accc0", kill_on_drop: false }` [INFO] [stderr] Compiling gym-rs v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.97s [INFO] running `Command { std: "docker" "inspect" "9eb1ec694a34dfbb6a8213ee81c7dea70dba6c87f54e2198f1e37b0a804accc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eb1ec694a34dfbb6a8213ee81c7dea70dba6c87f54e2198f1e37b0a804accc0", kill_on_drop: false }` [INFO] [stdout] 9eb1ec694a34dfbb6a8213ee81c7dea70dba6c87f54e2198f1e37b0a804accc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", 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] 262cf995aa32d60e2692ce2514ee84e43a37f1105252348764cac66ab9287191 [INFO] running `Command { std: "docker" "start" "-a" "262cf995aa32d60e2692ce2514ee84e43a37f1105252348764cac66ab9287191", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gym_rs-e34863bc5aa5473d) [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] [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.33s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "262cf995aa32d60e2692ce2514ee84e43a37f1105252348764cac66ab9287191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "262cf995aa32d60e2692ce2514ee84e43a37f1105252348764cac66ab9287191", kill_on_drop: false }` [INFO] [stdout] 262cf995aa32d60e2692ce2514ee84e43a37f1105252348764cac66ab9287191