[INFO] fetching crate audio_sample 2.0.0... [INFO] checking audio_sample-2.0.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate audio_sample 2.0.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate audio_sample 2.0.0 [INFO] finished tweaking crates.io crate audio_sample 2.0.0 [INFO] tweaked toml for crates.io crate audio_sample 2.0.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate audio_sample 2.0.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate audio_sample 2.0.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72f17df233fb1133d4d33420fea2bf6c7a89aca3789902a8497aa8c2dbdfa285 [INFO] running `Command { std: "docker" "start" "-a" "72f17df233fb1133d4d33420fea2bf6c7a89aca3789902a8497aa8c2dbdfa285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72f17df233fb1133d4d33420fea2bf6c7a89aca3789902a8497aa8c2dbdfa285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72f17df233fb1133d4d33420fea2bf6c7a89aca3789902a8497aa8c2dbdfa285", kill_on_drop: false }` [INFO] [stdout] 72f17df233fb1133d4d33420fea2bf6c7a89aca3789902a8497aa8c2dbdfa285 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2832c892703f94c0176e99f6b6e5708336adec7b9b2778ec75c7831a391d9c76 [INFO] running `Command { std: "docker" "start" "-a" "2832c892703f94c0176e99f6b6e5708336adec7b9b2778ec75c7831a391d9c76", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking half v2.5.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking clap_builder v4.5.32 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking approx_eq v0.1.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking clap v4.5.32 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.9.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking i24 v2.1.0 [INFO] [stderr] Checking audio_sample v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> benches/conversion_benches.rs:72:76 [INFO] [stdout] | [INFO] [stdout] 72 | fn noise(duration_sec: Duration, sample_rate: usize, n_channels: usize) -> Samples { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `Samples` is dyn-incompatible, use `impl Samples` to return an opaque type, as long as you return a single underlying type [INFO] [stdout] | [INFO] [stdout] 72 | fn noise(duration_sec: Duration, sample_rate: usize, n_channels: usize) -> impl Samples { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> benches/conversion_benches.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | let samples: Samples<$from_type> = noise(*duration, sample_rate, N_CHANNELS).convert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | / bench_sample_conversions!( [INFO] [stdout] 63 | | c, [INFO] [stdout] 64 | | i16 => [i24, i32, f32, f64], [INFO] [stdout] 65 | | i24 => [i16, i32, f32, f64], [INFO] [stdout] ... | [INFO] [stdout] 68 | | f64 => [i16, i24, i32, f32] [INFO] [stdout] 69 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bench_sample_conversions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> benches/conversion_benches.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | Samples::from(data.into_boxed_slice()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 81 | ::from(data.into_boxed_slice()) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::samples::WindowType` [INFO] [stdout] --> src/lib.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | use crate::samples::{Samples, WindowType}; [INFO] [stdout] | ^^^^^^^^^^ no `WindowType` in `samples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `memmap2` [INFO] [stdout] --> src/lib.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | use memmap2::MmapOptions; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `memmap2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `memmap2`, use `cargo add memmap2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `alloc_sample_buffer` in this scope [INFO] [stdout] --> src/lib.rs:849:37 [INFO] [stdout] | [INFO] [stdout] 849 | let empty: Box<[i16]> = alloc_sample_buffer(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 843 + use crate::sample_conversion_tests::conversion_tests::alloc_sample_buffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `alloc_sample_buffer` in this scope [INFO] [stdout] --> src/lib.rs:853:39 [INFO] [stdout] | [INFO] [stdout] 853 | let typical: Box<[i16]> = alloc_sample_buffer(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 843 + use crate::sample_conversion_tests::conversion_tests::alloc_sample_buffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `alloc_sample_buffer` in this scope [INFO] [stdout] --> src/lib.rs:857:37 [INFO] [stdout] | [INFO] [stdout] 857 | let large: Box<[i16]> = alloc_sample_buffer(10000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 843 + use crate::sample_conversion_tests::conversion_tests::alloc_sample_buffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `alloc_sample_buffer` in this scope [INFO] [stdout] --> src/lib.rs:867:37 [INFO] [stdout] | [INFO] [stdout] 847 | fn test_alloc_sample_buffer() { [INFO] [stdout] | ----------------------------- similarly named function `test_alloc_sample_buffer` defined here [INFO] [stdout] ... [INFO] [stdout] 867 | let _huge: Box<[i16]> = alloc_sample_buffer(usize::MAX / 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 867 | let _huge: Box<[i16]> = test_alloc_sample_buffer(usize::MAX / 2); [INFO] [stdout] | +++++ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 843 + use crate::sample_conversion_tests::conversion_tests::alloc_sample_buffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0782`. [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:485:27 [INFO] [stdout] | [INFO] [stdout] 485 | let samples = Samples::new(data); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 485 | let samples = ::new(data); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `audio_sample` (bench "conversion_benches") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:498:27 [INFO] [stdout] | [INFO] [stdout] 498 | let samples = Samples::from_slice(&DATA); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 498 | let samples = ::from_slice(&DATA); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:509:27 [INFO] [stdout] | [INFO] [stdout] 509 | let samples = Samples::from_shared(data.clone()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 509 | let samples = ::from_shared(data.clone()); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:536:27 [INFO] [stdout] | [INFO] [stdout] 536 | let samples = Samples::::from_mmap(mmap_arc, 0, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 536 | let samples = >::from_mmap(mmap_arc, 0, 5); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:550:33 [INFO] [stdout] | [INFO] [stdout] 550 | let owned_samples = Samples::new(owned_data); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 550 | let owned_samples = ::new(owned_data); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:553:36 [INFO] [stdout] | [INFO] [stdout] 553 | let borrowed_samples = Samples::from_slice(&BORROWED_DATA); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 553 | let borrowed_samples = ::from_slice(&BORROWED_DATA); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:556:34 [INFO] [stdout] | [INFO] [stdout] 556 | let shared_samples = Samples::from_shared(shared_data); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 556 | let shared_samples = ::from_shared(shared_data); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:569:40 [INFO] [stdout] | [INFO] [stdout] 569 | let mut borrowed_samples = Samples::from_slice(&BORROWED_DATA); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 569 | let mut borrowed_samples = ::from_slice(&BORROWED_DATA); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:585:38 [INFO] [stdout] | [INFO] [stdout] 585 | let mut shared_samples = Samples::from_shared(shared_data); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 585 | let mut shared_samples = ::from_shared(shared_data); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:600:27 [INFO] [stdout] | [INFO] [stdout] 600 | let samples = Samples::new(data); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 600 | let samples = ::new(data); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:618:33 [INFO] [stdout] | [INFO] [stdout] 618 | let empty_samples = Samples::::new(Box::new([])); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 618 | let empty_samples = >::new(Box::new([])); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:623:27 [INFO] [stdout] | [INFO] [stdout] 623 | let samples = Samples::::new(Box::new([1, 2, 3])); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 623 | let samples = >::new(Box::new([1, 2, 3])); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:633:36 [INFO] [stdout] | [INFO] [stdout] 633 | let borrowed_samples = Samples::from_slice(&BORROWED_DATA); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 633 | let borrowed_samples = ::from_slice(&BORROWED_DATA); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:661:27 [INFO] [stdout] | [INFO] [stdout] 661 | let samples = Samples::::new(Box::new([0x1234, 0x5678])); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 661 | let samples = >::new(Box::new([0x1234, 0x5678])); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:673:31 [INFO] [stdout] | [INFO] [stdout] 673 | let i16_samples = Samples::::new(Box::new([0, 16384, -16384, 32767, -32768])); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 673 | let i16_samples = >::new(Box::new([0, 16384, -16384, 32767, -32768])); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:690:27 [INFO] [stdout] | [INFO] [stdout] 690 | let samples = Samples::::new(Box::new([1, 2, 3, 4, 5])); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 690 | let samples = >::new(Box::new([1, 2, 3, 4, 5])); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:703:33 [INFO] [stdout] | [INFO] [stdout] 703 | let float_samples = Samples::::new(Box::new([0.1, 0.2, 0.3])); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 703 | let float_samples = >::new(Box::new([0.1, 0.2, 0.3])); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:715:31 [INFO] [stdout] | [INFO] [stdout] 715 | let interleaved = Samples::::new(Box::new([10, 20, 30, 40, 50, 60])); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 715 | let interleaved = >::new(Box::new([10, 20, 30, 40, 50, 60])); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:731:17 [INFO] [stdout] | [INFO] [stdout] 731 | Samples::::new(Box::new([1, 2, 3, 4, 5, 6, 11, 12, 13, 14, 15, 16])); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 731 | >::new(Box::new([1, 2, 3, 4, 5, 6, 11, 12, 13, 14, 15, 16])); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:741:27 [INFO] [stdout] | [INFO] [stdout] 741 | let samples = Samples::::new(Box::new([0.5, 0.5, 0.5, 0.5])); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 741 | let samples = >::new(Box::new([0.5, 0.5, 0.5, 0.5])); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:795:27 [INFO] [stdout] | [INFO] [stdout] 795 | let samples = Samples::::new(Box::new([1, 2, 3, 4, 5])); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 795 | let samples = >::new(Box::new([1, 2, 3, 4, 5])); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:812:31 [INFO] [stdout] | [INFO] [stdout] 812 | let mut samples = Samples::::new(Box::new([1, 2, 3, 4, 5])); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 812 | let mut samples = >::new(Box::new([1, 2, 3, 4, 5])); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/lib.rs:829:27 [INFO] [stdout] | [INFO] [stdout] 829 | let samples = Samples::::new(Box::new([1, 2, 3])); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 829 | let samples = >::new(Box::new([1, 2, 3])); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `audio_sample` (lib test) due to 29 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2832c892703f94c0176e99f6b6e5708336adec7b9b2778ec75c7831a391d9c76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2832c892703f94c0176e99f6b6e5708336adec7b9b2778ec75c7831a391d9c76", kill_on_drop: false }` [INFO] [stdout] 2832c892703f94c0176e99f6b6e5708336adec7b9b2778ec75c7831a391d9c76