[INFO] fetching crate pso 0.2.0... [INFO] testing pso-0.2.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate pso 0.2.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate pso 0.2.0 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 pso 0.2.0 [INFO] finished tweaking crates.io crate pso 0.2.0 [INFO] tweaked toml for crates.io crate pso 0.2.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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 crossterm v0.16.0 [INFO] [stderr] Downloaded colour v0.5.0 [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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 394d0fc122d56d90cd552d2009307a11da680e11fb4521b4681b6a8d9fbfb66e [INFO] running `Command { std: "docker" "start" "-a" "394d0fc122d56d90cd552d2009307a11da680e11fb4521b4681b6a8d9fbfb66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "394d0fc122d56d90cd552d2009307a11da680e11fb4521b4681b6a8d9fbfb66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "394d0fc122d56d90cd552d2009307a11da680e11fb4521b4681b6a8d9fbfb66e", kill_on_drop: false }` [INFO] [stdout] 394d0fc122d56d90cd552d2009307a11da680e11fb4521b4681b6a8d9fbfb66e [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=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] 6e4095488bb02642d447922a60ebfdb1746ac78a9cf905cd1d54559e4b64f0fe [INFO] running `Command { std: "docker" "start" "-a" "6e4095488bb02642d447922a60ebfdb1746ac78a9cf905cd1d54559e4b64f0fe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling crossterm v0.16.0 [INFO] [stderr] Compiling colour v0.5.0 [INFO] [stderr] Compiling pso v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `num_swarms` [INFO] [stdout] --> src/optimizer.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | num_swarms: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PSO` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/optimizer.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[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: `verbose` [INFO] [stdout] --> src/optimizer.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | verbose: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PSO` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/optimizer.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.31s [INFO] running `Command { std: "docker" "inspect" "6e4095488bb02642d447922a60ebfdb1746ac78a9cf905cd1d54559e4b64f0fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e4095488bb02642d447922a60ebfdb1746ac78a9cf905cd1d54559e4b64f0fe", kill_on_drop: false }` [INFO] [stdout] 6e4095488bb02642d447922a60ebfdb1746ac78a9cf905cd1d54559e4b64f0fe [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=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] db15d4a493ca1897e30c10ca61a85363810e6a20c59505606ae9156c6b2cf776 [INFO] running `Command { std: "docker" "start" "-a" "db15d4a493ca1897e30c10ca61a85363810e6a20c59505606ae9156c6b2cf776", kill_on_drop: false }` [INFO] [stderr] Compiling pso v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `num_swarms` [INFO] [stdout] --> src/optimizer.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | num_swarms: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PSO` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/optimizer.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[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: `verbose` [INFO] [stdout] --> src/optimizer.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | verbose: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PSO` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/optimizer.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `num_swarms` [INFO] [stdout] --> src/optimizer.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | num_swarms: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PSO` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/optimizer.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[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: `verbose` [INFO] [stdout] --> src/optimizer.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | verbose: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PSO` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/optimizer.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.84s [INFO] running `Command { std: "docker" "inspect" "db15d4a493ca1897e30c10ca61a85363810e6a20c59505606ae9156c6b2cf776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db15d4a493ca1897e30c10ca61a85363810e6a20c59505606ae9156c6b2cf776", kill_on_drop: false }` [INFO] [stdout] db15d4a493ca1897e30c10ca61a85363810e6a20c59505606ae9156c6b2cf776 [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=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] 4bf5446d4e5a6c062e61658920de963d63db7b23ab868ea0ad681272ab966464 [INFO] running `Command { std: "docker" "start" "-a" "4bf5446d4e5a6c062e61658920de963d63db7b23ab868ea0ad681272ab966464", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `num_swarms` [INFO] [stderr] --> src/optimizer.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | num_swarms: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `PSO` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/optimizer.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | #[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: `verbose` [INFO] [stderr] --> src/optimizer.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | verbose: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PSO` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/optimizer.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | #[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: `pso` (lib) generated 2 warnings [INFO] [stderr] warning: `pso` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pso-d6b09711827b6869) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] Optimization Job over 5 variables [INFO] [stdout] Variable Bounds: [ (-10 <--> 10) (-8 <--> 8) (-6 <--> 6) (-4 <--> 4) (-2 <--> 2) ] [INFO] [stdout] Max Velocities: [2.5, 2.5, 2.5, 2.5, 2.5] [INFO] [stdout] Optimizer will stop running after 10000 iterations, unless the minimum cost drops below 1e-9 first. [INFO] [stdout] 4256 Particles: Particle motion coefficients: [INFO] [stdout] [Local: 0.7, tribal: 0.9] momentum: 0.8 [INFO] [stdout] wall_bounce_factor: 0.125 [INFO] [stdout] Swarm Behavior: Swarm will collaborate with others every 16 iterations [INFO] [stdout] and weight the global record with a coefficient of 0.9. [INFO] [stdout] Transient Behavior: [INFO] [stdout] Stochastic Mode: 0, Momentum Mode: 0, Motion Mode: 0 [INFO] [stdout] Optimization Job over 5 variables [INFO] [stdout] Variable Bounds: [ (-10 <--> 10) (-10 <--> 10) (-10 <--> 10) (-10 <--> 10) (-10 <--> 10) ] [INFO] [stdout] Max Velocities: [2.5, 2.5, 2.5, 2.5, 2.5] [INFO] [stdout] Optimizer will stop running after 100000 iterations, unless the minimum cost drops below 1e-9 first. [INFO] [stdout] Optimization Job over 5 variables [INFO] [stdout] Variable Bounds: [ (-5 <--> 5) (-5 <--> 5) (-5 <--> 5) (-5 <--> 5) (-5 <--> 5) ] [INFO] [stdout] Max Velocities: [2.5, 2.5, 2.5, 2.5, 2.5] [INFO] [stdout] Optimizer will stop running when the minimum cost drops below 1e-9. [INFO] [stdout] 8128 Particles: Particle motion coefficients: [INFO] [stdout] [Local: 0.5, tribal: 0.6] momentum: 1 [INFO] [stdout] wall_bounce_factor: 0.125 [INFO] [stdout] Swarm Behavior: Swarm will collaborate with others every 128 iterations [INFO] [stdout] and weight the global record with a coefficient of 0.4. [INFO] [stdout] Transient Behavior: [INFO] [stdout] Stochastic Mode: 5, Momentum Mode: 0, Motion Mode: 3 [INFO] [stdout] Optimization Job over 3 variables [INFO] [stdout] Variable Bounds: [ (-6.283185307179586 <--> 6.283185307179586) (-6.283185307179586 <--> 6.283185307179586) (-6.283185307179586 <--> 6.283185307179586) ] [INFO] [stdout] Max Velocities: [2.5, 2.5, 2.5] [INFO] [stdout] Optimizer will stop running after 1000 iterations. [INFO] [stdout] 0.00000000065420762322484 [1.2654033954446654e-5, -3.6112559487914544e-6, -8.655174417864189e-7, 2.1037064701469048e-5, -6.142854929187079e-6] [INFO] [stdout] test tests::super_simple ... ok [INFO] [stdout] 0.00000000012875584428381798 [0.999996010363653, 0.9999921516027933, 1.000002643849752, 0.9999937111616214, 1.0000021683813607] [INFO] [stdout] test tests::mut_cost_fn ... ok [INFO] [stdout] 0.0000000005025806613133054 [0.9999830898305282, 0.9999923811844195, 0.9999940060593767, 0.9999891278217091, 0.9999978907598729] [INFO] [stdout] test tests::advanced ... ok [INFO] [stdout] 0.0000000000000002595601190631628 [1.8447883264750753e-16, -4.190400603097121e-17, 3.317728038468405e-17] [INFO] [stdout] test tests::exp_sin_cost_fn ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.60s [INFO] [stdout] [INFO] [stderr] Doc-tests pso [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/optimizer/swarm/swarm_config.rs - optimizer::swarm::swarm_config::SwarmConfig (line 20) ... ok [INFO] [stdout] test src/optimizer/job_config.rs - optimizer::job_config::JobConfig (line 19) ... ok [INFO] [stdout] test src/optimizer.rs - optimizer::PSO (line 18) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.63s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4bf5446d4e5a6c062e61658920de963d63db7b23ab868ea0ad681272ab966464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bf5446d4e5a6c062e61658920de963d63db7b23ab868ea0ad681272ab966464", kill_on_drop: false }` [INFO] [stdout] 4bf5446d4e5a6c062e61658920de963d63db7b23ab868ea0ad681272ab966464