[INFO] crate streamdeck-rs 0.5.0 is already in cache [INFO] testing streamdeck-rs-0.5.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate streamdeck-rs 0.5.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate streamdeck-rs 0.5.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 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-2/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 682a9017aa95b9ff9002b39faa0280d628785e645c35e3b14407d7eb03289f02 [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" "682a9017aa95b9ff9002b39faa0280d628785e645c35e3b14407d7eb03289f02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "682a9017aa95b9ff9002b39faa0280d628785e645c35e3b14407d7eb03289f02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "682a9017aa95b9ff9002b39faa0280d628785e645c35e3b14407d7eb03289f02", kill_on_drop: false }` [INFO] [stdout] 682a9017aa95b9ff9002b39faa0280d628785e645c35e3b14407d7eb03289f02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 420415e8c9524dcea934be4835dc8442d16c8aefe5d250176e04b9d5cbceb64e [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" "420415e8c9524dcea934be4835dc8442d16c8aefe5d250176e04b9d5cbceb64e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [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 rand_chacha v0.2.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand v0.7.3 [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 url v2.1.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [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 serde_derive v1.0.114 [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 26s [INFO] running `Command { std: "docker" "inspect" "420415e8c9524dcea934be4835dc8442d16c8aefe5d250176e04b9d5cbceb64e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "420415e8c9524dcea934be4835dc8442d16c8aefe5d250176e04b9d5cbceb64e", kill_on_drop: false }` [INFO] [stdout] 420415e8c9524dcea934be4835dc8442d16c8aefe5d250176e04b9d5cbceb64e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stdout] 10d422887e8db642d69f7a1be78264a33d81c7faa3ac795e30459550d88a9068 [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" "10d422887e8db642d69f7a1be78264a33d81c7faa3ac795e30459550d88a9068", 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.68s [INFO] running `Command { std: "docker" "inspect" "10d422887e8db642d69f7a1be78264a33d81c7faa3ac795e30459550d88a9068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10d422887e8db642d69f7a1be78264a33d81c7faa3ac795e30459550d88a9068", kill_on_drop: false }` [INFO] [stdout] 10d422887e8db642d69f7a1be78264a33d81c7faa3ac795e30459550d88a9068 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 0f6a63375f6fcac04a01a9d32840dcb0bffc4c4cc3d8c2f59ecef363422e8fa5 [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" "0f6a63375f6fcac04a01a9d32840dcb0bffc4c4cc3d8c2f59ecef363422e8fa5", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stdout] running 0 tests [INFO] [stderr] Running /opt/rustwide/target/debug/deps/streamdeck_rs-7bf621c23f3d9a55 [INFO] [stdout] [INFO] [stderr] Doc-tests streamdeck-rs [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [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 `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] ---- 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] [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" "0f6a63375f6fcac04a01a9d32840dcb0bffc4c4cc3d8c2f59ecef363422e8fa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f6a63375f6fcac04a01a9d32840dcb0bffc4c4cc3d8c2f59ecef363422e8fa5", kill_on_drop: false }` [INFO] [stdout] 0f6a63375f6fcac04a01a9d32840dcb0bffc4c4cc3d8c2f59ecef363422e8fa5