[INFO] fetching crate easyjack 0.1.2... [INFO] checking easyjack-0.1.2 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate easyjack 0.1.2 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate easyjack 0.1.2 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate easyjack 0.1.2 [INFO] finished tweaking crates.io crate easyjack 0.1.2 [INFO] tweaked toml for crates.io crate easyjack 0.1.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages [INFO] [stderr] Adding bitflags v0.4.0 (latest: v2.5.0) [INFO] [stderr] Adding bitflags v0.7.0 (latest: v2.5.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding jack-sys v0.1.5 (latest: v0.5.1) [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.4.0) [INFO] [stderr] Adding libloading v0.4.3 (latest: v0.8.3) [INFO] [stderr] Adding nix v0.7.0 (latest: v0.28.0) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.1) [INFO] [stderr] Adding num-bigint v0.1.44 (latest: v0.4.4) [INFO] [stderr] Adding num-complex v0.1.43 (latest: v0.4.5) [INFO] [stderr] Adding num-rational v0.1.42 (latest: v0.4.1) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding rustc_version v0.1.7 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.1.20 (latest: v1.0.22) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc_version v0.1.7 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded jack-sys v0.1.5 [INFO] [stderr] Downloaded libloading v0.4.3 [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded nix v0.7.0 [INFO] [stderr] Downloaded semver v0.1.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 479a4076b829a3b28d8eebaba7caa844cf8298f3f817c9a0d626e04abc20b700 [INFO] running `Command { std: "docker" "start" "-a" "479a4076b829a3b28d8eebaba7caa844cf8298f3f817c9a0d626e04abc20b700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "479a4076b829a3b28d8eebaba7caa844cf8298f3f817c9a0d626e04abc20b700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "479a4076b829a3b28d8eebaba7caa844cf8298f3f817c9a0d626e04abc20b700", kill_on_drop: false }` [INFO] [stdout] 479a4076b829a3b28d8eebaba7caa844cf8298f3f817c9a0d626e04abc20b700 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80a5cc90449e49cc1a42558485967603dd6f67148110e8c01a02a5dba8f84864 [INFO] running `Command { std: "docker" "start" "-a" "80a5cc90449e49cc1a42558485967603dd6f67148110e8c01a02a5dba8f84864", kill_on_drop: false }` [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling easyjack v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking jack-sys v0.1.5 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/port.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/port.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/types.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / bitflags! { [INFO] [stdout] 24 | | pub flags PortFlags: u32 { [INFO] [stdout] 25 | | /// if PortIsInput is set, then the port can receive data. [INFO] [stdout] 26 | | const PORT_IS_INPUT = jack_sys::JackPortIsInput, [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / bitflags! { [INFO] [stdout] 24 | | pub flags PortFlags: u32 { [INFO] [stdout] 25 | | /// if PortIsInput is set, then the port can receive data. [INFO] [stdout] 26 | | const PORT_IS_INPUT = jack_sys::JackPortIsInput, [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/types.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / bitflags! { [INFO] [stdout] 73 | | pub flags Status: u32 { [INFO] [stdout] 74 | | /// overall operation failed [INFO] [stdout] 75 | | const FAILURE = jack_sys::JackFailure, [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / bitflags! { [INFO] [stdout] 73 | | pub flags Status: u32 { [INFO] [stdout] 74 | | /// overall operation failed [INFO] [stdout] 75 | | const FAILURE = jack_sys::JackFailure, [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/types.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / bitflags! { [INFO] [stdout] 127 | | pub flags Options: u32 { [INFO] [stdout] 128 | | /// Null value to use when no option bits are needed. [INFO] [stdout] 129 | | const NULL_OPTIONS = jack_sys::JackNullOption, [INFO] [stdout] ... | [INFO] [stdout] 148 | | } [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / bitflags! { [INFO] [stdout] 127 | | pub flags Options: u32 { [INFO] [stdout] 128 | | /// Null value to use when no option bits are needed. [INFO] [stdout] 129 | | const NULL_OPTIONS = jack_sys::JackNullOption, [INFO] [stdout] ... | [INFO] [stdout] 148 | | } [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/midi.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/midi.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/midi.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | let mut jstruct = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/client.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/client.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 423 | use super::*; [INFO] [stdout] | -------- the item `jack_sys` is already imported here [INFO] [stdout] 424 | use types::*; [INFO] [stdout] 425 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | process_handler: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | process_handler: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::*` [INFO] [stdout] --> src/client.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/port.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/port.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | metadata_handler: Option> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | metadata_handler: Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/types.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / bitflags! { [INFO] [stdout] 24 | | pub flags PortFlags: u32 { [INFO] [stdout] 25 | | /// if PortIsInput is set, then the port can receive data. [INFO] [stdout] 26 | | const PORT_IS_INPUT = jack_sys::JackPortIsInput, [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / bitflags! { [INFO] [stdout] 24 | | pub flags PortFlags: u32 { [INFO] [stdout] 25 | | /// if PortIsInput is set, then the port can receive data. [INFO] [stdout] 26 | | const PORT_IS_INPUT = jack_sys::JackPortIsInput, [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/types.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / bitflags! { [INFO] [stdout] 73 | | pub flags Status: u32 { [INFO] [stdout] 74 | | /// overall operation failed [INFO] [stdout] 75 | | const FAILURE = jack_sys::JackFailure, [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / bitflags! { [INFO] [stdout] 73 | | pub flags Status: u32 { [INFO] [stdout] 74 | | /// overall operation failed [INFO] [stdout] 75 | | const FAILURE = jack_sys::JackFailure, [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/types.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / bitflags! { [INFO] [stdout] 127 | | pub flags Options: u32 { [INFO] [stdout] 128 | | /// Null value to use when no option bits are needed. [INFO] [stdout] 129 | | const NULL_OPTIONS = jack_sys::JackNullOption, [INFO] [stdout] ... | [INFO] [stdout] 148 | | } [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / bitflags! { [INFO] [stdout] 127 | | pub flags Options: u32 { [INFO] [stdout] 128 | | /// Null value to use when no option bits are needed. [INFO] [stdout] 129 | | const NULL_OPTIONS = jack_sys::JackNullOption, [INFO] [stdout] ... | [INFO] [stdout] 148 | | } [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/midi.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/midi.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/midi.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | let mut jstruct = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | process_handler: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | process_handler: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | metadata_handler: Option> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | metadata_handler: Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client.rs:229:46 [INFO] [stdout] | [INFO] [stdout] 229 | CString::new(port1).unwrap().as_ptr(), [INFO] [stdout] | ---------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client.rs:230:46 [INFO] [stdout] | [INFO] [stdout] 230 | CString::new(port2).unwrap().as_ptr()) [INFO] [stdout] | ---------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client.rs:250:46 [INFO] [stdout] | [INFO] [stdout] 250 | CString::new(port1).unwrap().as_ptr(), [INFO] [stdout] | ---------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client.rs:251:46 [INFO] [stdout] | [INFO] [stdout] 251 | CString::new(port2).unwrap().as_ptr()) [INFO] [stdout] | ---------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Struct__jack_midi_event` does not permit being left uninitialized [INFO] [stdout] --> src/midi.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | let mut jstruct = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client.rs:229:46 [INFO] [stdout] | [INFO] [stdout] 229 | CString::new(port1).unwrap().as_ptr(), [INFO] [stdout] | ---------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client.rs:230:46 [INFO] [stdout] | [INFO] [stdout] 230 | CString::new(port2).unwrap().as_ptr()) [INFO] [stdout] | ---------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client.rs:250:46 [INFO] [stdout] | [INFO] [stdout] 250 | CString::new(port1).unwrap().as_ptr(), [INFO] [stdout] | ---------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client.rs:251:46 [INFO] [stdout] | [INFO] [stdout] 251 | CString::new(port2).unwrap().as_ptr()) [INFO] [stdout] | ---------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Struct__jack_midi_event` does not permit being left uninitialized [INFO] [stdout] --> src/midi.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | let mut jstruct = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/connect.rs:177:26 [INFO] [stdout] | [INFO] [stdout] 177 | Err(f) => panic!(f.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 177 | Err(f) => panic!("{}", f.to_string()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/simple_client.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | static RUNNING: atomic::AtomicBool = atomic::ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 23 | static RUNNING: atomic::AtomicBool = atomic::AtomicBool::new(false); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/midi_sine.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | static RUNNING: atomic::AtomicBool = atomic::ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 17 | static RUNNING: atomic::AtomicBool = atomic::AtomicBool::new(false); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/thru.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | static RUNNING: atomic::AtomicBool = atomic::ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 10 | static RUNNING: atomic::AtomicBool = atomic::AtomicBool::new(false); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.29s [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "80a5cc90449e49cc1a42558485967603dd6f67148110e8c01a02a5dba8f84864", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80a5cc90449e49cc1a42558485967603dd6f67148110e8c01a02a5dba8f84864", kill_on_drop: false }` [INFO] [stdout] 80a5cc90449e49cc1a42558485967603dd6f67148110e8c01a02a5dba8f84864 [INFO] checking easyjack-0.1.2 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate easyjack 0.1.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate easyjack 0.1.2 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate easyjack 0.1.2 [INFO] finished tweaking crates.io crate easyjack 0.1.2 [INFO] tweaked toml for crates.io crate easyjack 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0977b918df22d39fa6a02ad3d28df21e48ebcc0d58cecce0a77c4751b820ba6 [INFO] running `Command { std: "docker" "start" "-a" "f0977b918df22d39fa6a02ad3d28df21e48ebcc0d58cecce0a77c4751b820ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0977b918df22d39fa6a02ad3d28df21e48ebcc0d58cecce0a77c4751b820ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0977b918df22d39fa6a02ad3d28df21e48ebcc0d58cecce0a77c4751b820ba6", kill_on_drop: false }` [INFO] [stdout] f0977b918df22d39fa6a02ad3d28df21e48ebcc0d58cecce0a77c4751b820ba6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cddbf30145b0f59b7c3872e76362109274e738545c7aaa2db3391f16930ec2c2 [INFO] running `Command { std: "docker" "start" "-a" "cddbf30145b0f59b7c3872e76362109274e738545c7aaa2db3391f16930ec2c2", kill_on_drop: false }` [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling easyjack v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Checking jack-sys v0.1.5 [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/client.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/client.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 423 | use super::*; [INFO] [stdout] | -------- the item `jack_sys` is already imported here [INFO] [stdout] 424 | use types::*; [INFO] [stdout] 425 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::*` [INFO] [stdout] --> src/client.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/port.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/port.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/types.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / bitflags! { [INFO] [stdout] 24 | | pub flags PortFlags: u32 { [INFO] [stdout] 25 | | /// if PortIsInput is set, then the port can receive data. [INFO] [stdout] 26 | | const PORT_IS_INPUT = jack_sys::JackPortIsInput, [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / bitflags! { [INFO] [stdout] 24 | | pub flags PortFlags: u32 { [INFO] [stdout] 25 | | /// if PortIsInput is set, then the port can receive data. [INFO] [stdout] 26 | | const PORT_IS_INPUT = jack_sys::JackPortIsInput, [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/types.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / bitflags! { [INFO] [stdout] 73 | | pub flags Status: u32 { [INFO] [stdout] 74 | | /// overall operation failed [INFO] [stdout] 75 | | const FAILURE = jack_sys::JackFailure, [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / bitflags! { [INFO] [stdout] 73 | | pub flags Status: u32 { [INFO] [stdout] 74 | | /// overall operation failed [INFO] [stdout] 75 | | const FAILURE = jack_sys::JackFailure, [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/types.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / bitflags! { [INFO] [stdout] 127 | | pub flags Options: u32 { [INFO] [stdout] 128 | | /// Null value to use when no option bits are needed. [INFO] [stdout] 129 | | const NULL_OPTIONS = jack_sys::JackNullOption, [INFO] [stdout] ... | [INFO] [stdout] 148 | | } [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / bitflags! { [INFO] [stdout] 127 | | pub flags Options: u32 { [INFO] [stdout] 128 | | /// Null value to use when no option bits are needed. [INFO] [stdout] 129 | | const NULL_OPTIONS = jack_sys::JackNullOption, [INFO] [stdout] ... | [INFO] [stdout] 148 | | } [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/midi.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/midi.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/port.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/port.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/types.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / bitflags! { [INFO] [stdout] 24 | | pub flags PortFlags: u32 { [INFO] [stdout] 25 | | /// if PortIsInput is set, then the port can receive data. [INFO] [stdout] 26 | | const PORT_IS_INPUT = jack_sys::JackPortIsInput, [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / bitflags! { [INFO] [stdout] 24 | | pub flags PortFlags: u32 { [INFO] [stdout] 25 | | /// if PortIsInput is set, then the port can receive data. [INFO] [stdout] 26 | | const PORT_IS_INPUT = jack_sys::JackPortIsInput, [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/midi.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | let mut jstruct = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/types.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / bitflags! { [INFO] [stdout] 73 | | pub flags Status: u32 { [INFO] [stdout] 74 | | /// overall operation failed [INFO] [stdout] 75 | | const FAILURE = jack_sys::JackFailure, [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | process_handler: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | process_handler: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | metadata_handler: Option> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | metadata_handler: Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / bitflags! { [INFO] [stdout] 73 | | pub flags Status: u32 { [INFO] [stdout] 74 | | /// overall operation failed [INFO] [stdout] 75 | | const FAILURE = jack_sys::JackFailure, [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/types.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / bitflags! { [INFO] [stdout] 127 | | pub flags Options: u32 { [INFO] [stdout] 128 | | /// Null value to use when no option bits are needed. [INFO] [stdout] 129 | | const NULL_OPTIONS = jack_sys::JackNullOption, [INFO] [stdout] ... | [INFO] [stdout] 148 | | } [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / bitflags! { [INFO] [stdout] 127 | | pub flags Options: u32 { [INFO] [stdout] 128 | | /// Null value to use when no option bits are needed. [INFO] [stdout] 129 | | const NULL_OPTIONS = jack_sys::JackNullOption, [INFO] [stdout] ... | [INFO] [stdout] 148 | | } [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `jack_sys` is imported redundantly [INFO] [stdout] --> src/midi.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jack_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate jack_sys; [INFO] [stdout] | ---------------------- the item `jack_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/midi.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/midi.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | let mut jstruct = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | process_handler: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | process_handler: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | metadata_handler: Option> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | metadata_handler: Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client.rs:229:46 [INFO] [stdout] | [INFO] [stdout] 229 | CString::new(port1).unwrap().as_ptr(), [INFO] [stdout] | ---------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client.rs:230:46 [INFO] [stdout] | [INFO] [stdout] 230 | CString::new(port2).unwrap().as_ptr()) [INFO] [stdout] | ---------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client.rs:250:46 [INFO] [stdout] | [INFO] [stdout] 250 | CString::new(port1).unwrap().as_ptr(), [INFO] [stdout] | ---------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client.rs:251:46 [INFO] [stdout] | [INFO] [stdout] 251 | CString::new(port2).unwrap().as_ptr()) [INFO] [stdout] | ---------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Struct__jack_midi_event` does not permit being left uninitialized [INFO] [stdout] --> src/midi.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | let mut jstruct = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client.rs:229:46 [INFO] [stdout] | [INFO] [stdout] 229 | CString::new(port1).unwrap().as_ptr(), [INFO] [stdout] | ---------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client.rs:230:46 [INFO] [stdout] | [INFO] [stdout] 230 | CString::new(port2).unwrap().as_ptr()) [INFO] [stdout] | ---------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client.rs:250:46 [INFO] [stdout] | [INFO] [stdout] 250 | CString::new(port1).unwrap().as_ptr(), [INFO] [stdout] | ---------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client.rs:251:46 [INFO] [stdout] | [INFO] [stdout] 251 | CString::new(port2).unwrap().as_ptr()) [INFO] [stdout] | ---------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Struct__jack_midi_event` does not permit being left uninitialized [INFO] [stdout] --> src/midi.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | let mut jstruct = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/midi_sine.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | static RUNNING: atomic::AtomicBool = atomic::ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 17 | static RUNNING: atomic::AtomicBool = atomic::AtomicBool::new(false); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/thru.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | static RUNNING: atomic::AtomicBool = atomic::ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 10 | static RUNNING: atomic::AtomicBool = atomic::AtomicBool::new(false); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/simple_client.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | static RUNNING: atomic::AtomicBool = atomic::ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 23 | static RUNNING: atomic::AtomicBool = atomic::AtomicBool::new(false); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/connect.rs:177:26 [INFO] [stdout] | [INFO] [stdout] 177 | Err(f) => panic!(f.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 177 | Err(f) => panic!("{}", f.to_string()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "cddbf30145b0f59b7c3872e76362109274e738545c7aaa2db3391f16930ec2c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cddbf30145b0f59b7c3872e76362109274e738545c7aaa2db3391f16930ec2c2", kill_on_drop: false }` [INFO] [stdout] cddbf30145b0f59b7c3872e76362109274e738545c7aaa2db3391f16930ec2c2