[INFO] cloning repository https://github.com/PolyMeilex/ralsa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PolyMeilex/ralsa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolyMeilex%2Fralsa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolyMeilex%2Fralsa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1497d96702a87ee17fb5f93446901f1d6f1b42dc [INFO] checking PolyMeilex/ralsa against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolyMeilex%2Fralsa" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PolyMeilex/ralsa [INFO] finished tweaking git repo https://github.com/PolyMeilex/ralsa [INFO] tweaked toml for git repo https://github.com/PolyMeilex/ralsa written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PolyMeilex/ralsa on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PolyMeilex/ralsa already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded polling v3.3.2 [INFO] [stderr] Downloaded udev v0.6.3 [INFO] [stderr] Downloaded os_str_bytes v6.0.1 [INFO] [stderr] Downloaded alsa v0.6.0 [INFO] [stderr] Downloaded rustix v0.38.30 [INFO] [stderr] Downloaded streaming-iterator v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b245116d0cc8954cf3876bba191fad0f79eb19f6ba7406a61e2cbf7555806ff0 [INFO] running `Command { std: "docker" "start" "-a" "b245116d0cc8954cf3876bba191fad0f79eb19f6ba7406a61e2cbf7555806ff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b245116d0cc8954cf3876bba191fad0f79eb19f6ba7406a61e2cbf7555806ff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b245116d0cc8954cf3876bba191fad0f79eb19f6ba7406a61e2cbf7555806ff0", kill_on_drop: false }` [INFO] [stdout] b245116d0cc8954cf3876bba191fad0f79eb19f6ba7406a61e2cbf7555806ff0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c25c623a94b2182ad820af4cd0b3e541cae74bb3f845acfde05cbc1c1238df7 [INFO] running `Command { std: "docker" "start" "-a" "6c25c623a94b2182ad820af4cd0b3e541cae74bb3f845acfde05cbc1c1238df7", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking streaming-iterator v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking udev v0.6.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Checking alsa v0.6.0 [INFO] [stderr] Checking alsa_ioctl v0.1.0 (/opt/rustwide/workdir/alsa-ioctl) [INFO] [stderr] Checking polling v3.3.2 [INFO] [stderr] Checking async-io v2.2.2 [INFO] [stderr] Checking ralsa-seq v0.1.0 (/opt/rustwide/workdir/ralsa-seq) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ralsa-seq/src/event.rs:272:28 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn event_with_data(&self) -> EventWithData { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 272 | pub fn event_with_data(&self) -> EventWithData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> ralsa-seq/src/event.rs:464:51 [INFO] [stdout] | [INFO] [stdout] 464 | #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq, num_derive::FromPrimitive)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EventKind` [INFO] [stdout] 465 | pub enum EventKind { [INFO] [stdout] | --------- `EventKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking alsa-webmidi v0.1.0 (/opt/rustwide/workdir/alsa-webmidi) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ralsa-seq/src/event.rs:272:28 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn event_with_data(&self) -> EventWithData { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 272 | pub fn event_with_data(&self) -> EventWithData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> ralsa-seq/src/event.rs:464:51 [INFO] [stdout] | [INFO] [stdout] 464 | #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq, num_derive::FromPrimitive)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EventKind` [INFO] [stdout] 465 | pub enum EventKind { [INFO] [stdout] | --------- `EventKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ralsa-async v0.1.0 (/opt/rustwide/workdir/ralsa-async) [INFO] [stdout] warning: unused variable: `seq_output` [INFO] [stdout] --> ralsa-async/examples/async.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let (seq, seq_input, seq_output) = ralsa_seq::Seq::open().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seq_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> ralsa-async/examples/async.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let port = seq.create_simple_port(&name, capability, kind).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking ralsa v0.1.0 (/opt/rustwide/workdir/tools) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.04s [INFO] running `Command { std: "docker" "inspect" "6c25c623a94b2182ad820af4cd0b3e541cae74bb3f845acfde05cbc1c1238df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c25c623a94b2182ad820af4cd0b3e541cae74bb3f845acfde05cbc1c1238df7", kill_on_drop: false }` [INFO] [stdout] 6c25c623a94b2182ad820af4cd0b3e541cae74bb3f845acfde05cbc1c1238df7