[INFO] fetching crate xplm 0.3.1... [INFO] checking xplm-0.3.1 against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] extracting crate xplm 0.3.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate xplm 0.3.1 on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "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-5/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" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4abea6ded3e0ca05e413405e1c65c9e2f3bca3d5f3a0e0a360df104338ef7da6 [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" "4abea6ded3e0ca05e413405e1c65c9e2f3bca3d5f3a0e0a360df104338ef7da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4abea6ded3e0ca05e413405e1c65c9e2f3bca3d5f3a0e0a360df104338ef7da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4abea6ded3e0ca05e413405e1c65c9e2f3bca3d5f3a0e0a360df104338ef7da6", kill_on_drop: false }` [INFO] [stdout] 4abea6ded3e0ca05e413405e1c65c9e2f3bca3d5f3a0e0a360df104338ef7da6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52bbd2a7d3c4c2a70cef6a1948b57a2250bd0f30065086cad304f4d0310282a9 [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" "52bbd2a7d3c4c2a70cef6a1948b57a2250bd0f30065086cad304f4d0310282a9", kill_on_drop: false }` [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 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 2.58s [INFO] running `Command { std: "docker" "inspect" "52bbd2a7d3c4c2a70cef6a1948b57a2250bd0f30065086cad304f4d0310282a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52bbd2a7d3c4c2a70cef6a1948b57a2250bd0f30065086cad304f4d0310282a9", kill_on_drop: false }` [INFO] [stdout] 52bbd2a7d3c4c2a70cef6a1948b57a2250bd0f30065086cad304f4d0310282a9