[INFO] fetching crate mtbl 0.2.1... [INFO] checking mtbl-0.2.1 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate mtbl 0.2.1 into /workspace/builds/worker-61/source [INFO] validating manifest of crates.io crate mtbl 0.2.1 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mtbl 0.2.1 [INFO] finished tweaking crates.io crate mtbl 0.2.1 [INFO] tweaked toml for crates.io crate mtbl 0.2.1 written to /workspace/builds/worker-61/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f83257ddb18322e7fb55c27a52d3c5173d3fba6074923b631dd5e73a7ae818a2 [INFO] running `Command { std: "docker" "start" "-a" "f83257ddb18322e7fb55c27a52d3c5173d3fba6074923b631dd5e73a7ae818a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f83257ddb18322e7fb55c27a52d3c5173d3fba6074923b631dd5e73a7ae818a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f83257ddb18322e7fb55c27a52d3c5173d3fba6074923b631dd5e73a7ae818a2", kill_on_drop: false }` [INFO] [stdout] f83257ddb18322e7fb55c27a52d3c5173d3fba6074923b631dd5e73a7ae818a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94398d62c2561054ad09d8eda1b46309f18f6b1f4d248ee271c829af8ebcefd2 [INFO] running `Command { std: "docker" "start" "-a" "94398d62c2561054ad09d8eda1b46309f18f6b1f4d248ee271c829af8ebcefd2", kill_on_drop: false }` [INFO] [stderr] Compiling lz4-sys v1.9.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking mtbl-sys v0.2.0 [INFO] [stderr] Checking mtbl v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/merger.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | pub type MergeFn = Fn(&[u8], &[u8], &[u8]) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8], &[u8], &[u8]) -> Vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/merger.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | _sources: Vec>, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | impl<'a> IntoIterator for &'a Read { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sorter.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | try!(self.add(k.as_ref(), v.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/writer.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | _file: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writer.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | try!(self.add(k.as_ref(), v.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking lz4 v1.23.2 [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> benches/lib.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> benches/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> benches/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> benches/lib.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | fn bench_get(bench: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> benches/lib.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | bench.iter(|| reader.get(format!("{:09}", range_gen.ind_sample(&mut rng)))); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/merger.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | pub type MergeFn = Fn(&[u8], &[u8], &[u8]) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8], &[u8], &[u8]) -> Vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/merger.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | _sources: Vec>, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | impl<'a> IntoIterator for &'a Read { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:411:35 [INFO] [stdout] | [INFO] [stdout] 411 | for (k, v) in &reader as &Read { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sorter.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | try!(self.add(k.as_ref(), v.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/writer.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | _file: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writer.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | try!(self.add(k.as_ref(), v.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `rand::distributions::Range<{integer}>` [INFO] [stdout] --> benches/lib.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let range_gen = Range::new(0, n_keys); [INFO] [stdout] | --------- ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `range_gen` the explicit type `rand::distributions::Range<{integer}>`, where the type parameter `{integer}` is specified [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SampleRange` found in the `rand` crate: [INFO] [stdout] - impl SampleRange for i16; [INFO] [stdout] - impl SampleRange for i32; [INFO] [stdout] - impl SampleRange for i64; [INFO] [stdout] - impl SampleRange for i8; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `rand::distributions::Range::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.4.6/src/distributions/range.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | impl Range { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `rand::distributions::Range::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `rand::distributions::Range<{integer}>` [INFO] [stdout] --> benches/lib.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 24 | let range_gen = Range::new(0, n_keys); [INFO] [stdout] | --------- consider giving `range_gen` the explicit type `rand::distributions::Range<{integer}>`, where the type parameter `{integer}` is specified [INFO] [stdout] 25 | bench.iter(|| reader.get(format!("{:09}", range_gen.ind_sample(&mut rng)))); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SampleRange` found in the `rand` crate: [INFO] [stdout] - impl SampleRange for i16; [INFO] [stdout] - impl SampleRange for i32; [INFO] [stdout] - impl SampleRange for i64; [INFO] [stdout] - impl SampleRange for i8; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `Sample<{integer}>` for `rand::distributions::Range<{integer}>` [INFO] [stdout] note: required by a bound in `ind_sample` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.4.6/src/distributions/mod.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait IndependentSample: Sample { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `ind_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mtbl` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "94398d62c2561054ad09d8eda1b46309f18f6b1f4d248ee271c829af8ebcefd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94398d62c2561054ad09d8eda1b46309f18f6b1f4d248ee271c829af8ebcefd2", kill_on_drop: false }` [INFO] [stdout] 94398d62c2561054ad09d8eda1b46309f18f6b1f4d248ee271c829af8ebcefd2