[INFO] fetching crate mozpdb 0.2.7... [INFO] testing mozpdb-0.2.7 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate mozpdb 0.2.7 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate mozpdb 0.2.7 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mozpdb 0.2.7 [INFO] finished tweaking crates.io crate mozpdb 0.2.7 [INFO] tweaked toml for crates.io crate mozpdb 0.2.7 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate mozpdb 0.2.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a89a2bd9da1fed5268193b69e50433778e0fdd506e192e3a55bdff256e8183c [INFO] running `Command { std: "docker" "start" "-a" "0a89a2bd9da1fed5268193b69e50433778e0fdd506e192e3a55bdff256e8183c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a89a2bd9da1fed5268193b69e50433778e0fdd506e192e3a55bdff256e8183c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a89a2bd9da1fed5268193b69e50433778e0fdd506e192e3a55bdff256e8183c", kill_on_drop: false }` [INFO] [stdout] 0a89a2bd9da1fed5268193b69e50433778e0fdd506e192e3a55bdff256e8183c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31f90e668602149e6ef637cc3c0162b9465d0745ec13b5a1de221714c2f25cb7 [INFO] running `Command { std: "docker" "start" "-a" "31f90e668602149e6ef637cc3c0162b9465d0745ec13b5a1de221714c2f25cb7", kill_on_drop: false }` [INFO] [stderr] Compiling uuid v0.5.0 [INFO] [stderr] Compiling fallible-iterator v0.1.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling scroll_derive v0.9.1 [INFO] [stderr] Compiling scroll v0.9.0 [INFO] [stderr] Compiling mozpdb v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/msf/mod.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | Available { stream_table_view: Box> } [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SourceView<'s>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/msf/mod.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn view<'s>(source: &mut Source<'s>, page_list: &PageList) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Source<'s>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/msf/mod.rs:54:74 [INFO] [stdout] | [INFO] [stdout] 54 | fn view<'s>(source: &mut Source<'s>, page_list: &PageList) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SourceView<'s>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/msf/mod.rs:93:48 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new(source: S, header_view: Box) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn SourceView` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/msf/mod.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 314 | source_view: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SourceView<'s>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/msf/mod.rs:335:70 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn open_msf<'s, S: Source<'s> + 's>(mut source: S) -> Result + 's>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MSF<'s, S> + 's` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pdb.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | msf: Box + 's>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MSF<'s, S> + 's` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source.rs:52:62 [INFO] [stdout] | [INFO] [stdout] 52 | fn view(&mut self, slices: &[SourceSlice]) -> Result>, io::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SourceView<'s>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source.rs:84:62 [INFO] [stdout] | [INFO] [stdout] 84 | fn view(&mut self, slices: &[SourceSlice]) -> Result>, io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SourceView<'s>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/common.rs:86:40 [INFO] [stdout] | [INFO] [stdout] 86 | Error::IoError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/common.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | Error::ScrollError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on `Self: Drop` are useless, consider instead using `std::mem::needs_drop` to detect if a type has a destructor [INFO] [stdout] --> src/source.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait SourceView<'s>: Drop + fmt::Debug { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(drop_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.22s [INFO] running `Command { std: "docker" "inspect" "31f90e668602149e6ef637cc3c0162b9465d0745ec13b5a1de221714c2f25cb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f90e668602149e6ef637cc3c0162b9465d0745ec13b5a1de221714c2f25cb7", kill_on_drop: false }` [INFO] [stdout] 31f90e668602149e6ef637cc3c0162b9465d0745ec13b5a1de221714c2f25cb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6dea5bd7f32813d7add1b6bfde944f68da307717e8dc2dceaeb24ec24722601 [INFO] running `Command { std: "docker" "start" "-a" "f6dea5bd7f32813d7add1b6bfde944f68da307717e8dc2dceaeb24ec24722601", kill_on_drop: false }` [INFO] [stderr] Compiling getopts v0.2.14 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/msf/mod.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | Available { stream_table_view: Box> } [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SourceView<'s>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/msf/mod.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn view<'s>(source: &mut Source<'s>, page_list: &PageList) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Source<'s>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/msf/mod.rs:54:74 [INFO] [stdout] | [INFO] [stdout] 54 | fn view<'s>(source: &mut Source<'s>, page_list: &PageList) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SourceView<'s>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/msf/mod.rs:93:48 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new(source: S, header_view: Box) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn SourceView` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/msf/mod.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 314 | source_view: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SourceView<'s>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/msf/mod.rs:335:70 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn open_msf<'s, S: Source<'s> + 's>(mut source: S) -> Result + 's>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MSF<'s, S> + 's` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pdb.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | msf: Box + 's>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MSF<'s, S> + 's` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source.rs:52:62 [INFO] [stdout] | [INFO] [stdout] 52 | fn view(&mut self, slices: &[SourceSlice]) -> Result>, io::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SourceView<'s>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source.rs:84:62 [INFO] [stdout] | [INFO] [stdout] 84 | fn view(&mut self, slices: &[SourceSlice]) -> Result>, io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SourceView<'s>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/common.rs:86:40 [INFO] [stdout] | [INFO] [stdout] 86 | Error::IoError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/common.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | Error::ScrollError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on `Self: Drop` are useless, consider instead using `std::mem::needs_drop` to detect if a type has a destructor [INFO] [stdout] --> src/source.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait SourceView<'s>: Drop + fmt::Debug { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(drop_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0503]: cannot use `state` because it was mutably borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/getopts-0.2.14/src/lib.rs:1008:33 [INFO] [stdout] | [INFO] [stdout] 955 | let mut machine = |cont: &mut bool, (i, c): (usize, char)| { [INFO] [stdout] | ---------------------------------------- borrow of `state` occurs here [INFO] [stdout] ... [INFO] [stdout] 959 | state = match (state, whitespace, limit) { [INFO] [stdout] | ----- borrow occurs due to use of `state` in closure [INFO] [stdout] ... [INFO] [stdout] 1008 | while cont && match state { B | C => true, A => false } { [INFO] [stdout] | ^ use of borrowed `state` [INFO] [stdout] 1009 | machine(&mut cont, (fake_i, ' ')); [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0503`. [INFO] [stdout] [INFO] [stderr] error: could not compile `getopts` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "f6dea5bd7f32813d7add1b6bfde944f68da307717e8dc2dceaeb24ec24722601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6dea5bd7f32813d7add1b6bfde944f68da307717e8dc2dceaeb24ec24722601", kill_on_drop: false }` [INFO] [stdout] f6dea5bd7f32813d7add1b6bfde944f68da307717e8dc2dceaeb24ec24722601