[INFO] fetching crate xplm 0.3.1... [INFO] checking xplm-0.3.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate xplm 0.3.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate xplm 0.3.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-0/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xplm-sys v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 620c6ab348e19faa477abcfa6c7d2b0abb688acaf619d4ee126d2e5844bf850a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "620c6ab348e19faa477abcfa6c7d2b0abb688acaf619d4ee126d2e5844bf850a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "620c6ab348e19faa477abcfa6c7d2b0abb688acaf619d4ee126d2e5844bf850a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "620c6ab348e19faa477abcfa6c7d2b0abb688acaf619d4ee126d2e5844bf850a", kill_on_drop: false }` [INFO] [stdout] 620c6ab348e19faa477abcfa6c7d2b0abb688acaf619d4ee126d2e5844bf850a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe58613bfad614a59923ceca4d51a4e6b1b81dce68930256c34ebbe38055fcf6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fe58613bfad614a59923ceca4d51a4e6b1b81dce68930256c34ebbe38055fcf6", kill_on_drop: false }` [INFO] [stderr] Compiling xplm-sys v0.4.0 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 1.44s [INFO] running `Command { std: "docker" "inspect" "fe58613bfad614a59923ceca4d51a4e6b1b81dce68930256c34ebbe38055fcf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe58613bfad614a59923ceca4d51a4e6b1b81dce68930256c34ebbe38055fcf6", kill_on_drop: false }` [INFO] [stdout] fe58613bfad614a59923ceca4d51a4e6b1b81dce68930256c34ebbe38055fcf6