[INFO] crate streamdeck-rs 0.4.0 is already in cache [INFO] testing streamdeck-rs-0.4.0 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate streamdeck-rs 0.4.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate streamdeck-rs 0.4.0 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate streamdeck-rs 0.4.0 [INFO] finished tweaking crates.io crate streamdeck-rs 0.4.0 [INFO] tweaked toml for crates.io crate streamdeck-rs 0.4.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "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] 69702a2a2d62a6191cabe70d6a7becaf5af50220bac6c61cee8186be8c6be2f1 [INFO] running `"docker" "start" "-a" "69702a2a2d62a6191cabe70d6a7becaf5af50220bac6c61cee8186be8c6be2f1"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tungstenite v0.6.1 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-dns-unofficial v0.4.0 [INFO] [stderr] Compiling tokio-tungstenite v0.6.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling streamdeck-rs v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `"docker" "inspect" "69702a2a2d62a6191cabe70d6a7becaf5af50220bac6c61cee8186be8c6be2f1"` [INFO] running `"docker" "rm" "-f" "69702a2a2d62a6191cabe70d6a7becaf5af50220bac6c61cee8186be8c6be2f1"` [INFO] [stdout] 69702a2a2d62a6191cabe70d6a7becaf5af50220bac6c61cee8186be8c6be2f1 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stdout] cbc074b2c1111147909a583aab8464c49c654b958ea6f341356520c5bc5361d6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "cbc074b2c1111147909a583aab8464c49c654b958ea6f341356520c5bc5361d6"` [INFO] [stderr] Compiling streamdeck-rs v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.67s [INFO] running `"docker" "inspect" "cbc074b2c1111147909a583aab8464c49c654b958ea6f341356520c5bc5361d6"` [INFO] running `"docker" "rm" "-f" "cbc074b2c1111147909a583aab8464c49c654b958ea6f341356520c5bc5361d6"` [INFO] [stdout] cbc074b2c1111147909a583aab8464c49c654b958ea6f341356520c5bc5361d6 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "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] 97cf7e86098c473cb66130e0e29322001b6be27f8ed07fc534c6cd3d1cb303e6 [INFO] running `"docker" "start" "-a" "97cf7e86098c473cb66130e0e29322001b6be27f8ed07fc534c6cd3d1cb303e6"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/streamdeck_rs-044cde5c70acf712 [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 streamdeck-rs [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/registration.rs - registration::RegistrationParams::from_args (line 179) ... FAILED [INFO] [stdout] test src/socket.rs - socket::StreamDeckSocket::connect (line 33) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/registration.rs - registration::RegistrationParams::from_args (line 179) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RegistrationParams` [INFO] [stdout] --> src/registration.rs:180:1 [INFO] [stdout] | [INFO] [stdout] 3 | RegistrationParams::from_args(env::args()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `RegistrationParams` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env` [INFO] [stdout] --> src/registration.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 3 | RegistrationParams::from_args(env::args()) [INFO] [stdout] | ^^^ use of undeclared type or module `env` [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/socket.rs - socket::StreamDeckSocket::connect (line 33) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RegistrationParams` [INFO] [stdout] --> src/socket.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 3 | let params = RegistrationParams::from_args(env::args()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `RegistrationParams` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env` [INFO] [stdout] --> src/socket.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 3 | let params = RegistrationParams::from_args(env::args()).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type or module `env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `StreamDeckSocket` [INFO] [stdout] --> src/socket.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 4 | let connect = StreamDeckSocket::::connect(params.port, params.event, params.uuid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `StreamDeckSocket` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/socket.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 5 | tokio::run(connect [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GlobalSettings` in this scope [INFO] [stdout] --> src/socket.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 4 | let connect = StreamDeckSocket::::connect(params.port, params.event, params.uuid); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ActionSettings` in this scope [INFO] [stdout] --> src/socket.rs:35:50 [INFO] [stdout] | [INFO] [stdout] 4 | let connect = StreamDeckSocket::::connect(params.port, params.event, params.uuid); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PiMessage` in this scope [INFO] [stdout] --> src/socket.rs:35:66 [INFO] [stdout] | [INFO] [stdout] 4 | let connect = StreamDeckSocket::::connect(params.port, params.event, params.uuid); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PiMessageOut` in this scope [INFO] [stdout] --> src/socket.rs:35:77 [INFO] [stdout] | [INFO] [stdout] 4 | let connect = StreamDeckSocket::::connect(params.port, params.event, params.uuid); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, 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/registration.rs - registration::RegistrationParams::from_args (line 179) [INFO] [stdout] src/socket.rs - socket::StreamDeckSocket::connect (line 33) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "97cf7e86098c473cb66130e0e29322001b6be27f8ed07fc534c6cd3d1cb303e6"` [INFO] running `"docker" "rm" "-f" "97cf7e86098c473cb66130e0e29322001b6be27f8ed07fc534c6cd3d1cb303e6"` [INFO] [stdout] 97cf7e86098c473cb66130e0e29322001b6be27f8ed07fc534c6cd3d1cb303e6