[INFO] fetching crate rl 0.4.0... [INFO] testing rl-0.4.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rl 0.4.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rl 0.4.0 [INFO] removed 3 missing examples [INFO] finished tweaking crates.io crate rl 0.4.0 [INFO] tweaked toml for crates.io crate rl 0.4.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rl 0.4.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rl 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f7b21310c65271c969694cc41af9bcc3aba1bd51e399888efb6447c05a27874 [INFO] running `Command { std: "docker" "start" "-a" "9f7b21310c65271c969694cc41af9bcc3aba1bd51e399888efb6447c05a27874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f7b21310c65271c969694cc41af9bcc3aba1bd51e399888efb6447c05a27874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f7b21310c65271c969694cc41af9bcc3aba1bd51e399888efb6447c05a27874", kill_on_drop: false }` [INFO] [stdout] 9f7b21310c65271c969694cc41af9bcc3aba1bd51e399888efb6447c05a27874 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed0000f051d0280251afa19e1f435c99984369466cf49cafeb6d10a08435e8e6 [INFO] running `Command { std: "docker" "start" "-a" "ed0000f051d0280251afa19e1f435c99984369466cf49cafeb6d10a08435e8e6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling wgpu-hal v0.19.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling wgpu-types v0.19.2 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling burn-derive v0.13.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling burn-common v0.13.2 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling bincode v2.0.0-rc.3 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling burn-tensor v0.13.2 [INFO] [stderr] Compiling text_placeholder v0.5.0 [INFO] [stderr] Compiling burn-compute v0.13.2 [INFO] [stderr] Compiling naga v0.19.2 [INFO] [stderr] Compiling burn-fusion v0.13.2 [INFO] [stderr] Compiling burn-autodiff v0.13.2 [INFO] [stderr] Compiling burn-jit v0.13.2 [INFO] [stderr] Compiling burn-wgpu v0.13.2 [INFO] [stderr] Compiling burn-core v0.13.2 [INFO] [stderr] Compiling burn v0.13.2 [INFO] [stderr] Compiling rl v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "ed0000f051d0280251afa19e1f435c99984369466cf49cafeb6d10a08435e8e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed0000f051d0280251afa19e1f435c99984369466cf49cafeb6d10a08435e8e6", kill_on_drop: false }` [INFO] [stdout] ed0000f051d0280251afa19e1f435c99984369466cf49cafeb6d10a08435e8e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9da85b12b7f154b177c0fa0cda96d3ff9153a03c64526b5cbeed691560b5177a [INFO] running `Command { std: "docker" "start" "-a" "9da85b12b7f154b177c0fa0cda96d3ff9153a03c64526b5cbeed691560b5177a", kill_on_drop: false }` [INFO] [stderr] Compiling rl v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gym_rs` [INFO] [stdout] --> examples/dqn_cartpole/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gym_rs::utils::renderer::RenderMode; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `gym_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gym_rs`, use `cargo add gym_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rl::gym`, `rl::viz` [INFO] [stdout] --> examples/q_table_snake/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | gym::GrassyField, [INFO] [stdout] | ^^^ could not find `gym` in `rl` [INFO] [stdout] 4 | viz, [INFO] [stdout] | ^^^ no `viz` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "gym")] [INFO] [stdout] | --------------- the item is gated behind the `gym` feature [INFO] [stdout] 28 | pub mod gym; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "viz")] [INFO] [stdout] | --------------- the item is gated behind the `viz` feature [INFO] [stdout] 24 | pub mod viz; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rl::gym`, `rl::viz` [INFO] [stdout] --> examples/q_table_frozen_lake/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | gym::FrozenLake, [INFO] [stdout] | ^^^ could not find `gym` in `rl` [INFO] [stdout] 6 | viz, [INFO] [stdout] | ^^^ no `viz` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "gym")] [INFO] [stdout] | --------------- the item is gated behind the `gym` feature [INFO] [stdout] 28 | pub mod gym; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "viz")] [INFO] [stdout] | --------------- the item is gated behind the `viz` feature [INFO] [stdout] 24 | pub mod viz; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rl` (example "q_table_frozen_lake") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved imports `rl::gym`, `rl::viz` [INFO] [stdout] --> examples/dqn_cartpole/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | gym::CartPole, [INFO] [stdout] | ^^^ could not find `gym` in `rl` [INFO] [stdout] 8 | viz, [INFO] [stdout] | ^^^ no `viz` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "gym")] [INFO] [stdout] | --------------- the item is gated behind the `gym` feature [INFO] [stdout] 28 | pub mod gym; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "viz")] [INFO] [stdout] | --------------- the item is gated behind the `viz` feature [INFO] [stdout] 24 | pub mod viz; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rl` (example "q_table_snake") due to 1 previous error [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `DQNAgent<_, _, _, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/dqn_cartpole/main.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let mut agent = DQNAgent::new(model, agent_config, &*DEVICE); [INFO] [stdout] | ^^^ function or associated item cannot be called on `DQNAgent<_, _, _, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Vec<_>: ToTensor<_, _, burn::tensor::Float>` [INFO] [stdout] `Vec<_>: ToTensor<_, 2, Int>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rl` (example "dqn_cartpole") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "9da85b12b7f154b177c0fa0cda96d3ff9153a03c64526b5cbeed691560b5177a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9da85b12b7f154b177c0fa0cda96d3ff9153a03c64526b5cbeed691560b5177a", kill_on_drop: false }` [INFO] [stdout] 9da85b12b7f154b177c0fa0cda96d3ff9153a03c64526b5cbeed691560b5177a