[INFO] crate streamdeck-rs 0.5.0 is already in cache [INFO] testing streamdeck-rs-0.5.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate streamdeck-rs 0.5.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate streamdeck-rs 0.5.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate streamdeck-rs 0.5.0 [INFO] finished tweaking crates.io crate streamdeck-rs 0.5.0 [INFO] tweaked toml for crates.io crate streamdeck-rs 0.5.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d811b1e64693e1a296d637dd7113c9f206298db02cfc51a8f1e9e2dbd7c6e93 [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" "2d811b1e64693e1a296d637dd7113c9f206298db02cfc51a8f1e9e2dbd7c6e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d811b1e64693e1a296d637dd7113c9f206298db02cfc51a8f1e9e2dbd7c6e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d811b1e64693e1a296d637dd7113c9f206298db02cfc51a8f1e9e2dbd7c6e93", kill_on_drop: false }` [INFO] [stdout] 2d811b1e64693e1a296d637dd7113c9f206298db02cfc51a8f1e9e2dbd7c6e93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb8125390b9bd051f9a7b62c53bac7ccbefa834c094fd23d283824f17df20585 [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" "fb8125390b9bd051f9a7b62c53bac7ccbefa834c094fd23d283824f17df20585", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling tungstenite v0.10.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-tungstenite v0.10.1 [INFO] [stderr] Compiling streamdeck-rs v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "fb8125390b9bd051f9a7b62c53bac7ccbefa834c094fd23d283824f17df20585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb8125390b9bd051f9a7b62c53bac7ccbefa834c094fd23d283824f17df20585", kill_on_drop: false }` [INFO] [stdout] fb8125390b9bd051f9a7b62c53bac7ccbefa834c094fd23d283824f17df20585 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6adebfe2838e0abd7713fe05e4054605077a201e6323b1c437d52f225e413605 [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" "6adebfe2838e0abd7713fe05e4054605077a201e6323b1c437d52f225e413605", kill_on_drop: false }` [INFO] [stderr] Compiling streamdeck-rs v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.89s [INFO] running `Command { std: "docker" "inspect" "6adebfe2838e0abd7713fe05e4054605077a201e6323b1c437d52f225e413605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6adebfe2838e0abd7713fe05e4054605077a201e6323b1c437d52f225e413605", kill_on_drop: false }` [INFO] [stdout] 6adebfe2838e0abd7713fe05e4054605077a201e6323b1c437d52f225e413605 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5a13c7bd277ffa47d683d8fd58238fd505b974ae54e1330bbe9100787807074a [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" "5a13c7bd277ffa47d683d8fd58238fd505b974ae54e1330bbe9100787807074a", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [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] Running /opt/rustwide/target/debug/deps/streamdeck_rs-7bf621c23f3d9a55 [INFO] [stderr] Doc-tests streamdeck-rs [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/socket.rs - socket::StreamDeckSocket::connect (line 33) ... FAILED [INFO] [stdout] test src/registration.rs - registration::RegistrationParams::from_args (line 179) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/socket.rs - socket::StreamDeckSocket::connect (line 33) 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 `RegistrationParams` [INFO] [stdout] --> src/socket.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 3 | let params = RegistrationParams::from_args(env::args()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use streamdeck_rs::registration::RegistrationParams; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use streamdeck_rs::StreamDeckSocket; [INFO] [stdout] | [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[E0425]: cannot find function `run` in crate `tokio` [INFO] [stdout] --> src/socket.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 5 | tokio::run(connect [INFO] [stdout] | ^^^ not found in `tokio` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [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 `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[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] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use streamdeck_rs::registration::RegistrationParams; [INFO] [stdout] | [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] [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 `Command { std: "docker" "inspect" "5a13c7bd277ffa47d683d8fd58238fd505b974ae54e1330bbe9100787807074a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a13c7bd277ffa47d683d8fd58238fd505b974ae54e1330bbe9100787807074a", kill_on_drop: false }` [INFO] [stdout] 5a13c7bd277ffa47d683d8fd58238fd505b974ae54e1330bbe9100787807074a