[INFO] fetching crate i2cdev_rfd77402 0.1.0... [INFO] testing i2cdev_rfd77402-0.1.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate i2cdev_rfd77402 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate i2cdev_rfd77402 0.1.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate i2cdev_rfd77402 0.1.0 [INFO] finished tweaking crates.io crate i2cdev_rfd77402 0.1.0 [INFO] tweaked toml for crates.io crate i2cdev_rfd77402 0.1.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0770f2ca6adda2cabf557df34376e27fc791903e24d65c13b5f1a30fcfe61ea5 [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" "0770f2ca6adda2cabf557df34376e27fc791903e24d65c13b5f1a30fcfe61ea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0770f2ca6adda2cabf557df34376e27fc791903e24d65c13b5f1a30fcfe61ea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0770f2ca6adda2cabf557df34376e27fc791903e24d65c13b5f1a30fcfe61ea5", kill_on_drop: false }` [INFO] [stdout] 0770f2ca6adda2cabf557df34376e27fc791903e24d65c13b5f1a30fcfe61ea5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a5d3a22850201ab8dae6b97b2b2d678eadf3ba03244462e0ddc348731d913ba [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" "1a5d3a22850201ab8dae6b97b2b2d678eadf3ba03244462e0ddc348731d913ba", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling skeptic v0.13.6 [INFO] [stderr] Compiling i2cdev v0.3.2 [INFO] [stderr] Compiling i2cdev_rfd77402 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | fn poll(&str, u64) -> Result; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | fn poll(&str, u64) -> Result; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 170 | while !self.new_value.compare_and_swap(true,false, Ordering::SeqCst) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.01s [INFO] running `Command { std: "docker" "inspect" "1a5d3a22850201ab8dae6b97b2b2d678eadf3ba03244462e0ddc348731d913ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a5d3a22850201ab8dae6b97b2b2d678eadf3ba03244462e0ddc348731d913ba", kill_on_drop: false }` [INFO] [stdout] 1a5d3a22850201ab8dae6b97b2b2d678eadf3ba03244462e0ddc348731d913ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "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] 4703331abe7f24e33f6eb53c4e445243680433fba6cd22c89b354c4784f1ff6b [INFO] running `Command { std: "docker" "start" "-a" "4703331abe7f24e33f6eb53c4e445243680433fba6cd22c89b354c4784f1ff6b", kill_on_drop: false }` [INFO] [stderr] Compiling i2cdev_rfd77402 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | fn poll(&str, u64) -> Result; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | fn poll(&str, u64) -> Result; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 170 | while !self.new_value.compare_and_swap(true,false, Ordering::SeqCst) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | fn poll(&str, u64) -> Result; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | fn poll(&str, u64) -> Result; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 170 | while !self.new_value.compare_and_swap(true,false, Ordering::SeqCst) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "4703331abe7f24e33f6eb53c4e445243680433fba6cd22c89b354c4784f1ff6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4703331abe7f24e33f6eb53c4e445243680433fba6cd22c89b354c4784f1ff6b", kill_on_drop: false }` [INFO] [stdout] 4703331abe7f24e33f6eb53c4e445243680433fba6cd22c89b354c4784f1ff6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c2d113132df5bcd0c47c5521fbecf5a4429cf08b4f2ab096a9870795933cab55 [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" "c2d113132df5bcd0c47c5521fbecf5a4429cf08b4f2ab096a9870795933cab55", kill_on_drop: false }` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/lib.rs:89:13 [INFO] [stderr] | [INFO] [stderr] 89 | fn poll(&str, u64) -> Result; [INFO] [stderr] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/lib.rs:89:19 [INFO] [stderr] | [INFO] [stderr] 89 | fn poll(&str, u64) -> Result; [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u64` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/lib.rs:170:31 [INFO] [stderr] | [INFO] [stderr] 170 | while !self.new_value.compare_and_swap(true,false, Ordering::SeqCst) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `i2cdev_rfd77402` (lib) generated 3 warnings [INFO] [stderr] warning: `i2cdev_rfd77402` (lib test) generated 3 warnings (3 duplicates) [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/i2cdev_rfd77402-1d1a1b0d54941788) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests i2cdev_rfd77402 [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - Rfd77402::poll (line 102) ... FAILED [INFO] [stdout] test src/lib.rs - Rfd77402::get_measurement (line 163) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Rfd77402::poll (line 102) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rfd77402` [INFO] [stdout] --> src/lib.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 3 | let dev = Rfd77402::new("/dev/i2c-1", 10).expect("Creating new device failed.."); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Rfd77402` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Rfd77402::get_measurement (line 163) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `dev` in this scope [INFO] [stdout] --> src/lib.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 3 | let res = dev.get_measurement(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Rfd77402::get_measurement (line 163) [INFO] [stdout] src/lib.rs - Rfd77402::poll (line 102) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c2d113132df5bcd0c47c5521fbecf5a4429cf08b4f2ab096a9870795933cab55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2d113132df5bcd0c47c5521fbecf5a4429cf08b4f2ab096a9870795933cab55", kill_on_drop: false }` [INFO] [stdout] c2d113132df5bcd0c47c5521fbecf5a4429cf08b4f2ab096a9870795933cab55