[INFO] fetching crate bmp085 0.1.2... [INFO] building bmp085-0.1.2 against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] extracting crate bmp085 0.1.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate bmp085 0.1.2 on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bmp085 0.1.2 [INFO] finished tweaking crates.io crate bmp085 0.1.2 [INFO] tweaked toml for crates.io crate bmp085 0.1.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d2b863d1f53e7e9a4a5721e9d3d7728b52ba48d9ba61127021b2693ece2b1a6 [INFO] running `Command { std: "docker" "start" "-a" "0d2b863d1f53e7e9a4a5721e9d3d7728b52ba48d9ba61127021b2693ece2b1a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d2b863d1f53e7e9a4a5721e9d3d7728b52ba48d9ba61127021b2693ece2b1a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d2b863d1f53e7e9a4a5721e9d3d7728b52ba48d9ba61127021b2693ece2b1a6", kill_on_drop: false }` [INFO] [stdout] 0d2b863d1f53e7e9a4a5721e9d3d7728b52ba48d9ba61127021b2693ece2b1a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f5668c74cc95bc473458c8e314e5b89d21e6247282353a71d23a8bab8e2426a [INFO] running `Command { std: "docker" "start" "-a" "1f5668c74cc95bc473458c8e314e5b89d21e6247282353a71d23a8bab8e2426a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling pulldown-cmark v0.9.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling quote v1.0.18 [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 i2cdev v0.3.2 [INFO] [stderr] Compiling bmp085 v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | try!(dev.smbus_write_byte_data(Register::Bmp085Control as u8, [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/lib.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | let ut: i32 = i_to_be(try!(dev.smbus_read_word_data(Register::Bmp085Data as u8))) as i32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | try!(dev.smbus_write_byte_data(Register::Bmp085Control as u8, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | let msb = try!(dev.smbus_read_byte_data(data_registers[0])) as u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | let lsb = try!(dev.smbus_read_byte_data(data_registers[1])) as u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | let xlsb = try!(dev.smbus_read_byte_data(data_registers[2])) as u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | let (t, _) = try!(read_raw_temp(dev, coeff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | let (_, b5) = try!(read_raw_temp(dev, coeff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | let up = try!(read_raw_pressure(dev, accuracy)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | let coeff = try!(BMP085SensorCoefficients::new(&mut dev)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:244:23 [INFO] [stdout] | [INFO] [stdout] 244 | let reading = try!(read_pressure(&mut self.dev, &self.coeff, &self.accuracy)) as f32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:258:23 [INFO] [stdout] | [INFO] [stdout] 258 | let reading = try!(read_temp(&mut self.dev, &self.coeff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | let t_ac1 = try!(dev.smbus_read_word_data(Register::Bmp085CalAC1 as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 288 | let t_ac2 = try!(dev.smbus_read_word_data(Register::Bmp085CalAC2 as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:289:21 [INFO] [stdout] | [INFO] [stdout] 289 | let t_ac3 = try!(dev.smbus_read_word_data(Register::Bmp085CalAC3 as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | let t_ac4 = try!(dev.smbus_read_word_data(Register::Bmp085CalAC4 as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | let t_ac5 = try!(dev.smbus_read_word_data(Register::Bmp085CalAC5 as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:292:21 [INFO] [stdout] | [INFO] [stdout] 292 | let t_ac6 = try!(dev.smbus_read_word_data(Register::Bmp085CalAC6 as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:293:20 [INFO] [stdout] | [INFO] [stdout] 293 | let t_b1 = try!(dev.smbus_read_word_data(Register::Bmp085CalB1 as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | let t_b2 = try!(dev.smbus_read_word_data(Register::Bmp085CalB2 as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:295:20 [INFO] [stdout] | [INFO] [stdout] 295 | let t_mb = try!(dev.smbus_read_word_data(Register::Bmp085CalMb as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:296:20 [INFO] [stdout] | [INFO] [stdout] 296 | let t_mc = try!(dev.smbus_read_word_data(Register::Bmp085CalMc as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:297:20 [INFO] [stdout] | [INFO] [stdout] 297 | let t_md = try!(dev.smbus_read_word_data(Register::Bmp085CalMd as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:82:38 [INFO] [stdout] | [INFO] [stdout] 82 | fn read_raw_temp(dev: &mut I2CDevice, [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] 82 - fn read_raw_temp(dev: &mut I2CDevice, [INFO] [stdout] 82 + fn read_raw_temp(dev: &mut dyn I2CDevice, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:108:42 [INFO] [stdout] | [INFO] [stdout] 108 | fn read_raw_pressure(dev: &mut I2CDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - fn read_raw_pressure(dev: &mut I2CDevice, [INFO] [stdout] 108 + fn read_raw_pressure(dev: &mut dyn I2CDevice, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:140:34 [INFO] [stdout] | [INFO] [stdout] 140 | fn read_temp(dev: &mut I2CDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 - fn read_temp(dev: &mut I2CDevice, [INFO] [stdout] 140 + fn read_temp(dev: &mut dyn I2CDevice, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:150:38 [INFO] [stdout] | [INFO] [stdout] 150 | fn read_pressure(dev: &mut I2CDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - fn read_pressure(dev: &mut I2CDevice, [INFO] [stdout] 150 + fn read_pressure(dev: &mut dyn I2CDevice, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:286:36 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn new(dev: &mut I2CDevice) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 286 - pub fn new(dev: &mut I2CDevice) -> Result { [INFO] [stdout] 286 + pub fn new(dev: &mut dyn I2CDevice) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cal_mb` [INFO] [stdout] --> src/lib.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | cal_mb: i16, // unused? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.48s [INFO] running `Command { std: "docker" "inspect" "1f5668c74cc95bc473458c8e314e5b89d21e6247282353a71d23a8bab8e2426a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f5668c74cc95bc473458c8e314e5b89d21e6247282353a71d23a8bab8e2426a", kill_on_drop: false }` [INFO] [stdout] 1f5668c74cc95bc473458c8e314e5b89d21e6247282353a71d23a8bab8e2426a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [ERROR] error running command: no output for 300 seconds