[INFO] cloning repository https://github.com/rauljordan/storage-optimization-problem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rauljordan/storage-optimization-problem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frauljordan%2Fstorage-optimization-problem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frauljordan%2Fstorage-optimization-problem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 315dbd0fda43585f084106f1a97ce85b35fe64e3 [INFO] testing rauljordan/storage-optimization-problem against master#ff2c56344c764af598ad33027e9c7a48881808ef for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frauljordan%2Fstorage-optimization-problem" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rauljordan/storage-optimization-problem on toolchain ff2c56344c764af598ad33027e9c7a48881808ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rauljordan/storage-optimization-problem [INFO] finished tweaking git repo https://github.com/rauljordan/storage-optimization-problem [INFO] tweaked toml for git repo https://github.com/rauljordan/storage-optimization-problem written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rauljordan/storage-optimization-problem already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2824c94c168db0067c7185cbbec2f78ecf196003c9d1649cfdee74ce670a1a01 [INFO] running `Command { std: "docker" "start" "-a" "2824c94c168db0067c7185cbbec2f78ecf196003c9d1649cfdee74ce670a1a01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2824c94c168db0067c7185cbbec2f78ecf196003c9d1649cfdee74ce670a1a01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2824c94c168db0067c7185cbbec2f78ecf196003c9d1649cfdee74ce670a1a01", kill_on_drop: false }` [INFO] [stdout] 2824c94c168db0067c7185cbbec2f78ecf196003c9d1649cfdee74ce670a1a01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 481ea3212e59cb4f26d6f4be50777e0b4336bead210586a2372b40c820c49068 [INFO] running `Command { std: "docker" "start" "-a" "481ea3212e59cb4f26d6f4be50777e0b4336bead210586a2372b40c820c49068", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ordered-float v3.7.0 [INFO] [stderr] Compiling storage-optimization-problem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/three_tier.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl KarlinInstance { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 44 | pub fn new(costs: Costs) -> KarlinInstance { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/three_tier.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 117 | / impl OfflineInstance [INFO] [stdout] 118 | | where [INFO] [stdout] 119 | | T: Iterator, [INFO] [stdout] | |____________________________- associated function in this implementation [INFO] [stdout] 120 | { [INFO] [stdout] 121 | pub fn new(costs: Costs, access_list: Peekable) -> OfflineInstance { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_competitive_ratio` is never used [INFO] [stdout] --> src/three_tier.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn calculate_competitive_ratio( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.64s [INFO] running `Command { std: "docker" "inspect" "481ea3212e59cb4f26d6f4be50777e0b4336bead210586a2372b40c820c49068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "481ea3212e59cb4f26d6f4be50777e0b4336bead210586a2372b40c820c49068", kill_on_drop: false }` [INFO] [stdout] 481ea3212e59cb4f26d6f4be50777e0b4336bead210586a2372b40c820c49068 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17445f090ea9ada2fafed1a475e4a547493bd17be2762c203c392da16c0b1858 [INFO] running `Command { std: "docker" "start" "-a" "17445f090ea9ada2fafed1a475e4a547493bd17be2762c203c392da16c0b1858", kill_on_drop: false }` [INFO] [stderr] Compiling storage-optimization-problem v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "17445f090ea9ada2fafed1a475e4a547493bd17be2762c203c392da16c0b1858", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17445f090ea9ada2fafed1a475e4a547493bd17be2762c203c392da16c0b1858", kill_on_drop: false }` [INFO] [stdout] 17445f090ea9ada2fafed1a475e4a547493bd17be2762c203c392da16c0b1858 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 15278e044b10945d30ad111746429024a35527ad4854eef54facb2c84e043aee [INFO] running `Command { std: "docker" "start" "-a" "15278e044b10945d30ad111746429024a35527ad4854eef54facb2c84e043aee", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/storage_optimization_problem-c3f89def44480aca) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test karlin::test::karlin_expected_value ... ok [INFO] [stdout] test two_tier::test::two_competitive ... ok [INFO] [stdout] test two_tier::test::randomized_competitive ... ok [INFO] [stdout] test three_tier::test::three_tier_instance ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "15278e044b10945d30ad111746429024a35527ad4854eef54facb2c84e043aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15278e044b10945d30ad111746429024a35527ad4854eef54facb2c84e043aee", kill_on_drop: false }` [INFO] [stdout] 15278e044b10945d30ad111746429024a35527ad4854eef54facb2c84e043aee