[INFO] fetching crate audio-time 0.0.1-alpha.2... [INFO] testing audio-time-0.0.1-alpha.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate audio-time 0.0.1-alpha.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate audio-time 0.0.1-alpha.2 [INFO] finished tweaking crates.io crate audio-time 0.0.1-alpha.2 [INFO] tweaked toml for crates.io crate audio-time 0.0.1-alpha.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate audio-time 0.0.1-alpha.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded audio-core v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b65453c0b516ce3851614f804d3ed1f539d11bf6843f84b05e7d182243654dda [INFO] running `Command { std: "docker" "start" "-a" "b65453c0b516ce3851614f804d3ed1f539d11bf6843f84b05e7d182243654dda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b65453c0b516ce3851614f804d3ed1f539d11bf6843f84b05e7d182243654dda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b65453c0b516ce3851614f804d3ed1f539d11bf6843f84b05e7d182243654dda", kill_on_drop: false }` [INFO] [stdout] b65453c0b516ce3851614f804d3ed1f539d11bf6843f84b05e7d182243654dda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1a07c69202d7f42e20cccf0a02b2025c5a247a33cef85f70c490bf83494472e3 [INFO] running `Command { std: "docker" "start" "-a" "1a07c69202d7f42e20cccf0a02b2025c5a247a33cef85f70c490bf83494472e3", kill_on_drop: false }` [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling audio-core v0.2.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling audio-time v0.0.1-alpha.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | core_intrinsics, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Mul` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/samples.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | impl const Mul for Samples { [INFO] [stdout] | ^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Mul` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/samples.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | impl const Mul for Samples [INFO] [stdout] | ^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Div` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/samples.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | impl const Div for Samples { [INFO] [stdout] | ^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Div` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/samples.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 132 | impl const Div for Samples [INFO] [stdout] | ^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | const_mut_refs, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_option` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | const_option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_option_ext` has been stable since 1.84.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | const_option_ext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_cmp` [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | const_cmp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_convert` [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | const_convert, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_num_from_num` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | const_num_from_num, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_result_drop` [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | const_result_drop, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | impl const TryFrom> for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | impl const TryFrom for Samples { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | impl const TryFrom> for Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | impl const TryFrom for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | impl const TryFrom> for Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/bytes.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Bytes(usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clone` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/sample_rate.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive_const(Clone)] [INFO] [stdout] | ^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/bytes.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | impl Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/bytes.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | impl fmt::Debug for Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/bytes.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | impl Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/bytes.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | impl const From> for usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | impl const From> for Samples { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/sample_rate.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl const From for SampleRate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/sample_rate.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl const From for NonZeroU32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/samples.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | impl const From for Samples { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/samples.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | impl const From> for usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/bytes.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | impl const From> for usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | impl const From> for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | impl const TryFrom> for Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | impl const TryFrom for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | impl const TryFrom> for Duration { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | impl const TryFrom for Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | impl const TryFrom> for Duration { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Samples(usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | impl Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | impl fmt::Debug for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | impl Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | impl const From for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | impl const From> for usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/samples.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | usize: ~const Mul, [INFO] [stdout] | ^^^^^^ can't be applied to `Mul` [INFO] [stdout] | [INFO] [stdout] note: `Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:318:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | impl const Mul for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | impl const Mul for Samples [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/samples.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | usize: ~const Div, [INFO] [stdout] | ^^^^^^ can't be applied to `Div` [INFO] [stdout] | [INFO] [stdout] note: `Div` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:452:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | impl const Div for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | impl const Div for Samples [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sample.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | _type: type_id::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> src/bytes.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | let rem = n % usize::from(SYS.sample_size().get()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>::try_into` in constant functions [INFO] [stdout] --> src/bytes.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | match self.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>>::try_into` in constant functions [INFO] [stdout] --> src/bytes.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | match dur.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Into>>::into` in constant functions [INFO] [stdout] --> src/bytes.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | self.into() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>>::try_into` in constant functions [INFO] [stdout] --> src/bytes.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | match samples.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> src/convert.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | Self::new(value.get() / usize::from(SYS.sample_size().get())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>::into` in constant functions [INFO] [stdout] --> src/convert.rs:24:69 [INFO] [stdout] | [INFO] [stdout] 24 | let bytes = value.get().checked_mul(SYS.sample_size().get().into()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>::into` in constant functions [INFO] [stdout] --> src/convert.rs:43:59 [INFO] [stdout] | [INFO] [stdout] 43 | let sample_rate = SYS.sample_rate.get().get().into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | let samples = value.as_millis().checked_mul(sample_rate)? / 1_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | let samples = value.as_millis().checked_mul(sample_rate)? / 1_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>::try_into` in constant functions [INFO] [stdout] --> src/convert.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | samples.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Result::::ok` in constant functions [INFO] [stdout] --> src/convert.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | samples.try_into().ok()? [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | samples.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `try` block cannot convert `Option` to the result in constant functions [INFO] [stdout] --> src/convert.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | samples.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | samples.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::try_from` in constant functions [INFO] [stdout] --> src/convert.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | let sample_rate = usize::try_from(SYS.sample_rate.get().get()).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Result::::ok` in constant functions [INFO] [stdout] --> src/convert.rs:62:76 [INFO] [stdout] | [INFO] [stdout] 62 | let sample_rate = usize::try_from(SYS.sample_rate.get().get()).ok()?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | let sample_rate = usize::try_from(SYS.sample_rate.get().get()).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | let sample_rate = usize::try_from(SYS.sample_rate.get().get()).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let millis = value.get().checked_mul(1_000)? / sample_rate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let millis = value.get().checked_mul(1_000)? / sample_rate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>::try_into` in constant functions [INFO] [stdout] --> src/convert.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | millis.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Result::::ok` in constant functions [INFO] [stdout] --> src/convert.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | millis.try_into().ok()? [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | millis.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `try` block cannot convert `Option` to the result in constant functions [INFO] [stdout] --> src/convert.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | millis.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | millis.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as TryFrom>::try_from` in constant functions [INFO] [stdout] --> src/convert.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | Samples::::try_from(value)?.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Result, OverflowError>` in constant functions [INFO] [stdout] --> src/convert.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | Samples::::try_from(value)?.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>>::try_into` in constant functions [INFO] [stdout] --> src/convert.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | Samples::::try_from(value)?.try_into() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Result, OverflowError>` in constant functions [INFO] [stdout] --> src/convert.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | Samples::::try_from(value)?.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as From>>::from` in constant functions [INFO] [stdout] --> src/convert.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Samples::::from(value).try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>::try_into` in constant functions [INFO] [stdout] --> src/convert.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | Samples::::from(value).try_into() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>::try_into` in constant functions [INFO] [stdout] --> src/samples.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | match self.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>>::try_into` in constant functions [INFO] [stdout] --> src/samples.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | match dur.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>>::try_into` in constant functions [INFO] [stdout] --> src/samples.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | match self.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Into>>::into` in constant functions [INFO] [stdout] --> src/samples.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | bytes.into() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::mul` in constant functions [INFO] [stdout] --> src/samples.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | Self::new(self.get().mul(rhs.get())) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>::mul` in constant functions [INFO] [stdout] --> src/samples.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | Self::new(self.get().mul(rhs)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::div` in constant functions [INFO] [stdout] --> src/samples.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | Self::new(self.get().div(rhs.get())) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>::div` in constant functions [INFO] [stdout] --> src/samples.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | Self::new(self.get().div(rhs)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0308, E0635, E0741. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `audio-time` (lib) due to 84 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1a07c69202d7f42e20cccf0a02b2025c5a247a33cef85f70c490bf83494472e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a07c69202d7f42e20cccf0a02b2025c5a247a33cef85f70c490bf83494472e3", kill_on_drop: false }` [INFO] [stdout] 1a07c69202d7f42e20cccf0a02b2025c5a247a33cef85f70c490bf83494472e3