[INFO] crate AT42QT2120 0.1.2 is already in cache [INFO] testing AT42QT2120-0.1.2 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate AT42QT2120 0.1.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate AT42QT2120 0.1.2 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate AT42QT2120 0.1.2 [INFO] finished tweaking crates.io crate AT42QT2120 0.1.2 [INFO] tweaked toml for crates.io crate AT42QT2120 0.1.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] da8d48d1195300ad34adbac508045d89f8e606d7dd31df3864bf467cdc897fda [INFO] running `"docker" "start" "-a" "da8d48d1195300ad34adbac508045d89f8e606d7dd31df3864bf467cdc897fda"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling AT42QT2120 v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: crate `AT42QT2120` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `at42_qt2120` [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `"docker" "inspect" "da8d48d1195300ad34adbac508045d89f8e606d7dd31df3864bf467cdc897fda"` [INFO] running `"docker" "rm" "-f" "da8d48d1195300ad34adbac508045d89f8e606d7dd31df3864bf467cdc897fda"` [INFO] [stdout] da8d48d1195300ad34adbac508045d89f8e606d7dd31df3864bf467cdc897fda [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 775d3f6c6109df9875969a2915e57aa8bab87a2f0cf926e9aa0fcfe4e428e71f [INFO] running `"docker" "start" "-a" "775d3f6c6109df9875969a2915e57aa8bab87a2f0cf926e9aa0fcfe4e428e71f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: crate `AT42QT2120` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `at42_qt2120` [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Compiling AT42QT2120 v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: crate `AT42QT2120` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `at42_qt2120` [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `"docker" "inspect" "775d3f6c6109df9875969a2915e57aa8bab87a2f0cf926e9aa0fcfe4e428e71f"` [INFO] running `"docker" "rm" "-f" "775d3f6c6109df9875969a2915e57aa8bab87a2f0cf926e9aa0fcfe4e428e71f"` [INFO] [stdout] 775d3f6c6109df9875969a2915e57aa8bab87a2f0cf926e9aa0fcfe4e428e71f [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 11d5710d290c5240b14d91aaebd8400ccb44770b824b16d5ac8ac33285a4d880 [INFO] running `"docker" "start" "-a" "11d5710d290c5240b14d91aaebd8400ccb44770b824b16d5ac8ac33285a4d880"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: crate `AT42QT2120` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `at42_qt2120` [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: crate `AT42QT2120` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `at42_qt2120` [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/AT42QT2120-6180f18b537419bd [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 AT42QT2120 [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - (line 34) ... FAILED [INFO] [stdout] test src/lib.rs - (line 27) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] test src/lib.rs - (line 54) ... FAILED [INFO] [stdout] test src/lib.rs - (line 43) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `stm32f1xx_hal` [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate stm32f1xx_hal 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 34) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `setup_key` in this scope [INFO] [stdout] --> src/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 6 | setup_key(key_to_setup, key_threshold, enable_key); [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] ---- src/lib.rs - (line 27) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `touch_sensor` in this scope [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 5 | touch_sensor.setup_slider(use_wheel, enable_slider); [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] ---- src/lib.rs - (line 18) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BlockingI2c` [INFO] [stdout] --> src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 3 | let i2c2 = BlockingI2c::i2c2(..); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `BlockingI2c` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `At42qt2120` [INFO] [stdout] --> src/lib.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 4 | let mut touch_sensor = At42qt2120::new(i2c2); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `At42qt2120` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [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 - (line 54) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `touch_sensor` in this scope [INFO] [stdout] --> src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 4 | touch_sensor.read_key(key_to_read)?; [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:56:1 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let key_to_read = 3; [INFO] [stdout] 4 | | touch_sensor.read_key(key_to_read)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } [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 2 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 43) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `touch_sensor` in this scope [INFO] [stdout] --> src/lib.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 3 | if touch_sensor.keys_pressed()? { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `touch_sensor` in this scope [INFO] [stdout] --> src/lib.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 4 | let keys_pressed = touch_sensor.read_keys()?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `touch_sensor` in this scope [INFO] [stdout] --> src/lib.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 7 | if touch_sensor.slider_pressed()? { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `touch_sensor` in this scope [INFO] [stdout] --> src/lib.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 8 | let keys_pressed = touch_sensor.read_slider()?; [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:44:4 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | if touch_sensor.keys_pressed()? { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | let keys_pressed = touch_sensor.read_keys()?; [INFO] [stdout] 5 | | } [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [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[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:45:22 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | if touch_sensor.keys_pressed()? { [INFO] [stdout] 4 | | let keys_pressed = touch_sensor.read_keys()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [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[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:48:4 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | if touch_sensor.keys_pressed()? { [INFO] [stdout] 4 | | let keys_pressed = touch_sensor.read_keys()?; [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | if touch_sensor.slider_pressed()? { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 8 | | let keys_pressed = touch_sensor.read_slider()?; [INFO] [stdout] 9 | | } [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[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:49:22 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | if touch_sensor.keys_pressed()? { [INFO] [stdout] 4 | | let keys_pressed = touch_sensor.read_keys()?; [INFO] [stdout] 5 | | } [INFO] [stdout] ... | [INFO] [stdout] 8 | | let keys_pressed = touch_sensor.read_slider()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 9 | | } [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 8 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 12) [INFO] [stdout] src/lib.rs - (line 18) [INFO] [stdout] src/lib.rs - (line 27) [INFO] [stdout] src/lib.rs - (line 34) [INFO] [stdout] src/lib.rs - (line 43) [INFO] [stdout] src/lib.rs - (line 54) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "11d5710d290c5240b14d91aaebd8400ccb44770b824b16d5ac8ac33285a4d880"` [INFO] running `"docker" "rm" "-f" "11d5710d290c5240b14d91aaebd8400ccb44770b824b16d5ac8ac33285a4d880"` [INFO] [stdout] 11d5710d290c5240b14d91aaebd8400ccb44770b824b16d5ac8ac33285a4d880