[INFO] fetching crate xplm 0.3.1... [INFO] checking xplm-0.3.1 against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] extracting crate xplm 0.3.1 into /workspace/builds/worker-114/source [INFO] validating manifest of crates.io crate xplm 0.3.1 on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xplm 0.3.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate xplm 0.3.1 [INFO] tweaked toml for crates.io crate xplm 0.3.1 written to /workspace/builds/worker-114/source/Cargo.toml [INFO] crate crates.io crate xplm 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecf3572527ae4cdfa8fe5a7f20a92785e6c34ce238cbe1b2d69703da848d33bb [INFO] running `Command { std: "docker" "start" "-a" "ecf3572527ae4cdfa8fe5a7f20a92785e6c34ce238cbe1b2d69703da848d33bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecf3572527ae4cdfa8fe5a7f20a92785e6c34ce238cbe1b2d69703da848d33bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecf3572527ae4cdfa8fe5a7f20a92785e6c34ce238cbe1b2d69703da848d33bb", kill_on_drop: false }` [INFO] [stdout] ecf3572527ae4cdfa8fe5a7f20a92785e6c34ce238cbe1b2d69703da848d33bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ab43c11a9fc5cb81c5295c1b6ecb7df30fb0c11dc2c2453e6575ee78618a406 [INFO] running `Command { std: "docker" "start" "-a" "6ab43c11a9fc5cb81c5295c1b6ecb7df30fb0c11dc2c2453e6575ee78618a406", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling xplm-sys v0.4.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking xplm v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/flight_loop.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | callback: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FlightLoopCallback` [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/flight_loop.rs:267:28 [INFO] [stdout] | [INFO] [stdout] 267 | let callback_ptr: *mut FlightLoopCallback = (*loop_data).callback.as_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FlightLoopCallback` [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/command.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let name_c = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | let mut data = Box::new(try!(OwnedCommandData::new(name, description, handler))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/command.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommandHandler` [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/command.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | let name_c = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | let description_c = try!(CString::new(description)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/command.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 180 | let handler: *mut CommandHandler = (*data).handler.deref_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommandHandler` [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/data/borrowed/mod.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | let name_c = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data/owned/mod.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let name_c = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data/mod.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | let value_string = try!(buffer.into_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data/mod.rs:137:22 [INFO] [stdout] | [INFO] [stdout] 137 | let name_c = try!(CString::new(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/mod.rs:302:26 [INFO] [stdout] | [INFO] [stdout] 302 | handler: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MenuClickHandler` [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/menu/mod.rs:429:26 [INFO] [stdout] | [INFO] [stdout] 429 | handler: Box>, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn CheckHandler` [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/draw.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | _callback: Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn DrawCallback` [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/window/mod.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | delegate: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn WindowDelegate` [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: `...` range patterns are deprecated [INFO] [stdout] --> src/window/mod.rs:552:25 [INFO] [stdout] | [INFO] [stdout] 552 | b'\t' | b' '...b'~' => Some(key as u8 as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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/flight_loop.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | callback: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FlightLoopCallback` [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/flight_loop.rs:267:28 [INFO] [stdout] | [INFO] [stdout] 267 | let callback_ptr: *mut FlightLoopCallback = (*loop_data).callback.as_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FlightLoopCallback` [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/command.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let name_c = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | let mut data = Box::new(try!(OwnedCommandData::new(name, description, handler))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/command.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | handler: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommandHandler` [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/command.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | let name_c = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | let description_c = try!(CString::new(description)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/command.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 180 | let handler: *mut CommandHandler = (*data).handler.deref_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommandHandler` [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/data/borrowed/mod.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | let name_c = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data/owned/mod.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let name_c = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data/mod.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | let value_string = try!(buffer.into_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data/mod.rs:137:22 [INFO] [stdout] | [INFO] [stdout] 137 | let name_c = try!(CString::new(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/mod.rs:302:26 [INFO] [stdout] | [INFO] [stdout] 302 | handler: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MenuClickHandler` [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/menu/mod.rs:429:26 [INFO] [stdout] | [INFO] [stdout] 429 | handler: Box>, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn CheckHandler` [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/draw.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | _callback: Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn DrawCallback` [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/window/mod.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | delegate: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn WindowDelegate` [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: `...` range patterns are deprecated [INFO] [stdout] --> src/window/mod.rs:552:25 [INFO] [stdout] | [INFO] [stdout] 552 | b'\t' | b' '...b'~' => Some(key as u8 as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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: variable does not need to be mutable [INFO] [stdout] --> src/plugin/internal.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let mut plugin_box = Box::new(plugin); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plugin/internal.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let mut plugin_box = Box::new(plugin); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.36s [INFO] running `Command { std: "docker" "inspect" "6ab43c11a9fc5cb81c5295c1b6ecb7df30fb0c11dc2c2453e6575ee78618a406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ab43c11a9fc5cb81c5295c1b6ecb7df30fb0c11dc2c2453e6575ee78618a406", kill_on_drop: false }` [INFO] [stdout] 6ab43c11a9fc5cb81c5295c1b6ecb7df30fb0c11dc2c2453e6575ee78618a406