[INFO] crate pso 0.2.0 is already in cache [INFO] testing pso-0.2.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate pso 0.2.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate pso 0.2.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", 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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 782402eccca6929e2ab54e4b6ec8f93408d0179af71da5de9476e14d0b6603e0 [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" "782402eccca6929e2ab54e4b6ec8f93408d0179af71da5de9476e14d0b6603e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "782402eccca6929e2ab54e4b6ec8f93408d0179af71da5de9476e14d0b6603e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "782402eccca6929e2ab54e4b6ec8f93408d0179af71da5de9476e14d0b6603e0", kill_on_drop: false }` [INFO] [stdout] 782402eccca6929e2ab54e4b6ec8f93408d0179af71da5de9476e14d0b6603e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6697d194649390721c607ce137148a0e4351926195fb79c603641793eae61135 [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" "6697d194649390721c607ce137148a0e4351926195fb79c603641793eae61135", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.22 [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 signal-hook v0.1.16 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.81s [INFO] running `Command { std: "docker" "inspect" "6697d194649390721c607ce137148a0e4351926195fb79c603641793eae61135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6697d194649390721c607ce137148a0e4351926195fb79c603641793eae61135", kill_on_drop: false }` [INFO] [stdout] 6697d194649390721c607ce137148a0e4351926195fb79c603641793eae61135 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cedf5c6b073aa7af03713f344735a91cc6cb4c3f553d8fc61f671123d4aac80 [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" "0cedf5c6b073aa7af03713f344735a91cc6cb4c3f553d8fc61f671123d4aac80", kill_on_drop: false }` [INFO] [stderr] Compiling pso v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.11s [INFO] running `Command { std: "docker" "inspect" "0cedf5c6b073aa7af03713f344735a91cc6cb4c3f553d8fc61f671123d4aac80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cedf5c6b073aa7af03713f344735a91cc6cb4c3f553d8fc61f671123d4aac80", kill_on_drop: false }` [INFO] [stdout] 0cedf5c6b073aa7af03713f344735a91cc6cb4c3f553d8fc61f671123d4aac80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6325a652a962331252716fb4435614322177521bfe01ef8f5a90b4d00c6807dc [INFO] running `Command { std: "docker" "start" "-a" "6325a652a962331252716fb4435614322177521bfe01ef8f5a90b4d00c6807dc", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pso-60ff74c27bc72ff9 [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] 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: [ (-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.0000000005034507967331816 [0.000006417627027507176, 0.000004676741181416356, -0.000009513873325224693, -0.00001498428700314881, 0.000011195995237131846] [INFO] [stdout] test tests::super_simple ... ok [INFO] [stdout] swarm_4 false iter 250 0.0000402239 @ [0.000007, -0.000002, 0.000030] [INFO] [stdout] 0.00000000014000500429194867 [0.9999986688095956, 0.999994781152147, 0.9999909816833904, 1.000003372579315, 0.9999957230574261] [INFO] [stdout] test tests::mut_cost_fn ... ok [INFO] [stdout] swarm_6 false iter 250 0.0022260969 @ [-0.001922, -0.000023, -0.000281] [INFO] [stdout] swarm_5 true iter 250 0.0000402239 @ [0.000007, -0.000002, 0.000030] [INFO] [stdout] swarm_3 true iter 250 0.0005176639 @ [-0.000029, 0.000124, -0.000365] [INFO] [stdout] swarm_7 true iter 250 0.0000402239 @ [0.000007, -0.000002, 0.000030] [INFO] [stdout] swarm_1 false iter 250 0.0000402239 @ [0.000007, -0.000002, 0.000030] [INFO] [stdout] swarm_2 true iter 250 0.0022184880 @ [-0.001420, -0.000633, 0.000165] [INFO] [stdout] swarm_0 true iter 250 0.0011401362 @ [-0.000226, 0.000911, -0.000003] [INFO] [stdout] 0.00000000025562061984648775 [0.9999972478876102, 0.999990398274698, 0.9999960247308394, 0.9999932559206596, 0.9999902753921716] [INFO] [stdout] test tests::advanced ... ok [INFO] [stdout] swarm_4 true iter 500 0.0000000000 @ [-0.000000, 0.000000, -0.000000] [INFO] [stdout] swarm_5 false iter 500 0.0000000000 @ [-0.000000, 0.000000, 0.000000] [INFO] [stdout] swarm_0 true iter 500 0.0000000000 @ [0.000000, 0.000000, 0.000000] [INFO] [stdout] swarm_1 true iter 500 0.0000000000 @ [0.000000, 0.000000, 0.000000] [INFO] [stdout] swarm_6 true iter 500 0.0000000000 @ [0.000000, 0.000000, 0.000000] [INFO] [stdout] swarm_7 true iter 500 0.0000000000 @ [0.000000, 0.000000, 0.000000] [INFO] [stdout] swarm_2 true iter 500 0.0000000000 @ [0.000000, 0.000000, 0.000000] [INFO] [stdout] swarm_3 false iter 500 0.0000000000 @ [0.000000, 0.000000, 0.000000] [INFO] [stdout] swarm_4 true iter 750 0.0000000000 @ [0.000000, -0.000000, -0.000000] [INFO] [stdout] swarm_0 true iter 750 0.0000000000 @ [0.000000, 0.000000, -0.000000] [INFO] [stdout] swarm_5 true iter 750 0.0000000000 @ [0.000000, -0.000000, -0.000000] [INFO] [stdout] swarm_7 false iter 750 0.0000000000 @ [0.000000, 0.000000, 0.000000] [INFO] [stdout] swarm_3 true iter 750 0.0000000000 @ [-0.000000, -0.000000, -0.000000] [INFO] [stdout] swarm_2 false iter 750 0.0000000000 @ [-0.000000, 0.000000, 0.000000] [INFO] [stdout] swarm_1 true iter 750 0.0000000000 @ [0.000000, 0.000000, -0.000000] [INFO] [stdout] swarm_6 false iter 750 0.0000000000 @ [0.000000, 0.000000, 0.000000] [INFO] [stdout] swarm_4 false iter 1000 0.0000000000 @ [0.000000, -0.000000, -0.000000] [INFO] [stdout] swarm_0 false iter 1000 0.0000000000 @ [-0.000000, 0.000000, 0.000000] [INFO] [stdout] swarm_2 false iter 1000 0.0000000000 @ [-0.000000, -0.000000, 0.000000] [INFO] [stdout] swarm_5 false iter 1000 0.0000000000 @ [-0.000000, -0.000000, -0.000000] [INFO] [stdout] swarm_6 false iter 1000 0.0000000000 @ [-0.000000, 0.000000, 0.000000] [INFO] [stdout] swarm_7 false iter 1000 0.0000000000 @ [0.000000, -0.000000, -0.000000] [INFO] [stdout] swarm_3 false iter 1000 0.0000000000 @ [-0.000000, -0.000000, -0.000000] [INFO] [stdout] swarm_1 false iter 1000 0.0000000000 @ [0.000000, -0.000000, -0.000000] [INFO] [stdout] 0.00000000000000024637698836960074 [0.00000000000000020779804270481068, 0.000000000000000020598250228138573, 0.000000000000000017980695436651493] [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 [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6325a652a962331252716fb4435614322177521bfe01ef8f5a90b4d00c6807dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6325a652a962331252716fb4435614322177521bfe01ef8f5a90b4d00c6807dc", kill_on_drop: false }` [INFO] [stdout] 6325a652a962331252716fb4435614322177521bfe01ef8f5a90b4d00c6807dc