[INFO] fetching crate rsrl 0.8.1... [INFO] testing rsrl-0.8.1 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate rsrl 0.8.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate rsrl 0.8.1 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rsrl 0.8.1 [INFO] finished tweaking crates.io crate rsrl 0.8.1 [INFO] tweaked toml for crates.io crate rsrl 0.8.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate rsrl 0.8.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rsrl_domains v0.2.0 [INFO] [stderr] Downloaded lfa v0.15.0 [INFO] [stderr] Downloaded rsrl_derive v0.1.0 [INFO] [stderr] Downloaded rstat v0.6.0 [INFO] [stderr] Downloaded syn v1.0.7 [INFO] [stderr] Downloaded quickcheck v0.9.0 [INFO] [stderr] Downloaded serde_test v1.0.102 [INFO] [stderr] Downloaded openblas-src v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ec29c7140d6027669a13b9550e682be7f6ab5d68b52bb11c41535c5954198e7 [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" "3ec29c7140d6027669a13b9550e682be7f6ab5d68b52bb11c41535c5954198e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ec29c7140d6027669a13b9550e682be7f6ab5d68b52bb11c41535c5954198e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec29c7140d6027669a13b9550e682be7f6ab5d68b52bb11c41535c5954198e7", kill_on_drop: false }` [INFO] [stdout] 3ec29c7140d6027669a13b9550e682be7f6ab5d68b52bb11c41535c5954198e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37d656f0ca30ef14955fc2620539762547d1f7c99f1f57da0e5750af758eb230 [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" "37d656f0ca30ef14955fc2620539762547d1f7c99f1f57da0e5750af758eb230", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling blas-src v0.2.1 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling openblas-src v0.7.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling lapack-src v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling itertools v0.8.1 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling blas-src v0.4.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling special-fun v0.2.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling cblas-sys v0.1.4 [INFO] [stderr] Compiling lapacke-sys v0.1.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling spaces v5.0.0 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling lapacke v0.2.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling cauchy v0.2.2 [INFO] [stderr] Compiling rsrl_derive v0.1.0 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling rstat v0.6.0 [INFO] [stderr] Compiling lfa v0.15.0 [INFO] [stderr] Compiling ndarray-linalg v0.12.0 [INFO] [stderr] Compiling rsrl_domains v0.2.0 [INFO] [stderr] Compiling rsrl v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `norm` [INFO] [stdout] --> src/control/nac.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | norm: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/control/nac.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `td_error` [INFO] [stdout] --> src/control/td/q_lambda.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | td_error: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/control/td/q_lambda.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `td_error` [INFO] [stdout] --> src/control/td/sarsa.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | td_error: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/control/td/sarsa.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `qfunc_response` [INFO] [stdout] --> src/control/td/sarsa.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | qfunc_response: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/control/td/sarsa.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `td_error` [INFO] [stdout] --> src/control/td/sarsa_lambda.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | td_error: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/control/td/sarsa_lambda.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "37d656f0ca30ef14955fc2620539762547d1f7c99f1f57da0e5750af758eb230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37d656f0ca30ef14955fc2620539762547d1f7c99f1f57da0e5750af758eb230", kill_on_drop: false }` [INFO] [stdout] 37d656f0ca30ef14955fc2620539762547d1f7c99f1f57da0e5750af758eb230 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bba009a7c918347b42ae433ad06eadd574eda5a7c7ee7d2e2ddc4321f6032ab [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" "6bba009a7c918347b42ae433ad06eadd574eda5a7c7ee7d2e2ddc4321f6032ab", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stdout] warning: field is never read: `norm` [INFO] [stdout] --> src/control/nac.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | norm: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/control/nac.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `td_error` [INFO] [stdout] --> src/control/td/q_lambda.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | td_error: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/control/td/q_lambda.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `td_error` [INFO] [stdout] --> src/control/td/sarsa.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | td_error: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/control/td/sarsa.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `qfunc_response` [INFO] [stdout] --> src/control/td/sarsa.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | qfunc_response: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/control/td/sarsa.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_test v1.0.102 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stdout] warning: field is never read: `td_error` [INFO] [stdout] --> src/control/td/sarsa_lambda.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | td_error: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/control/td/sarsa_lambda.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling quickcheck v0.9.0 [INFO] [stderr] Compiling rsrl v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `EpsilonGreedy`, `Random` [INFO] [stdout] --> examples/q_learning.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | policies::{EpsilonGreedy, Greedy, Policy, Random}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Composition`, `Differentiable`, `transforms::Softplus` [INFO] [stdout] --> examples/nac_softmax.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | transforms::Softplus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | Composition, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Differentiable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `spaces::Space`, `td::SARSA` [INFO] [stdout] --> examples/tdac_beta.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | control::{ac::ActorCritic, td::SARSA}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | spaces::Space, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `State`, `spaces::Space`, `td::SARSA` [INFO] [stdout] --> examples/tdac.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | control::{ac::ActorCritic, td::SARSA}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | domains::{ContinuousMountainCar, Domain, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | spaces::Space, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EnumerablePolicy` [INFO] [stdout] --> src/policies/greedy.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | policies::{EnumerablePolicy, Greedy, Policy}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnumerablePolicy`, `Function` [INFO] [stdout] --> src/policies/random.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | policies::{EnumerablePolicy, Policy, Random}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EnumerablePolicy` [INFO] [stdout] --> src/policies/epsilon_greedy.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | policies::{EnumerablePolicy, EpsilonGreedy, Policy, Greedy, Random}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Basis`, `LFA`, `Polynomial`, `optim::SGD` [INFO] [stdout] --> src/policies/softmax.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | basis::{Basis, Polynomial}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] 231 | optim::SGD, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 232 | LFA, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::E` [INFO] [stdout] --> src/policies/softmax.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | use std::f64::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `norm` [INFO] [stdout] --> src/control/nac.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | norm: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/control/nac.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `td_error` [INFO] [stdout] --> src/control/td/q_lambda.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | td_error: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/control/td/q_lambda.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `td_error` [INFO] [stdout] --> src/control/td/sarsa.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | td_error: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/control/td/sarsa.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `qfunc_response` [INFO] [stdout] --> src/control/td/sarsa.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | qfunc_response: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/control/td/sarsa.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `td_error` [INFO] [stdout] --> src/control/td/sarsa_lambda.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | td_error: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/control/td/sarsa_lambda.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 39.12s [INFO] running `Command { std: "docker" "inspect" "6bba009a7c918347b42ae433ad06eadd574eda5a7c7ee7d2e2ddc4321f6032ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bba009a7c918347b42ae433ad06eadd574eda5a7c7ee7d2e2ddc4321f6032ab", kill_on_drop: false }` [INFO] [stdout] 6bba009a7c918347b42ae433ad06eadd574eda5a7c7ee7d2e2ddc4321f6032ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] adf3ef02d65352e824d9cd36e48415e96d33412350660bf9380246db3f363f5d [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" "adf3ef02d65352e824d9cd36e48415e96d33412350660bf9380246db3f363f5d", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `norm` [INFO] [stderr] --> src/control/nac.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | norm: f64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/control/nac.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `td_error` [INFO] [stderr] --> src/control/td/q_lambda.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | td_error: f64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/control/td/q_lambda.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `td_error` [INFO] [stderr] --> src/control/td/sarsa.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | td_error: f64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/control/td/sarsa.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `qfunc_response` [INFO] [stderr] --> src/control/td/sarsa.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | qfunc_response: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/control/td/sarsa.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `td_error` [INFO] [stderr] --> src/control/td/sarsa_lambda.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | td_error: f64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/control/td/sarsa_lambda.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `EnumerablePolicy` [INFO] [stderr] --> src/policies/greedy.rs:91:20 [INFO] [stderr] | [INFO] [stderr] 91 | policies::{EnumerablePolicy, Greedy, Policy}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `EnumerablePolicy`, `Function` [INFO] [stderr] --> src/policies/random.rs:53:20 [INFO] [stderr] | [INFO] [stderr] 53 | policies::{EnumerablePolicy, Policy, Random}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 54 | Function, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `EnumerablePolicy` [INFO] [stderr] --> src/policies/epsilon_greedy.rs:90:20 [INFO] [stderr] | [INFO] [stderr] 90 | policies::{EnumerablePolicy, EpsilonGreedy, Policy, Greedy, Random}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Basis`, `LFA`, `Polynomial`, `optim::SGD` [INFO] [stderr] --> src/policies/softmax.rs:230:25 [INFO] [stderr] | [INFO] [stderr] 230 | basis::{Basis, Polynomial}, [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ [INFO] [stderr] 231 | optim::SGD, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 232 | LFA, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::f64::consts::E` [INFO] [stderr] --> src/policies/softmax.rs:238:9 [INFO] [stderr] | [INFO] [stderr] 238 | use std::f64::consts::E; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rsrl` (lib) generated 5 warnings [INFO] [stderr] warning: `rsrl` (lib test) generated 10 warnings (5 duplicates) [INFO] [stderr] warning: unused imports: `Composition`, `Differentiable`, `transforms::Softplus` [INFO] [stderr] --> examples/nac_softmax.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | transforms::Softplus, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 14 | Composition, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | Differentiable, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `EpsilonGreedy`, `Random` [INFO] [stderr] --> examples/q_learning.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | policies::{EpsilonGreedy, Greedy, Policy, Random}, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `spaces::Space`, `td::SARSA` [INFO] [stderr] --> examples/tdac_beta.rs:6:32 [INFO] [stderr] | [INFO] [stderr] 6 | control::{ac::ActorCritic, td::SARSA}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | spaces::Space, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `State`, `spaces::Space`, `td::SARSA` [INFO] [stderr] --> examples/tdac.rs:6:32 [INFO] [stderr] | [INFO] [stderr] 6 | control::{ac::ActorCritic, td::SARSA}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 7 | domains::{ContinuousMountainCar, Domain, State}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 16 | spaces::Space, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rsrl` (example "nac_softmax") generated 1 warning [INFO] [stderr] warning: `rsrl` (example "q_learning") generated 1 warning [INFO] [stderr] warning: `rsrl` (example "tdac_beta") generated 1 warning [INFO] [stderr] warning: `rsrl` (example "tdac") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rsrl-df7125e538f85bad) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test fa::transforms::tests::test_exponential_f64 ... ok [INFO] [stdout] test policies::greedy::tests::test_probabilites ... ok [INFO] [stdout] test fa::transforms::tests::test_identity_pair ... ok [INFO] [stdout] test fa::transforms::tests::test_identity_scalar ... ok [INFO] [stdout] test fa::transforms::tests::test_identity_triple ... ok [INFO] [stdout] test policies::epsilon_greedy::tests::test_probabilites ... ok [INFO] [stdout] test policies::epsilon_greedy::tests::test_probabilites_uniform ... ok [INFO] [stdout] test fa::transforms::tests::test_logistic_f64 ... ok [INFO] [stdout] test policies::greedy::tests::test_two_alt ... ok [INFO] [stdout] test policies::greedy::tests::test_two_positive ... ok [INFO] [stdout] test policies::greedy::tests::test_two_negative ... ok [INFO] [stdout] test fa::transforms::tests::test_logistic_f64_positive ... ok [INFO] [stdout] test policies::greedy::tests::test_1d ... ok [INFO] [stdout] test policies::greedy::tests::test_long ... ok [INFO] [stdout] test fa::transforms::tests::test_exponential_f64_positive ... ok [INFO] [stdout] test fa::transforms::tests::test_softplus_f64 ... ok [INFO] [stdout] test policies::softmax::tests::test_1d ... ok [INFO] [stdout] test policies::greedy::tests::test_precision ... ok [INFO] [stdout] test fa::transforms::tests::test_softplus_f64_positive ... ok [INFO] [stdout] test policies::random::tests::test_sampling ... ok [INFO] [stdout] test fa::transforms::tests::test_identity_vector ... ok [INFO] [stdout] test policies::softmax::tests::test_0d - should panic ... ok [INFO] [stdout] test policies::epsilon_greedy::tests::test_sampling ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] Doc-tests rsrl [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/traces.rs - traces::Trace::update (line 112) ... ok [INFO] [stdout] test src/traces.rs - traces::Trace::new (line 28) ... ok [INFO] [stdout] test src/traces.rs - traces::Trace::reset (line 135) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.47s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "adf3ef02d65352e824d9cd36e48415e96d33412350660bf9380246db3f363f5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adf3ef02d65352e824d9cd36e48415e96d33412350660bf9380246db3f363f5d", kill_on_drop: false }` [INFO] [stdout] adf3ef02d65352e824d9cd36e48415e96d33412350660bf9380246db3f363f5d