[INFO] fetching crate i2cdev2 0.4.0... [INFO] testing i2cdev2-0.4.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate i2cdev2 0.4.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate i2cdev2 0.4.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strsim v0.6.0 [INFO] [stderr] Downloaded docopt v0.8.3 [INFO] [stderr] Downloaded nix v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.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] 400ea9248bb029f069bb96583718e47e4283d105de507216d3bd29f1f9e2a07c [INFO] running `Command { std: "docker" "start" "-a" "400ea9248bb029f069bb96583718e47e4283d105de507216d3bd29f1f9e2a07c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "400ea9248bb029f069bb96583718e47e4283d105de507216d3bd29f1f9e2a07c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "400ea9248bb029f069bb96583718e47e4283d105de507216d3bd29f1f9e2a07c", kill_on_drop: false }` [INFO] [stdout] 400ea9248bb029f069bb96583718e47e4283d105de507216d3bd29f1f9e2a07c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", 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] 0326af0f558c931bc07ed24b366cd9fe11552c86631178d4918774dc0c6c929c [INFO] running `Command { std: "docker" "start" "-a" "0326af0f558c931bc07ed24b366cd9fe11552c86631178d4918774dc0c6c929c", kill_on_drop: false }` [INFO] [stderr] Compiling camino v1.0.7 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling pulldown-cmark v0.9.1 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [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 17.50s [INFO] running `Command { std: "docker" "inspect" "0326af0f558c931bc07ed24b366cd9fe11552c86631178d4918774dc0c6c929c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0326af0f558c931bc07ed24b366cd9fe11552c86631178d4918774dc0c6c929c", kill_on_drop: false }` [INFO] [stdout] 0326af0f558c931bc07ed24b366cd9fe11552c86631178d4918774dc0c6c929c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", 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] a60c2d70259e2002c0e93fedc548114f98d02257e00202bb70dfb6b894071619 [INFO] running `Command { std: "docker" "start" "-a" "a60c2d70259e2002c0e93fedc548114f98d02257e00202bb70dfb6b894071619", 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] [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[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[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] [stderr] error: could not compile `i2cdev2` due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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: 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] [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: 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] error: build failed [INFO] running `Command { std: "docker" "inspect" "a60c2d70259e2002c0e93fedc548114f98d02257e00202bb70dfb6b894071619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a60c2d70259e2002c0e93fedc548114f98d02257e00202bb70dfb6b894071619", kill_on_drop: false }` [INFO] [stdout] a60c2d70259e2002c0e93fedc548114f98d02257e00202bb70dfb6b894071619