[INFO] fetching crate pso 0.2.0... [INFO] testing pso-0.2.0 against 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook v0.1.17 [INFO] [stderr] Downloaded crossterm_winapi v0.6.2 [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-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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb1a23d8a1071f886c49c0229ba230a0cd8c157d626d921394be8c73d52c78d2 [INFO] running `Command { std: "docker" "start" "-a" "eb1a23d8a1071f886c49c0229ba230a0cd8c157d626d921394be8c73d52c78d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb1a23d8a1071f886c49c0229ba230a0cd8c157d626d921394be8c73d52c78d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb1a23d8a1071f886c49c0229ba230a0cd8c157d626d921394be8c73d52c78d2", kill_on_drop: false }` [INFO] [stdout] eb1a23d8a1071f886c49c0229ba230a0cd8c157d626d921394be8c73d52c78d2 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e33a8dc810718b753570e99c6b830cc02f890df518ad05e2e956be93b042a89 [INFO] running `Command { std: "docker" "start" "-a" "9e33a8dc810718b753570e99c6b830cc02f890df518ad05e2e956be93b042a89", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling crossterm v0.16.0 [INFO] [stderr] Compiling rand_core v0.5.1 [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 5.19s [INFO] running `Command { std: "docker" "inspect" "9e33a8dc810718b753570e99c6b830cc02f890df518ad05e2e956be93b042a89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e33a8dc810718b753570e99c6b830cc02f890df518ad05e2e956be93b042a89", kill_on_drop: false }` [INFO] [stdout] 9e33a8dc810718b753570e99c6b830cc02f890df518ad05e2e956be93b042a89 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cf1f4634f2cb0574b204029d81c121dbf9f16331a451d2a0c97dafb76d03ca9 [INFO] running `Command { std: "docker" "start" "-a" "9cf1f4634f2cb0574b204029d81c121dbf9f16331a451d2a0c97dafb76d03ca9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 3.47s [INFO] running `Command { std: "docker" "inspect" "9cf1f4634f2cb0574b204029d81c121dbf9f16331a451d2a0c97dafb76d03ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cf1f4634f2cb0574b204029d81c121dbf9f16331a451d2a0c97dafb76d03ca9", kill_on_drop: false }` [INFO] [stdout] 9cf1f4634f2cb0574b204029d81c121dbf9f16331a451d2a0c97dafb76d03ca9 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7211400c334d7dc88dc95093a97d7873d1833054249e6420ee19de52609620ad [INFO] running `Command { std: "docker" "start" "-a" "7211400c334d7dc88dc95093a97d7873d1833054249e6420ee19de52609620ad", 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.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pso-863d079978ea152d) [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] 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] 4Optimization 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] 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] 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] 0.000000000573028742514146 [1.792356618386389e-5, 7.838899922192635e-6, -8.657376625125145e-6, 8.745073731649514e-6, -6.236960892565824e-6] [INFO] [stdout] test tests::super_simple ... ok [INFO] [stdout] 0.0000000004974634489536245 [0.999986948379092, 1.0000104964760237, 0.9999928209259207, 1.0000128396396677, 0.9999992602836503] [INFO] [stdout] test tests::mut_cost_fn ... ok [INFO] [stdout] 0.00000000037000592402307006 [0.9999889880419441, 0.9999924931715973, 0.9999864719919409, 0.9999983568048666, 0.9999974148232481] [INFO] [stdout] test tests::advanced ... ok [INFO] [stdout] 0.0000000000000000000000000000006142086471709578 [-4.361597700945289e-31, -5.749914936995648e-32, -1.205497277064724e-31] [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.27s [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 1.53s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7211400c334d7dc88dc95093a97d7873d1833054249e6420ee19de52609620ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7211400c334d7dc88dc95093a97d7873d1833054249e6420ee19de52609620ad", kill_on_drop: false }` [INFO] [stdout] 7211400c334d7dc88dc95093a97d7873d1833054249e6420ee19de52609620ad