[INFO] fetching crate pso 0.2.0... [INFO] testing pso-0.2.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate pso 0.2.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate pso 0.2.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6318f1fede1ada1fcfa6597ddb284c71b9cf0cabeaddb27189b2331590cf44c [INFO] running `Command { std: "docker" "start" "-a" "a6318f1fede1ada1fcfa6597ddb284c71b9cf0cabeaddb27189b2331590cf44c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6318f1fede1ada1fcfa6597ddb284c71b9cf0cabeaddb27189b2331590cf44c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6318f1fede1ada1fcfa6597ddb284c71b9cf0cabeaddb27189b2331590cf44c", kill_on_drop: false }` [INFO] [stdout] a6318f1fede1ada1fcfa6597ddb284c71b9cf0cabeaddb27189b2331590cf44c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e7f5c516fb514f995b50281ddd2822a9f04b57bad270a44aec142dc6cc99b10 [INFO] running `Command { std: "docker" "start" "-a" "4e7f5c516fb514f995b50281ddd2822a9f04b57bad270a44aec142dc6cc99b10", kill_on_drop: false }` [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 signal-hook v0.1.17 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossterm v0.16.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [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 3.31s [INFO] running `Command { std: "docker" "inspect" "4e7f5c516fb514f995b50281ddd2822a9f04b57bad270a44aec142dc6cc99b10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e7f5c516fb514f995b50281ddd2822a9f04b57bad270a44aec142dc6cc99b10", kill_on_drop: false }` [INFO] [stdout] 4e7f5c516fb514f995b50281ddd2822a9f04b57bad270a44aec142dc6cc99b10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfc80acd8024da9ea4a876bf94e99964eb2bc5eb3ea747125093de42be6ffccc [INFO] running `Command { std: "docker" "start" "-a" "dfc80acd8024da9ea4a876bf94e99964eb2bc5eb3ea747125093de42be6ffccc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Compiling pso v0.2.0 (/opt/rustwide/workdir) [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 2.73s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/pso-532e6931258cad01) [INFO] running `Command { std: "docker" "inspect" "dfc80acd8024da9ea4a876bf94e99964eb2bc5eb3ea747125093de42be6ffccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfc80acd8024da9ea4a876bf94e99964eb2bc5eb3ea747125093de42be6ffccc", kill_on_drop: false }` [INFO] [stdout] dfc80acd8024da9ea4a876bf94e99964eb2bc5eb3ea747125093de42be6ffccc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9da1b0a2a4922cff8473c80757d65b7634724d3d01a544f2048999251543811f [INFO] running `Command { std: "docker" "start" "-a" "9da1b0a2a4922cff8473c80757d65b7634724d3d01a544f2048999251543811f", 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.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pso-532e6931258cad01) [INFO] [stdout] [INFO] [stdout] running 4 tests [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] 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] 4Optimization 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] 256 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] 0.0000000000694435866324927 [4.7366194856581174e-6, 1.8600846285248156e-6, -2.5726552235928467e-6, -3.480778306705557e-7, -6.066992218522977e-6] [INFO] [stdout] test tests::super_simple ... ok [INFO] [stdout] 0.0000000009067097732013012 [0.9999987055798814, 1.0000003262104333, 0.9999935829908889, 1.0000020129148466, 1.0000293206071629] [INFO] [stdout] test tests::mut_cost_fn ... ok [INFO] [stdout] 0.00000000029749578328110545 [1.0000057485450298, 1.0000123573026884, 0.9999948705617118, 0.999992285392568, 1.0000050912452902] [INFO] [stdout] test tests::advanced ... ok [INFO] [stdout] 0.00000000000000000000000000000018321080892477432 [1.3444061062013492e-31, 3.0068342712184264e-32, -1.8701855592455114e-32] [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 5.60s [INFO] [stdout] [INFO] [stderr] Doc-tests pso [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/optimizer/job_config.rs - optimizer::job_config::JobConfig (line 19) ... ok [INFO] [stdout] test src/optimizer/swarm/swarm_config.rs - optimizer::swarm::swarm_config::SwarmConfig (line 20) ... 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 1.76s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9da1b0a2a4922cff8473c80757d65b7634724d3d01a544f2048999251543811f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9da1b0a2a4922cff8473c80757d65b7634724d3d01a544f2048999251543811f", kill_on_drop: false }` [INFO] [stdout] 9da1b0a2a4922cff8473c80757d65b7634724d3d01a544f2048999251543811f