[INFO] fetching crate i2cdev2 0.4.0... [INFO] testing i2cdev2-0.4.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate i2cdev2 0.4.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate i2cdev2 0.4.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate i2cdev2 0.4.0 [INFO] finished tweaking crates.io crate i2cdev2 0.4.0 [INFO] tweaked toml for crates.io crate i2cdev2 0.4.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--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-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8d1ea155cdabede81389310532a751843029f9a2cdebc302edb7cdb9058504a7 [INFO] running `Command { std: "docker" "start" "-a" "8d1ea155cdabede81389310532a751843029f9a2cdebc302edb7cdb9058504a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d1ea155cdabede81389310532a751843029f9a2cdebc302edb7cdb9058504a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d1ea155cdabede81389310532a751843029f9a2cdebc302edb7cdb9058504a7", kill_on_drop: false }` [INFO] [stdout] 8d1ea155cdabede81389310532a751843029f9a2cdebc302edb7cdb9058504a7 [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28fb3e714edb235ea7e913162863636367bf6f899f3da07874b5469dbd0aa499 [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" "28fb3e714edb235ea7e913162863636367bf6f899f3da07874b5469dbd0aa499", kill_on_drop: false }` [INFO] [stderr] Compiling i2cdev2 v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ffi.rs:437:37 [INFO] [stdout] | [INFO] [stdout] 437 | -> Result<(c_int), I2CError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 437 - -> Result<(c_int), I2CError> { [INFO] [stdout] 437 + -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ffi.rs:447:62 [INFO] [stdout] | [INFO] [stdout] 447 | ... msgs: &mut Vec) -> Result<(i32), I2CError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 447 - msgs: &mut Vec) -> Result<(i32), I2CError> { [INFO] [stdout] 447 + msgs: &mut Vec) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/linux.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 84 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [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/linux.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | LinuxI2CError::Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/linux.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | LinuxI2CError::Nix(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.86s [INFO] running `Command { std: "docker" "inspect" "28fb3e714edb235ea7e913162863636367bf6f899f3da07874b5469dbd0aa499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28fb3e714edb235ea7e913162863636367bf6f899f3da07874b5469dbd0aa499", kill_on_drop: false }` [INFO] [stdout] 28fb3e714edb235ea7e913162863636367bf6f899f3da07874b5469dbd0aa499 [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f958e63054bdd0ed390a87502fde398137b004ce54585ab380702615e741744a [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" "f958e63054bdd0ed390a87502fde398137b004ce54585ab380702615e741744a", kill_on_drop: false }` [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ffi.rs:437:37 [INFO] [stdout] | [INFO] [stdout] 437 | -> Result<(c_int), I2CError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 437 - -> Result<(c_int), I2CError> { [INFO] [stdout] 437 + -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ffi.rs:447:62 [INFO] [stdout] | [INFO] [stdout] 447 | ... msgs: &mut Vec) -> Result<(i32), I2CError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 447 - msgs: &mut Vec) -> Result<(i32), I2CError> { [INFO] [stdout] 447 + msgs: &mut Vec) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/linux.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 84 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [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/linux.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | LinuxI2CError::Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/linux.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | LinuxI2CError::Nix(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling docopt v0.8.3 [INFO] [stderr] Compiling i2cdev2 v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `i2cdev` [INFO] [stdout] --> examples/nunchuck.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate i2cdev; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LinuxI2CDevice` [INFO] [stdout] --> examples/nunchuck.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | let i2cdev = LinuxI2CDevice::new(device, NUNCHUCK_SLAVE_ADDR).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `LinuxI2CDevice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `I2CDevice` in this scope [INFO] [stdout] --> examples/nunchuck.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Nunchuck { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `I2CDevice` in this scope [INFO] [stdout] --> examples/nunchuck.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | T: I2CDevice, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/nunchuck.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `i2cdev` [INFO] [stdout] --> examples/sensors.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate i2cdev; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `i2cdev` [INFO] [stdout] --> examples/pca9956b.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate i2cdev; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `i2cdev2` due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ffi.rs:437:37 [INFO] [stdout] | [INFO] [stdout] 437 | -> Result<(c_int), I2CError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 437 - -> Result<(c_int), I2CError> { [INFO] [stdout] 437 + -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ffi.rs:447:62 [INFO] [stdout] | [INFO] [stdout] 447 | ... msgs: &mut Vec) -> Result<(i32), I2CError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 447 - msgs: &mut Vec) -> Result<(i32), I2CError> { [INFO] [stdout] 447 + msgs: &mut Vec) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LinuxI2CDevice` [INFO] [stdout] --> examples/sensors.rs:485:27 [INFO] [stdout] | [INFO] [stdout] 485 | let mpl115a2_i2cdev = LinuxI2CDevice::new(device, MPL115A2_I2C_ADDR).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `LinuxI2CDevice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LinuxI2CDevice` [INFO] [stdout] --> examples/sensors.rs:486:26 [INFO] [stdout] | [INFO] [stdout] 486 | let adxl345_i2cdev = LinuxI2CDevice::new(device, 0x53).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `LinuxI2CDevice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `I2CDevice` in this scope [INFO] [stdout] --> examples/sensors.rs:158:44 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ADXL345Accelerometer { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `I2CDevice` in this scope [INFO] [stdout] --> examples/sensors.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | T: I2CDevice + Sized, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `I2CDevice` in this scope [INFO] [stdout] --> examples/sensors.rs:204:16 [INFO] [stdout] | [INFO] [stdout] 204 | T: I2CDevice + Sized, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `I2CDevice` in this scope [INFO] [stdout] --> examples/sensors.rs:245:52 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct MPL115A2BarometerThermometer { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `I2CDevice` in this scope [INFO] [stdout] --> examples/sensors.rs:304:30 [INFO] [stdout] | [INFO] [stdout] 304 | i2cdev: &mut I2CDevice, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `I2CDevice` in this scope [INFO] [stdout] --> examples/sensors.rs:321:30 [INFO] [stdout] | [INFO] [stdout] 321 | i2cdev: &mut I2CDevice, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `I2CDevice` in this scope [INFO] [stdout] --> examples/sensors.rs:363:16 [INFO] [stdout] | [INFO] [stdout] 363 | T: I2CDevice + Sized, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `I2CDevice` in this scope [INFO] [stdout] --> examples/sensors.rs:377:16 [INFO] [stdout] | [INFO] [stdout] 377 | T: I2CDevice + Sized, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `I2CDevice` in this scope [INFO] [stdout] --> examples/sensors.rs:389:16 [INFO] [stdout] | [INFO] [stdout] 389 | T: I2CDevice + Sized, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/sensors.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LinuxI2CBus` [INFO] [stdout] --> examples/pca9956b.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | let mut bus = match LinuxI2CBus::new(path) { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `LinuxI2CBus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `I2CMsg` [INFO] [stdout] --> examples/pca9956b.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | msgs.push(I2CMsg::new(ADDR, &mut dataw)); [INFO] [stdout] | ^^^^^^ use of undeclared type `I2CMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `I2CMsg` [INFO] [stdout] --> examples/pca9956b.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | msgs.push(I2CMsg::new(ADDR, &mut data)); [INFO] [stdout] | ^^^^^^ use of undeclared type `I2CMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `I2CMsg` in this scope [INFO] [stdout] --> examples/pca9956b.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | let mut msgs: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/linux.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 84 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/linux.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | LinuxI2CError::Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/linux.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | LinuxI2CError::Nix(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f958e63054bdd0ed390a87502fde398137b004ce54585ab380702615e741744a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f958e63054bdd0ed390a87502fde398137b004ce54585ab380702615e741744a", kill_on_drop: false }` [INFO] [stdout] f958e63054bdd0ed390a87502fde398137b004ce54585ab380702615e741744a