[INFO] fetching crate bindgen 0.47.4... [INFO] checking bindgen-0.47.4 against master#c919f490bbcd2b29b74016101f7ec71aaa24bdbb for pr-79073 [INFO] extracting crate bindgen 0.47.4 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate bindgen 0.47.4 on toolchain c919f490bbcd2b29b74016101f7ec71aaa24bdbb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate bindgen 0.47.4 [INFO] finished tweaking crates.io crate bindgen 0.47.4 [INFO] tweaked toml for crates.io crate bindgen 0.47.4 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate bindgen 0.47.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ce88c1cb5731c2521a730355689fbe4edfec27c0066d165be5d95ad91e9c72c [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" "8ce88c1cb5731c2521a730355689fbe4edfec27c0066d165be5d95ad91e9c72c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ce88c1cb5731c2521a730355689fbe4edfec27c0066d165be5d95ad91e9c72c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce88c1cb5731c2521a730355689fbe4edfec27c0066d165be5d95ad91e9c72c", kill_on_drop: false }` [INFO] [stdout] 8ce88c1cb5731c2521a730355689fbe4edfec27c0066d165be5d95ad91e9c72c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b99035bc950a7ba0bc48613b449ea64e6f86d07521d2066719400a66e27be1f8 [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" "b99035bc950a7ba0bc48613b449ea64e6f86d07521d2066719400a66e27be1f8", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Compiling bindgen v0.47.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking diff v0.1.11 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking hashbrown v0.1.7 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking nom v4.0.0 [INFO] [stderr] Checking quote v0.6.8 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Checking cexpr v0.3.3 [INFO] [stderr] Checking backtrace v0.3.11 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking which v2.0.1 [INFO] [stderr] Checking env_logger v0.6.0 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/error.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/codegen/helpers.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 10 | use std::str::FromStr; [INFO] [stdout] | ----------------- the item `FromStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 46 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codegen/mod.rs:738:28 [INFO] [stdout] | [INFO] [stdout] 738 | 'A'...'Z' | 'a'...'z' | '0'...'9' | ':' | '_' | ' ' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codegen/mod.rs:738:40 [INFO] [stdout] | [INFO] [stdout] 738 | 'A'...'Z' | 'a'...'z' | '0'...'9' | ':' | '_' | ' ' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codegen/mod.rs:738:52 [INFO] [stdout] | [INFO] [stdout] 738 | 'A'...'Z' | 'a'...'z' | '0'...'9' | ':' | '_' | ' ' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mem` is imported redundantly [INFO] [stdout] --> src/ir/comp.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 19 | use std::mem; [INFO] [stdout] | -------- the item `mem` is already imported here [INFO] [stdout] ... [INFO] [stdout] 354 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ir/comp.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | ((1u64 << self.width()) - 1u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cmp` is imported redundantly [INFO] [stdout] --> src/ir/comp.rs:1071:13 [INFO] [stdout] | [INFO] [stdout] 17 | use std::cmp; [INFO] [stdout] | -------- the item `cmp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1071 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 25 | use clang_sys; [INFO] [stdout] | --------- the item `clang_sys` is already imported here [INFO] [stdout] ... [INFO] [stdout] 539 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ir/context.rs:667:46 [INFO] [stdout] | [INFO] [stdout] 667 | pub fn parse_callbacks(&self) -> Option<&ParseCallbacks> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ParseCallbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:1650:13 [INFO] [stdout] | [INFO] [stdout] 25 | use clang_sys; [INFO] [stdout] | --------- the item `clang_sys` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1650 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 10 | use clang_sys::{self, CXCallingConv}; [INFO] [stdout] | ---- the item `clang_sys` is already imported here [INFO] [stdout] ... [INFO] [stdout] 252 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Function` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:1265:13 [INFO] [stdout] | [INFO] [stdout] 12 | use super::function::{Function, FunctionKind}; [INFO] [stdout] | -------- the item `Function` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1265 | use ir::function::Function; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Module` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:1266:13 [INFO] [stdout] | [INFO] [stdout] 15 | use super::module::Module; [INFO] [stdout] | --------------------- the item `Module` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1266 | use ir::module::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1139:17 [INFO] [stdout] | [INFO] [stdout] 1139 | cb: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn callbacks::ParseCallbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1479:33 [INFO] [stdout] | [INFO] [stdout] 1479 | parse_callbacks: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn callbacks::ParseCallbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1825:48 [INFO] [stdout] | [INFO] [stdout] 1825 | self.write(Box::new(&mut bytes) as Box) [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1843:45 [INFO] [stdout] | [INFO] [stdout] 1843 | pub fn write<'a>(&self, mut writer: Box) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Write + 'a` [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/codegen/error.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | write!(f, "{}", error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/error.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/codegen/helpers.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 10 | use std::str::FromStr; [INFO] [stdout] | ----------------- the item `FromStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 46 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codegen/mod.rs:738:28 [INFO] [stdout] | [INFO] [stdout] 738 | 'A'...'Z' | 'a'...'z' | '0'...'9' | ':' | '_' | ' ' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codegen/mod.rs:738:40 [INFO] [stdout] | [INFO] [stdout] 738 | 'A'...'Z' | 'a'...'z' | '0'...'9' | ':' | '_' | ' ' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/codegen/mod.rs:738:52 [INFO] [stdout] | [INFO] [stdout] 738 | 'A'...'Z' | 'a'...'z' | '0'...'9' | ':' | '_' | ' ' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mem` is imported redundantly [INFO] [stdout] --> src/ir/comp.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 19 | use std::mem; [INFO] [stdout] | -------- the item `mem` is already imported here [INFO] [stdout] ... [INFO] [stdout] 354 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ir/comp.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | ((1u64 << self.width()) - 1u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cmp` is imported redundantly [INFO] [stdout] --> src/ir/comp.rs:1071:13 [INFO] [stdout] | [INFO] [stdout] 17 | use std::cmp; [INFO] [stdout] | -------- the item `cmp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1071 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 25 | use clang_sys; [INFO] [stdout] | --------- the item `clang_sys` is already imported here [INFO] [stdout] ... [INFO] [stdout] 539 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ir/context.rs:667:46 [INFO] [stdout] | [INFO] [stdout] 667 | pub fn parse_callbacks(&self) -> Option<&ParseCallbacks> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ParseCallbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:1650:13 [INFO] [stdout] | [INFO] [stdout] 25 | use clang_sys; [INFO] [stdout] | --------- the item `clang_sys` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1650 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 10 | use clang_sys::{self, CXCallingConv}; [INFO] [stdout] | ---- the item `clang_sys` is already imported here [INFO] [stdout] ... [INFO] [stdout] 252 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Function` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:1265:13 [INFO] [stdout] | [INFO] [stdout] 12 | use super::function::{Function, FunctionKind}; [INFO] [stdout] | -------- the item `Function` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1265 | use ir::function::Function; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Module` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:1266:13 [INFO] [stdout] | [INFO] [stdout] 15 | use super::module::Module; [INFO] [stdout] | --------------------- the item `Module` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1266 | use ir::module::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ir/traversal.rs:514:38 [INFO] [stdout] | [INFO] [stdout] 514 | fn takes_by_trait_object(_: &TraversalPredicate) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TraversalPredicate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1139:17 [INFO] [stdout] | [INFO] [stdout] 1139 | cb: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn callbacks::ParseCallbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1479:33 [INFO] [stdout] | [INFO] [stdout] 1479 | parse_callbacks: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn callbacks::ParseCallbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1825:48 [INFO] [stdout] | [INFO] [stdout] 1825 | self.write(Box::new(&mut bytes) as Box) [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1843:45 [INFO] [stdout] | [INFO] [stdout] 1843 | pub fn write<'a>(&self, mut writer: Box) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Write + 'a` [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/codegen/error.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | write!(f, "{}", error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codegen/mod.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | let mut tokens = quote!( [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/codegen/mod.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | let mut tokens = quote!( [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: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/ir/comp.rs:733:17 [INFO] [stdout] | [INFO] [stdout] 733 | / mem::replace( [INFO] [stdout] 734 | | self, [INFO] [stdout] 735 | | CompFields::AfterComputingBitfieldUnits(fields_and_units)); [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/ir/comp.rs:738:17 [INFO] [stdout] | [INFO] [stdout] 738 | / mem::replace( [INFO] [stdout] 739 | | self, [INFO] [stdout] 740 | | CompFields::ErrorComputingBitfieldUnits [INFO] [stdout] 741 | | ); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/options.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | ) -> Result<(Builder, Box, bool), io::Error> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/options.rs:589:51 [INFO] [stdout] | [INFO] [stdout] 589 | Box::new(io::BufWriter::new(file)) as Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/options.rs:591:59 [INFO] [stdout] | [INFO] [stdout] 591 | Box::new(io::BufWriter::new(io::stdout())) as Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/options.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | ) -> Result<(Builder, Box, bool), io::Error> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/options.rs:589:51 [INFO] [stdout] | [INFO] [stdout] 589 | Box::new(io::BufWriter::new(file)) as Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/options.rs:591:59 [INFO] [stdout] | [INFO] [stdout] 591 | Box::new(io::BufWriter::new(io::stdout())) as Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/ir/comp.rs:733:17 [INFO] [stdout] | [INFO] [stdout] 733 | / mem::replace( [INFO] [stdout] 734 | | self, [INFO] [stdout] 735 | | CompFields::AfterComputingBitfieldUnits(fields_and_units)); [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/ir/comp.rs:738:17 [INFO] [stdout] | [INFO] [stdout] 738 | / mem::replace( [INFO] [stdout] 739 | | self, [INFO] [stdout] 740 | | CompFields::ErrorComputingBitfieldUnits [INFO] [stdout] 741 | | ); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.89s [INFO] running `Command { std: "docker" "inspect" "b99035bc950a7ba0bc48613b449ea64e6f86d07521d2066719400a66e27be1f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b99035bc950a7ba0bc48613b449ea64e6f86d07521d2066719400a66e27be1f8", kill_on_drop: false }` [INFO] [stdout] b99035bc950a7ba0bc48613b449ea64e6f86d07521d2066719400a66e27be1f8