[INFO] cloning repository https://github.com/chiro/bme280-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chiro/bme280-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchiro%2Fbme280-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchiro%2Fbme280-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29817df3ebab292a4829ec5133d0a08ce703dd70 [INFO] testing chiro/bme280-rs against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchiro%2Fbme280-rs" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chiro/bme280-rs on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chiro/bme280-rs [INFO] finished tweaking git repo https://github.com/chiro/bme280-rs [INFO] tweaked toml for git repo https://github.com/chiro/bme280-rs written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/chiro/bme280-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7da61d39bb1594824ea168d2d1df287ec02cf7acf1d6a8d2df71e7690a113f4b [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" "7da61d39bb1594824ea168d2d1df287ec02cf7acf1d6a8d2df71e7690a113f4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7da61d39bb1594824ea168d2d1df287ec02cf7acf1d6a8d2df71e7690a113f4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7da61d39bb1594824ea168d2d1df287ec02cf7acf1d6a8d2df71e7690a113f4b", kill_on_drop: false }` [INFO] [stdout] 7da61d39bb1594824ea168d2d1df287ec02cf7acf1d6a8d2df71e7690a113f4b [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24e273a2faf8e6b335919fb6a867fbd90a3946e1febc9ee5f05d839127b14fe8 [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" "24e273a2faf8e6b335919fb6a867fbd90a3946e1febc9ee5f05d839127b14fe8", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.13 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling regex v1.3.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling i2cdev v0.4.4 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling bme280-rs v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 56.40s [INFO] running `Command { std: "docker" "inspect" "24e273a2faf8e6b335919fb6a867fbd90a3946e1febc9ee5f05d839127b14fe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24e273a2faf8e6b335919fb6a867fbd90a3946e1febc9ee5f05d839127b14fe8", kill_on_drop: false }` [INFO] [stdout] 24e273a2faf8e6b335919fb6a867fbd90a3946e1febc9ee5f05d839127b14fe8 [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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] 0e411334f1480ff3d5341cdbe1fa03fdf02bb82babbbcf7f815c8bc638fad0f6 [INFO] running `Command { std: "docker" "start" "-a" "0e411334f1480ff3d5341cdbe1fa03fdf02bb82babbbcf7f815c8bc638fad0f6", kill_on_drop: false }` [INFO] [stderr] Compiling bme280-rs v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.76s [INFO] running `Command { std: "docker" "inspect" "0e411334f1480ff3d5341cdbe1fa03fdf02bb82babbbcf7f815c8bc638fad0f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e411334f1480ff3d5341cdbe1fa03fdf02bb82babbbcf7f815c8bc638fad0f6", kill_on_drop: false }` [INFO] [stdout] 0e411334f1480ff3d5341cdbe1fa03fdf02bb82babbbcf7f815c8bc638fad0f6 [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", 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] cc6f80a3dd801689909e6f91d9583fcd6983cf7750b1ed944e15885163169408 [INFO] running `Command { std: "docker" "start" "-a" "cc6f80a3dd801689909e6f91d9583fcd6983cf7750b1ed944e15885163169408", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bme280_rs-754146529e73a305) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bme280-1f38afa125c2e9a5) [INFO] [stdout] running 0 tests [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 bme280-rs [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 6) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 4 | mode: Mode::Force, [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Oversampling` [INFO] [stdout] --> src/lib.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 5 | oversampling_temperature: Oversampling::X1, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Oversampling` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Oversampling` [INFO] [stdout] --> src/lib.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 6 | oversampling_pressure: Oversampling::X1, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Oversampling` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Oversampling` [INFO] [stdout] --> src/lib.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 7 | oversampling_humidity: Oversampling::X2, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Oversampling` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StandbyTime` [INFO] [stdout] --> src/lib.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 8 | standby_time: StandbyTime::Ms1, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StandbyTime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IIRFilterCoeff` [INFO] [stdout] --> src/lib.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 9 | filter_coeff: IIRFilterCoeff::OFF, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `IIRFilterCoeff` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LinuxI2CDevice` [INFO] [stdout] --> src/lib.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 12 | let dev = LinuxI2CDevice::new("/dev/i2c-0", 119).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `LinuxI2CDevice` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BME280` [INFO] [stdout] --> src/lib.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 13 | let mut bme280 = BME280::new(dev, config).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `BME280` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Config` in this scope [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 3 | let config: Config = Config { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Config` in this scope [INFO] [stdout] --> src/lib.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 3 | let config: Config = Config { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 6) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "cc6f80a3dd801689909e6f91d9583fcd6983cf7750b1ed944e15885163169408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc6f80a3dd801689909e6f91d9583fcd6983cf7750b1ed944e15885163169408", kill_on_drop: false }` [INFO] [stdout] cc6f80a3dd801689909e6f91d9583fcd6983cf7750b1ed944e15885163169408