[INFO] fetching crate proportionate_selector 0.1.2... [INFO] testing proportionate_selector-0.1.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate proportionate_selector 0.1.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate proportionate_selector 0.1.2 [INFO] finished tweaking crates.io crate proportionate_selector 0.1.2 [INFO] tweaked toml for crates.io crate proportionate_selector 0.1.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate proportionate_selector 0.1.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca5802ffcfc7089da112653829aeda1ab7ff673e09f31a60ef1d0e6af16561a3 [INFO] running `Command { std: "docker" "start" "-a" "ca5802ffcfc7089da112653829aeda1ab7ff673e09f31a60ef1d0e6af16561a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca5802ffcfc7089da112653829aeda1ab7ff673e09f31a60ef1d0e6af16561a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca5802ffcfc7089da112653829aeda1ab7ff673e09f31a60ef1d0e6af16561a3", kill_on_drop: false }` [INFO] [stdout] ca5802ffcfc7089da112653829aeda1ab7ff673e09f31a60ef1d0e6af16561a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d94e0cc335034bc466889856ed7a2165b8cafb190acaf296541aa7bcaf199398 [INFO] running `Command { std: "docker" "start" "-a" "d94e0cc335034bc466889856ed7a2165b8cafb190acaf296541aa7bcaf199398", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling proportionate_selector v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:304:40 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn sample(&'_a self) -> Option<&T> { [INFO] [stdout] | --- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_a` [INFO] [stdout] | [INFO] [stdout] 304 | pub fn sample(&'_a self) -> Option<&'_a T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.39s [INFO] running `Command { std: "docker" "inspect" "d94e0cc335034bc466889856ed7a2165b8cafb190acaf296541aa7bcaf199398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d94e0cc335034bc466889856ed7a2165b8cafb190acaf296541aa7bcaf199398", kill_on_drop: false }` [INFO] [stdout] d94e0cc335034bc466889856ed7a2165b8cafb190acaf296541aa7bcaf199398 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26e833cc3be0cbc6d06d59ba531be101eda560589ccc07343d58ba479e9a67fa [INFO] running `Command { std: "docker" "start" "-a" "26e833cc3be0cbc6d06d59ba531be101eda560589ccc07343d58ba479e9a67fa", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:304:40 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn sample(&'_a self) -> Option<&T> { [INFO] [stdout] | --- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_a` [INFO] [stdout] | [INFO] [stdout] 304 | pub fn sample(&'_a self) -> Option<&'_a T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling kolmogorov_smirnov v1.1.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling proportionate_selector v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:304:40 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn sample(&'_a self) -> Option<&T> { [INFO] [stdout] | --- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_a` [INFO] [stdout] | [INFO] [stdout] 304 | pub fn sample(&'_a self) -> Option<&'_a T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.77s [INFO] running `Command { std: "docker" "inspect" "26e833cc3be0cbc6d06d59ba531be101eda560589ccc07343d58ba479e9a67fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26e833cc3be0cbc6d06d59ba531be101eda560589ccc07343d58ba479e9a67fa", kill_on_drop: false }` [INFO] [stdout] 26e833cc3be0cbc6d06d59ba531be101eda560589ccc07343d58ba479e9a67fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ebfcca5de00cf5df926cd91c91ed72243d10cceda7fd32637ce40057daa50295 [INFO] running `Command { std: "docker" "start" "-a" "ebfcca5de00cf5df926cd91c91ed72243d10cceda7fd32637ce40057daa50295", kill_on_drop: false }` [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:304:40 [INFO] [stderr] | [INFO] [stderr] 304 | pub fn sample(&'_a self) -> Option<&T> { [INFO] [stderr] | --- ^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'_a` [INFO] [stderr] | [INFO] [stderr] 304 | pub fn sample(&'_a self) -> Option<&'_a T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `proportionate_selector` (lib) generated 1 warning (run `cargo fix --lib -p proportionate_selector` to apply 1 suggestion) [INFO] [stderr] warning: `proportionate_selector` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/proportionate_selector-9b26a9c9f64b3ef9) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::linear_sampling ... ok [INFO] [stdout] test tests::cfd_sampling ... ok [INFO] [stdout] test tests::stochastic_sampling ... ok [INFO] [stderr] Doc-tests proportionate_selector [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.25s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - DiscreteDistribution<'_a,T>::new (line 165) ... ok [INFO] [stdout] test src/lib.rs - (line 38) ... ok [INFO] [stdout] test src/util.rs - util::convert (line 38) ... ok [INFO] [stdout] test src/util.rs - util::bisect_left (line 7) ... ok [INFO] [stdout] test src/lib.rs - DiscreteDistribution<'_a,T>::sample (line 266) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ebfcca5de00cf5df926cd91c91ed72243d10cceda7fd32637ce40057daa50295", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebfcca5de00cf5df926cd91c91ed72243d10cceda7fd32637ce40057daa50295", kill_on_drop: false }` [INFO] [stdout] ebfcca5de00cf5df926cd91c91ed72243d10cceda7fd32637ce40057daa50295