[INFO] fetching crate pitot 0.0.1... [INFO] testing pitot-0.0.1 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate pitot 0.0.1 into /workspace/builds/worker-25/source [INFO] validating manifest of crates.io crate pitot 0.0.1 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pitot 0.0.1 [INFO] finished tweaking crates.io crate pitot 0.0.1 [INFO] tweaked toml for crates.io crate pitot 0.0.1 written to /workspace/builds/worker-25/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9629c7ce2f68d043b7de90c41727c8b11b8713d90da231a5d8269003354e981 [INFO] running `Command { std: "docker" "start" "-a" "f9629c7ce2f68d043b7de90c41727c8b11b8713d90da231a5d8269003354e981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9629c7ce2f68d043b7de90c41727c8b11b8713d90da231a5d8269003354e981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9629c7ce2f68d043b7de90c41727c8b11b8713d90da231a5d8269003354e981", kill_on_drop: false }` [INFO] [stdout] f9629c7ce2f68d043b7de90c41727c8b11b8713d90da231a5d8269003354e981 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fba4b79235e85fda3f06eae4c0decc6a26891184fbe6eb705c180b897d7408eb [INFO] running `Command { std: "docker" "start" "-a" "fba4b79235e85fda3f06eae4c0decc6a26891184fbe6eb705c180b897d7408eb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling serial v0.3.4 [INFO] [stderr] Compiling inotify v0.4.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling ws v0.7.9 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling pitot v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sensor/gnss/fake.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(&mut self, h: &mut Pushable) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pushable` [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sensor/gnss/ublox.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | try!(self.refill()); [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/sensor/gnss/ublox.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | try!(self.serial [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sensor/gnss/ublox.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | try!(self.serial [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/sensor/gnss/ublox.rs:377:62 [INFO] [stdout] | [INFO] [stdout] 377 | Some((mag_dec as f32 * 1.0e-2, Some((mag_dec_accuracy as f32 * 1.0e-2)))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 377 - Some((mag_dec as f32 * 1.0e-2, Some((mag_dec_accuracy as f32 * 1.0e-2)))) [INFO] [stdout] 377 + Some((mag_dec as f32 * 1.0e-2, Some(mag_dec_accuracy as f32 * 1.0e-2))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sensor/gnss/ublox.rs:440:31 [INFO] [stdout] | [INFO] [stdout] 440 | fn run(&mut self, h: &mut Pushable) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pushable` [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/sensor/gnss/ublox.rs:480:32 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn new() -> Option> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Sensor` [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/sensor/gnss/ublox.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | try!(settings.set_baud_rate(BaudRate::Baud9600)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sensor/gnss/ublox.rs:519:25 [INFO] [stdout] | [INFO] [stdout] 519 | try!(settings.set_baud_rate(BAUD_RATE)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/sensor/sdr/uat.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | typ @ 0...1 => { [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/sensor/sdr/uat.rs:317:31 [INFO] [stdout] | [INFO] [stdout] 317 | fn run(&mut self, h: &mut Pushable) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pushable` [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/sensor/sdr/es.rs:110:31 [INFO] [stdout] | [INFO] [stdout] 110 | fn run(&mut self, h: &mut Pushable) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pushable` [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/sensor/mod.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | fn run(&mut self, h: &mut Pushable); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pushable` [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/processor/ownship.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | fn run(&mut self, handle: &mut Pushable, i: ChainedIter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pushable` [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/processor/ownship.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new() -> Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Processor` [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/processor/clock.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | fn run(&mut self, handle: &mut Pushable, i: ChainedIter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pushable` [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/processor/traffic.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | fn run(&mut self, handle: &mut Pushable, i: ChainedIter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pushable` [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/processor/traffic.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | 0xA00001...0xAFFFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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/processor/fisb.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | fn run(&mut self, handle: &mut Pushable, i: ChainedIter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pushable` [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/processor/mod.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | fn run(&mut self, handle: &mut Pushable, i: ChainedIter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pushable` [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/transport/udp.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | fn run(&mut self, handle: &mut Handle, i: ChainedIter) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Handle` [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/transport/udp.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn new() -> Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transport` [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/transport/udp.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | try!(file.read_to_end(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/transport/udp.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | let mut file = try!(File::open(LEASE_FILE_PATH)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/transport/mod.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | fn run(&mut self, handle: &mut Handle, i: ChainedIter); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Handle` [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/protocol/gdl90.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | fn run(&mut self, handle: &mut Pushable, i: ChainedIter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pushable` [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/protocol/gdl90.rs:408:25 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn new() -> Box { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Protocol` [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/protocol/websocket.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | fn run(&mut self, _handle: &mut Pushable, i: ChainedIter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pushable` [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/protocol/mod.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | fn run(&mut self, handle: &mut Pushable, i: ChainedIter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pushable` [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/pitot/mod.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | sensors: Vec>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Sensor` [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/pitot/mod.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | processors: Vec>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Processor` [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/pitot/mod.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | protocols: Vec>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Protocol` [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/pitot/mod.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | transports: Vec>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transport` [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/pitot/mod.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn link_sensor(&mut self, s: Box) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Sensor` [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/pitot/mod.rs:62:45 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn link_processor(&mut self, p: Box) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Processor` [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/pitot/mod.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn link_protocol(&mut self, p: Box) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Protocol` [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/pitot/mod.rs:70:45 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn link_transport(&mut self, t: Box) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transport` [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/main.rs:54:83 [INFO] [stdout] | [INFO] [stdout] 54 | ... p.link_sensor(Box::new(e) as Box); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Sensor` [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/main.rs:58:85 [INFO] [stdout] | [INFO] [stdout] 58 | ... p.link_sensor(Box::new(e) as Box); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Sensor` [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/main.rs:63:70 [INFO] [stdout] | [INFO] [stdout] 63 | p.link_processor(Box::new(processor::clock::Clock::new()) as Box); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Processor` [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/main.rs:64:74 [INFO] [stdout] | [INFO] [stdout] 64 | p.link_processor(Box::new(processor::traffic::Traffic::new()) as Box); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Processor` [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/main.rs:65:68 [INFO] [stdout] | [INFO] [stdout] 65 | p.link_processor(Box::new(processor::fisb::FISB::new()) as Box); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Processor` [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: associated function is never used: `new` [INFO] [stdout] --> src/sensor/gnss/fake.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn new() -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/protocol/gdl90.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | &buf[4..436].clone_from_slice(&e.payload); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 135 | let _ = &buf[4..436].clone_from_slice(&e.payload); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.pitot.7ad3d76c-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.pitot.7ad3d76c-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.pitot.7ad3d76c-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.pitot.7ad3d76c-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.pitot.7ad3d76c-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.pitot.7ad3d76c-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.pitot.7ad3d76c-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.pitot.7ad3d76c-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.pitot.7ad3d76c-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.pitot.7ad3d76c-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.pitot.7ad3d76c-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.pitot.7ad3d76c-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.pitot.7ad3d76c-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.pitot.7ad3d76c-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.pitot.7ad3d76c-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.pitot.7ad3d76c-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34.21dxgwx0bg4xhej3.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lrtlsdr" "-ldump978" "-ldump1090" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libinotify-25d8b5342a358ade.rlib" "/opt/rustwide/target/debug/deps/libinotify_sys-e4c95d0b2b49f214.rlib" "/opt/rustwide/target/debug/deps/libbitflags-1810396d55db4a65.rlib" "/opt/rustwide/target/debug/deps/libws-34b166831e655d2a.rlib" "/opt/rustwide/target/debug/deps/liburl-1cdcc246a8925053.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-240c068dd9a8427a.rlib" "/opt/rustwide/target/debug/deps/libidna-b10763d312dfe5c7.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-12ccd468a33959ee.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-b9fbadb33a2ea73a.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-ef06cf556416b731.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-d0a053bbcb729d32.rlib" "/opt/rustwide/target/debug/deps/libmatches-a104dd362fa85146.rlib" "/opt/rustwide/target/debug/deps/libsha1-b913d53b1b7c425f.rlib" "/opt/rustwide/target/debug/deps/librand-e4c333109041d4a3.rlib" "/opt/rustwide/target/debug/deps/libmio_extras-372dbc288f15bb97.rlib" "/opt/rustwide/target/debug/deps/liblazycell-d2ae0c144988a8f0.rlib" "/opt/rustwide/target/debug/deps/libmio-59d31625321b9155.rlib" "/opt/rustwide/target/debug/deps/libslab-aef35fd6b139bfac.rlib" "/opt/rustwide/target/debug/deps/libnet2-d0b6b25e067a44a6.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-81c3651d70dd4895.rlib" "/opt/rustwide/target/debug/deps/libhttparse-d713e9f8be03dc82.rlib" "/opt/rustwide/target/debug/deps/libbytes-b231c0cc7c18db65.rlib" "/opt/rustwide/target/debug/deps/libiovec-c60c6d802cc672aa.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-4d098c56eb4115f5.rlib" "/opt/rustwide/target/debug/deps/libserde_json-0b2094261e7144b8.rlib" "/opt/rustwide/target/debug/deps/libryu-fdfd8247f9cd03c1.rlib" "/opt/rustwide/target/debug/deps/libitoa-c9f794ae602378a7.rlib" "/opt/rustwide/target/debug/deps/libserde-e57a462b4d27402b.rlib" "/opt/rustwide/target/debug/deps/libnom-a8c0306c9a106d7a.rlib" "/opt/rustwide/target/debug/deps/libmemchr-2b62738b46911f65.rlib" "/opt/rustwide/target/debug/deps/libserial-f872fb161b1558c8.rlib" "/opt/rustwide/target/debug/deps/libioctl_rs-3f0d68275ee85d7b.rlib" "/opt/rustwide/target/debug/deps/libtermios-22cfd573625a0305.rlib" "/opt/rustwide/target/debug/deps/libchrono-f41f089a5366ef35.rlib" "/opt/rustwide/target/debug/deps/libnum-07f9e7386dcca777.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-68badb54d442bdd4.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-747845bc9efb2d79.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-b01ac3b4430ee179.rlib" "/opt/rustwide/target/debug/deps/libtime-b98cf773eee112bc.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-663b7eec60031b3e.rlib" "/opt/rustwide/target/debug/deps/libregex-b52f541ebb4291ca.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-a505cd05bbdfb81d.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-336a9301e9d8fcde.rlib" "/opt/rustwide/target/debug/deps/libthread_local-006c3aa07055775d.rlib" "/opt/rustwide/target/debug/deps/libthread_id-8115f6f30b3ac486.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-59e0cb71d4de8c67.rlib" "/opt/rustwide/target/debug/deps/libmemchr-f7aa83921ada9ba4.rlib" "/opt/rustwide/target/debug/deps/liblibc-5046e3195dbe8e7d.rlib" "/opt/rustwide/target/debug/deps/liblog-4a62e8d4372f90e0.rlib" "/opt/rustwide/target/debug/deps/liblog-41607b4997ff699e.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-90e3626e3c41eec3.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7387d118fba15d64.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-dd8bf3fda2fc2c51.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-b69fd8507c8409af.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-2dff396b99681a6b.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a78bd5aa183c7115.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-846c64d5a2fbc5ee.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-24c09062b6dc787b.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ce93f351ca41a57b.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e42af02528f038fc.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-514cb174319eb6d4.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-37c1534c42bc4f8c.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-06d0f7780fda2fd9.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4228e28a8f7a03ba.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-88bb1ba4dd271224.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-0b5a376b429677a6.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-eecefd843a0dbc02.rlib" "-Wl,-Bdynamic" "-lc" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/pitot-fdbffeb04c601b34" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lrtlsdr [INFO] [stdout] /usr/bin/ld: cannot find -ldump978 [INFO] [stdout] /usr/bin/ld: cannot find -ldump1090 [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pitot` due to 2 previous errors; 44 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fba4b79235e85fda3f06eae4c0decc6a26891184fbe6eb705c180b897d7408eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fba4b79235e85fda3f06eae4c0decc6a26891184fbe6eb705c180b897d7408eb", kill_on_drop: false }` [INFO] [stdout] fba4b79235e85fda3f06eae4c0decc6a26891184fbe6eb705c180b897d7408eb