[INFO] fetching crate sx1509 0.2.0... [INFO] testing sx1509-0.2.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate sx1509 0.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate sx1509 0.2.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sx1509 0.2.0 [INFO] finished tweaking crates.io crate sx1509 0.2.0 [INFO] tweaked toml for crates.io crate sx1509 0.2.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd8632f021b1e4c4fb8d9500c074ea2956848d43917ecfdd076c3971324d2c06 [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" "cd8632f021b1e4c4fb8d9500c074ea2956848d43917ecfdd076c3971324d2c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd8632f021b1e4c4fb8d9500c074ea2956848d43917ecfdd076c3971324d2c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd8632f021b1e4c4fb8d9500c074ea2956848d43917ecfdd076c3971324d2c06", kill_on_drop: false }` [INFO] [stdout] cd8632f021b1e4c4fb8d9500c074ea2956848d43917ecfdd076c3971324d2c06 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b50c18f9808b75091e56483d7ecd45d5b7438ad4de7da23a49b2ec1a9d455c19 [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" "b50c18f9808b75091e56483d7ecd45d5b7438ad4de7da23a49b2ec1a9d455c19", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling sx1509 v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "b50c18f9808b75091e56483d7ecd45d5b7438ad4de7da23a49b2ec1a9d455c19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b50c18f9808b75091e56483d7ecd45d5b7438ad4de7da23a49b2ec1a9d455c19", kill_on_drop: false }` [INFO] [stdout] b50c18f9808b75091e56483d7ecd45d5b7438ad4de7da23a49b2ec1a9d455c19 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] 4821bff375585af5b9cc4c03d175537ef38df346b1e906d4e1732840e2e79480 [INFO] running `Command { std: "docker" "start" "-a" "4821bff375585af5b9cc4c03d175537ef38df346b1e906d4e1732840e2e79480", kill_on_drop: false }` [INFO] [stderr] Compiling sx1509 v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "4821bff375585af5b9cc4c03d175537ef38df346b1e906d4e1732840e2e79480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4821bff375585af5b9cc4c03d175537ef38df346b1e906d4e1732840e2e79480", kill_on_drop: false }` [INFO] [stdout] 4821bff375585af5b9cc4c03d175537ef38df346b1e906d4e1732840e2e79480 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eb26e983476cfd294446be15d8c0c45431bc4e97bff317359b1b6fe8d6c0fabe [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" "eb26e983476cfd294446be15d8c0c45431bc4e97bff317359b1b6fe8d6c0fabe", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/sx1509-572fbf6fcb4278ef [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 [INFO] [stdout] [INFO] [stderr] Doc-tests sx1509 [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - (line 43) ... FAILED [INFO] [stdout] test src/lib.rs - (line 74) ... FAILED [INFO] [stdout] test src/lib.rs - (line 58) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 36) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `metro_m0` [INFO] [stdout] --> src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate metro_m0 as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 43) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `hal` [INFO] [stdout] --> src/lib.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut i2c = hal::I2CMaster3::new( [INFO] [stdout] | ^^^ use of undeclared type or module `hal` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Sercom3Pad0` [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 10 | Sercom3Pad0::Pa22(pins.pa22.into_function_c(&mut pins.port)), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `Sercom3Pad0` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Sercom3Pad1` [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 11 | Sercom3Pad1::Pa23(pins.pa23.into_function_c(&mut pins.port)), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `Sercom3Pad1` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `clocks` in this scope [INFO] [stdout] --> src/lib.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 4 | &clocks, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 6 | peripherals.SERCOM3, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope [INFO] [stdout] --> src/lib.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 7 | &mut peripherals.PM, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 8 | &mut peripherals.GCLK, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pins` in this scope [INFO] [stdout] --> src/lib.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 10 | Sercom3Pad0::Pa22(pins.pa22.into_function_c(&mut pins.port)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pins` in this scope [INFO] [stdout] --> src/lib.rs:51:54 [INFO] [stdout] | [INFO] [stdout] 10 | Sercom3Pad0::Pa22(pins.pa22.into_function_c(&mut pins.port)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pins` in this scope [INFO] [stdout] --> src/lib.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 11 | Sercom3Pad1::Pa23(pins.pa23.into_function_c(&mut pins.port)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pins` in this scope [INFO] [stdout] --> src/lib.rs:52:54 [INFO] [stdout] | [INFO] [stdout] 11 | Sercom3Pad1::Pa23(pins.pa23.into_function_c(&mut pins.port)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `khz` found for type `{integer}` in the current scope [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 5 | 400.khz(), [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 74) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `expander` in this scope [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut owned = expander.take(i2c); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/lib.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 3 | let mut owned = expander.take(i2c); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let mut owned = expander.take(i2c); [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | // Now you can borrow and perform the IO when you are ready: [INFO] [stdout] 6 | | let pins = owned.borrow().get_bank_a_data()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 9 | | let (expander, i2c) = owned.release(); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 58) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/lib.rs:59:45 [INFO] [stdout] | [INFO] [stdout] 4 | let mut expander = sx1509::Sx1509::new(&mut i2c, sx1509::DEFAULT_ADDRESS); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/lib.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 5 | expander.borrow(&mut i2c).software_reset()?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/lib.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 6 | expander.borrow(&mut i2c).set_bank_a_direction(0)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/lib.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 8 | let pins = expander.borrow(&mut i2c).get_bank_a_data()?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | let mut expander = sx1509::Sx1509::new(&mut i2c, sx1509::DEFAULT_ADDRESS); [INFO] [stdout] 5 | | expander.borrow(&mut i2c).software_reset()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 6 | | expander.borrow(&mut i2c).set_bank_a_direction(0)?; [INFO] [stdout] 7 | | // read the pins from bank a [INFO] [stdout] 8 | | let pins = expander.borrow(&mut i2c).get_bank_a_data()?; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | let mut expander = sx1509::Sx1509::new(&mut i2c, sx1509::DEFAULT_ADDRESS); [INFO] [stdout] 5 | | expander.borrow(&mut i2c).software_reset()?; [INFO] [stdout] 6 | | expander.borrow(&mut i2c).set_bank_a_direction(0)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 7 | | // read the pins from bank a [INFO] [stdout] 8 | | let pins = expander.borrow(&mut i2c).get_bank_a_data()?; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | let mut expander = sx1509::Sx1509::new(&mut i2c, sx1509::DEFAULT_ADDRESS); [INFO] [stdout] 5 | | expander.borrow(&mut i2c).software_reset()?; [INFO] [stdout] 6 | | expander.borrow(&mut i2c).set_bank_a_direction(0)?; [INFO] [stdout] 7 | | // read the pins from bank a [INFO] [stdout] 8 | | let pins = expander.borrow(&mut i2c).get_bank_a_data()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 36) [INFO] [stdout] src/lib.rs - (line 43) [INFO] [stdout] src/lib.rs - (line 58) [INFO] [stdout] src/lib.rs - (line 74) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "eb26e983476cfd294446be15d8c0c45431bc4e97bff317359b1b6fe8d6c0fabe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb26e983476cfd294446be15d8c0c45431bc4e97bff317359b1b6fe8d6c0fabe", kill_on_drop: false }` [INFO] [stdout] eb26e983476cfd294446be15d8c0c45431bc4e97bff317359b1b6fe8d6c0fabe