[INFO] cloning repository https://github.com/vkuznetsov/mbtree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vkuznetsov/mbtree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvkuznetsov%2Fmbtree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvkuznetsov%2Fmbtree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53bcbf90a516eadce95a04daf3b1b91adabdab9b [INFO] testing vkuznetsov/mbtree against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvkuznetsov%2Fmbtree" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vkuznetsov/mbtree [INFO] finished tweaking git repo https://github.com/vkuznetsov/mbtree [INFO] tweaked toml for git repo https://github.com/vkuznetsov/mbtree written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vkuznetsov/mbtree on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vkuznetsov/mbtree 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded predicates v2.1.3 [INFO] [stderr] Downloaded priority-queue v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eac4c6c8af7a40378209bcf85dd855e6a94966c9c6a022e0edc0feb9b3187076 [INFO] running `Command { std: "docker" "start" "-a" "eac4c6c8af7a40378209bcf85dd855e6a94966c9c6a022e0edc0feb9b3187076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eac4c6c8af7a40378209bcf85dd855e6a94966c9c6a022e0edc0feb9b3187076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac4c6c8af7a40378209bcf85dd855e6a94966c9c6a022e0edc0feb9b3187076", kill_on_drop: false }` [INFO] [stdout] eac4c6c8af7a40378209bcf85dd855e6a94966c9c6a022e0edc0feb9b3187076 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0109f250bfd1bc3867a4c37e2e84aa0c4eae0377c2edf74606cd7307cc2379f [INFO] running `Command { std: "docker" "start" "-a" "b0109f250bfd1bc3867a4c37e2e84aa0c4eae0377c2edf74606cd7307cc2379f", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling priority-queue v1.3.0 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling mbtree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/mm_io/mod.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | IoErr(std::io::Error, &'a str), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 24 - IoErr(std::io::Error, &'a str), [INFO] [stdout] 24 + IoErr((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mm_io/mod.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | MmapErr(&'a str), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 - MmapErr(&'a str), [INFO] [stdout] 25 + MmapErr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mm_io/mod.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | TooLargeFile(u64), [INFO] [stdout] | ------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 - TooLargeFile(u64), [INFO] [stdout] 26 + TooLargeFile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Offset` is never used [INFO] [stdout] --> src/page/mod.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Offset = u16; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/page/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const PAGE_SIZE: usize = 8192; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OFFSET_SIZE` is never used [INFO] [stdout] --> src/page/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const OFFSET_SIZE: usize = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_HEADER_SIZE` is never used [INFO] [stdout] --> src/page/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const PAGE_HEADER_SIZE: usize = OFFSET_SIZE * 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DATA_SIZE` is never used [INFO] [stdout] --> src/page/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const DATA_SIZE: usize = PAGE_SIZE - PAGE_HEADER_SIZE; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_OFFSET` is never used [INFO] [stdout] --> src/page/mod.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MAX_OFFSET: Offset = PAGE_SIZE as Offset; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_OFFSET` is never used [INFO] [stdout] --> src/page/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MIN_OFFSET: Offset = PAGE_HEADER_SIZE as Offset; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/page/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageHeader` is never constructed [INFO] [stdout] --> src/page/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct PageHeader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Page` is never constructed [INFO] [stdout] --> src/page/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Page { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add`, `get`, `mut_header`, and `header` are never used [INFO] [stdout] --> src/page/mod.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Page { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 44 | pub fn add(&mut self, item: T) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get(&self, idx: usize) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn mut_header(&mut self) -> &mut PageHeader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn header(&self) -> &PageHeader { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mm_io/mod.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(filepath: &Path) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(filepath: &Path) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mm_io/mod.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn insert_at(&mut self, value: &T, idx: usize) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn insert_at(&mut self, value: &T, idx: usize) -> Result<(), Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mm_io/mod.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn read_at(&self, idx: usize) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn read_at(&self, idx: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "b0109f250bfd1bc3867a4c37e2e84aa0c4eae0377c2edf74606cd7307cc2379f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0109f250bfd1bc3867a4c37e2e84aa0c4eae0377c2edf74606cd7307cc2379f", kill_on_drop: false }` [INFO] [stdout] b0109f250bfd1bc3867a4c37e2e84aa0c4eae0377c2edf74606cd7307cc2379f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43d3ba1787aa57039a061e7f63d8d437d3485334807298dbb623679f390ed900 [INFO] running `Command { std: "docker" "start" "-a" "43d3ba1787aa57039a061e7f63d8d437d3485334807298dbb623679f390ed900", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling predicates-core v1.0.5 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termtree v0.4.0 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling predicates-tree v1.0.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stdout] error[E0635]: unknown feature `proc_macro_span_shrink` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.47/src/lib.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | feature(proc_macro_span, proc_macro_span_shrink) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `proc-macro2` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "43d3ba1787aa57039a061e7f63d8d437d3485334807298dbb623679f390ed900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43d3ba1787aa57039a061e7f63d8d437d3485334807298dbb623679f390ed900", kill_on_drop: false }` [INFO] [stdout] 43d3ba1787aa57039a061e7f63d8d437d3485334807298dbb623679f390ed900