[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 try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolyMeilex%2Fralsa" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PolyMeilex/ralsa on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bb9c0dc20bedbcfeb1de62d80859db4a1e377d2aca6a65a5ad0cd3cb2d0bc63 [INFO] running `Command { std: "docker" "start" "-a" "2bb9c0dc20bedbcfeb1de62d80859db4a1e377d2aca6a65a5ad0cd3cb2d0bc63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bb9c0dc20bedbcfeb1de62d80859db4a1e377d2aca6a65a5ad0cd3cb2d0bc63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bb9c0dc20bedbcfeb1de62d80859db4a1e377d2aca6a65a5ad0cd3cb2d0bc63", kill_on_drop: false }` [INFO] [stdout] 2bb9c0dc20bedbcfeb1de62d80859db4a1e377d2aca6a65a5ad0cd3cb2d0bc63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 259ccbfe58f617dd493333caed39bfd46d3e28049a7de9a24aa68175a5ed97de [INFO] running `Command { std: "docker" "start" "-a" "259ccbfe58f617dd493333caed39bfd46d3e28049a7de9a24aa68175a5ed97de", 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 syn v1.0.95 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [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 libudev-sys v0.1.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling alsa-sys v0.3.1 [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 textwrap v0.15.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking clap_lex v0.2.0 [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] 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] Checking nix v0.24.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.23.1 [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 clap v3.1.18 [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] [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 alsa-webmidi v0.1.0 (/opt/rustwide/workdir/alsa-webmidi) [INFO] [stderr] Checking ralsa v0.1.0 (/opt/rustwide/workdir/tools) [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> tools/src/bin/aseqdump.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /// Sets the sequencer ports from which events are received. [INFO] [stdout] 23 | | #[clap(short, long, multiple_occurrences = true, multiple_values = true)] [INFO] [stdout] 24 | | ports: Vec, [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ralsa` (bin "aseqdump") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> tools/src/bin/aplaymidi.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / /// Sets the sequencer ports from which events are received. [INFO] [stdout] 19 | | #[clap(short, long, multiple_occurrences = true, multiple_values = true)] [INFO] [stdout] 20 | | ports: Vec, [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ralsa` (bin "aplaymidi" test) due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> tools/src/bin/aplaymidi.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / /// Sets the sequencer ports from which events are received. [INFO] [stdout] 19 | | #[clap(short, long, multiple_occurrences = true, multiple_values = true)] [INFO] [stdout] 20 | | ports: Vec, [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ralsa` (bin "aplaymidi") due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> tools/src/bin/aseqdump.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /// Sets the sequencer ports from which events are received. [INFO] [stdout] 23 | | #[clap(short, long, multiple_occurrences = true, multiple_values = true)] [INFO] [stdout] 24 | | ports: Vec, [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ralsa` (bin "aseqdump" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "259ccbfe58f617dd493333caed39bfd46d3e28049a7de9a24aa68175a5ed97de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "259ccbfe58f617dd493333caed39bfd46d3e28049a7de9a24aa68175a5ed97de", kill_on_drop: false }` [INFO] [stdout] 259ccbfe58f617dd493333caed39bfd46d3e28049a7de9a24aa68175a5ed97de