[INFO] cloning repository https://github.com/Kilerd/lame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kilerd/lame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilerd%2Flame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilerd%2Flame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0dcba66e2840bd87208955851775e3756b7c5fe [INFO] checking Kilerd/lame against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilerd%2Flame" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Kilerd/lame [INFO] finished tweaking git repo https://github.com/Kilerd/lame [INFO] tweaked toml for git repo https://github.com/Kilerd/lame written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kilerd/lame on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Kilerd/lame 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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded mp3lame-encoder v0.2.1 [INFO] [stderr] Downloaded numpy v0.22.1 [INFO] [stderr] Downloaded mp3lame-sys v0.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3499a9b374ac3b21bf9bf4c40e2c84b3a9adac42e7d0b017890b93cc2e39288f [INFO] running `Command { std: "docker" "start" "-a" "3499a9b374ac3b21bf9bf4c40e2c84b3a9adac42e7d0b017890b93cc2e39288f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3499a9b374ac3b21bf9bf4c40e2c84b3a9adac42e7d0b017890b93cc2e39288f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3499a9b374ac3b21bf9bf4c40e2c84b3a9adac42e7d0b017890b93cc2e39288f", kill_on_drop: false }` [INFO] [stdout] 3499a9b374ac3b21bf9bf4c40e2c84b3a9adac42e7d0b017890b93cc2e39288f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4bd93ccf0929e915fa5c3f2c5e35ee99aafbb1e7d707270a9b517928284aaec [INFO] running `Command { std: "docker" "start" "-a" "e4bd93ccf0929e915fa5c3f2c5e35ee99aafbb1e7d707270a9b517928284aaec", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking clap_builder v4.5.51 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling autotools v0.2.7 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Compiling pyo3-build-config v0.22.6 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling mp3lame-sys v0.1.10 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Compiling pyo3-ffi v0.22.6 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.6 [INFO] [stderr] Compiling pyo3 v0.22.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking clap v4.5.51 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling pyo3-macros v0.22.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Compiling lame-sys v0.1.0 (/opt/rustwide/workdir/lame-sys) [INFO] [stderr] Checking numpy v0.22.1 [INFO] [stderr] Checking mp3lame-encoder v0.2.1 [INFO] [stdout] warning: unused import: `LameError` [INFO] [stdout] --> lame-sys/src/id3.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::{LameError, Result}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LameError` [INFO] [stdout] --> lame-sys/src/id3.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::{LameError, Result}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> lame-sys/src/lib.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub mod encoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> lame-sys/src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> lame-sys/src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub mod error; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> lame-sys/src/lib.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub mod id3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> lame-sys/src/error.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | BufferTooSmall { required: usize, provided: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> lame-sys/src/error.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | BufferTooSmall { required: usize, provided: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub const BLUES: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub const CLASSIC_ROCK: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub const COUNTRY: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub const DANCE: u8 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | pub const DISCO: u8 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub const FUNK: u8 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub const GRUNGE: u8 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | pub const HIP_HOP: u8 = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub const JAZZ: u8 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub const METAL: u8 = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub const NEW_AGE: u8 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub const OLDIES: u8 = 11; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub const OTHER: u8 = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub const POP: u8 = 13; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub const RNB: u8 = 14; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub const RAP: u8 = 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | pub const REGGAE: u8 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub const ROCK: u8 = 17; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub const TECHNO: u8 = 18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub const INDUSTRIAL: u8 = 19; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub const ALTERNATIVE: u8 = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub const SKA: u8 = 21; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | pub const DEATH_METAL: u8 = 22; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub const PRANKS: u8 = 23; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub const SOUNDTRACK: u8 = 24; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | pub const EURO_TECHNO: u8 = 25; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | pub const AMBIENT: u8 = 26; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | pub const TRIP_HOP: u8 = 27; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | pub const VOCAL: u8 = 28; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub const JAZZ_FUNK: u8 = 29; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub const FUSION: u8 = 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub const TRANCE: u8 = 31; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | pub const CLASSICAL: u8 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub const INSTRUMENTAL: u8 = 33; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | pub const ACID: u8 = 34; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | pub const HOUSE: u8 = 35; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | pub const GAME: u8 = 36; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub const SOUND_CLIP: u8 = 37; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | pub const GOSPEL: u8 = 38; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub const NOISE: u8 = 39; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | pub const ALTERNATIVE_ROCK: u8 = 40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub const BASS: u8 = 41; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub const SOUL: u8 = 42; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | pub const PUNK: u8 = 43; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub const SPACE: u8 = 44; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | pub const MEDITATIVE: u8 = 45; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | pub const INSTRUMENTAL_POP: u8 = 46; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | pub const INSTRUMENTAL_ROCK: u8 = 47; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const ETHNIC: u8 = 48; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub const GOTHIC: u8 = 49; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> lame-sys/src/id3.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | pub const DARKWAVE: u8 = 50; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking python-lame v0.1.0 (/opt/rustwide/workdir/python-lame) [INFO] [stdout] error[E0603]: module `ffi` is private [INFO] [stdout] --> lame-sys/examples/test_cpu_features.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use lame_sys::ffi; [INFO] [stdout] | ^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `ffi` is defined here [INFO] [stdout] --> lame-sys/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | mod ffi { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample_rate` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> lame-sys/src/lib.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 149 | let result = LameEncoder::builder() [INFO] [stdout] | ______________________- [INFO] [stdout] 150 | | .sample_rate(44100) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `sample_rate` exists on the type `EncoderBuilder` [INFO] [stdout] --> lame-sys/src/encoder.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sample_rate(self, rate: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `EncoderBuilder` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 149 | let result = LameEncoder::builder().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample_rate` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> lame-sys/src/lib.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 161 | let mut encoder = LameEncoder::builder() [INFO] [stdout] | ___________________________- [INFO] [stdout] 162 | | .sample_rate(44100) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `sample_rate` exists on the type `EncoderBuilder` [INFO] [stdout] --> lame-sys/src/encoder.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sample_rate(self, rate: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `EncoderBuilder` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 161 | let mut encoder = LameEncoder::builder().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lame-sys` (example "test_cpu_features") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `sample_rate` found for enum `Result` in the current scope [INFO] [stdout] --> lame-sys/examples/simple_encode.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | let mut encoder = LameEncoder::builder() [INFO] [stdout] | _______________________- [INFO] [stdout] 13 | | .sample_rate(44100) // 44.1 kHz 标准 CD 音质 [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `sample_rate` exists on the type `EncoderBuilder` [INFO] [stdout] --> lame-sys/src/encoder.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sample_rate(self, rate: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the `?` operator to extract the `EncoderBuilder` value, propagating a `Result::Err` value to the caller [INFO] [stdout] | [INFO] [stdout] 12 | let mut encoder = LameEncoder::builder()? [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample_rate` found for enum `Result` in the current scope [INFO] [stdout] --> lame-sys/tests/encode_test.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 6 | let mut encoder = LameEncoder::builder() [INFO] [stdout] | _______________________- [INFO] [stdout] 7 | | .sample_rate(44100) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `sample_rate` exists on the type `EncoderBuilder` [INFO] [stdout] --> lame-sys/src/encoder.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sample_rate(self, rate: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `EncoderBuilder` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 6 | let mut encoder = LameEncoder::builder().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample_rate` found for enum `Result` in the current scope [INFO] [stdout] --> lame-sys/tests/encode_test.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 40 | let mut encoder = LameEncoder::builder() [INFO] [stdout] | _______________________- [INFO] [stdout] 41 | | .sample_rate(44100) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `sample_rate` exists on the type `EncoderBuilder` [INFO] [stdout] --> lame-sys/src/encoder.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sample_rate(self, rate: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `EncoderBuilder` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 40 | let mut encoder = LameEncoder::builder().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample_rate` found for enum `Result` in the current scope [INFO] [stdout] --> lame-sys/tests/encode_test.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 72 | let mut encoder = LameEncoder::builder() [INFO] [stdout] | _______________________- [INFO] [stdout] 73 | | .sample_rate(44100) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `sample_rate` exists on the type `EncoderBuilder` [INFO] [stdout] --> lame-sys/src/encoder.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sample_rate(self, rate: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `EncoderBuilder` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 72 | let mut encoder = LameEncoder::builder().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample_rate` found for enum `Result` in the current scope [INFO] [stdout] --> lame-sys/tests/encode_test.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 94 | let mut encoder = LameEncoder::builder() [INFO] [stdout] | _______________________- [INFO] [stdout] 95 | | .sample_rate(44100) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `sample_rate` exists on the type `EncoderBuilder` [INFO] [stdout] --> lame-sys/src/encoder.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sample_rate(self, rate: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `EncoderBuilder` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 94 | let mut encoder = LameEncoder::builder().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lame-sys` (example "simple_encode") due to 1 previous error [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> lame-sys/benches/encoder_comparison.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | encoder.flush(black_box(&mut mp3_buffer)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = encoder.flush(black_box(&mut mp3_buffer)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lame-sys` (lib test) due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `sample_rate` found for enum `Result` in the current scope [INFO] [stdout] --> lame-sys/tests/encode_test.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 138 | let mut encoder = LameEncoder::builder() [INFO] [stdout] | ___________________________- [INFO] [stdout] 139 | | .sample_rate(sample_rate) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `sample_rate` exists on the type `EncoderBuilder` [INFO] [stdout] --> lame-sys/src/encoder.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sample_rate(self, rate: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `EncoderBuilder` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 138 | let mut encoder = LameEncoder::builder().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample_rate` found for enum `Result` in the current scope [INFO] [stdout] --> lame-sys/tests/encode_test.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 168 | let mut encoder = LameEncoder::builder() [INFO] [stdout] | ___________________________- [INFO] [stdout] 169 | | .sample_rate(44100) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `sample_rate` exists on the type `EncoderBuilder` [INFO] [stdout] --> lame-sys/src/encoder.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sample_rate(self, rate: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `EncoderBuilder` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 168 | let mut encoder = LameEncoder::builder().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample_rate` found for enum `Result` in the current scope [INFO] [stdout] --> lame-sys/tests/encode_test.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 191 | let mut encoder = LameEncoder::builder() [INFO] [stdout] | _______________________- [INFO] [stdout] 192 | | .sample_rate(44100) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `sample_rate` exists on the type `EncoderBuilder` [INFO] [stdout] --> lame-sys/src/encoder.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sample_rate(self, rate: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `EncoderBuilder` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 191 | let mut encoder = LameEncoder::builder().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample_rate` found for enum `Result` in the current scope [INFO] [stdout] --> lame-sys/tests/encode_test.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 229 | let result = LameEncoder::builder() [INFO] [stdout] | __________________- [INFO] [stdout] 230 | | .sample_rate(0) // 无效采样率 [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `sample_rate` exists on the type `EncoderBuilder` [INFO] [stdout] --> lame-sys/src/encoder.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sample_rate(self, rate: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `EncoderBuilder` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 229 | let result = LameEncoder::builder().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample_rate` found for enum `Result` in the current scope [INFO] [stdout] --> lame-sys/tests/encode_test.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 239 | if let Ok(mut encoder) = LameEncoder::builder() [INFO] [stdout] | ______________________________- [INFO] [stdout] 240 | | .sample_rate(44100) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `sample_rate` exists on the type `EncoderBuilder` [INFO] [stdout] --> lame-sys/src/encoder.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sample_rate(self, rate: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `EncoderBuilder` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 239 | if let Ok(mut encoder) = LameEncoder::builder().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | create_exception!(lame, LameError, PyException); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | create_exception!(lame, LameError, PyException); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | create_exception!(lame, InitializationError, LameError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | create_exception!(lame, InitializationError, LameError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | create_exception!(lame, LameError, PyException); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | create_exception!(lame, InvalidParameterError, LameError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | create_exception!(lame, InvalidParameterError, LameError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | create_exception!(lame, LameError, PyException); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | create_exception!(lame, EncodingError, LameError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | create_exception!(lame, InitializationError, LameError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | create_exception!(lame, EncodingError, LameError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | create_exception!(lame, InitializationError, LameError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | create_exception!(lame, BufferTooSmallError, LameError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | create_exception!(lame, InvalidParameterError, LameError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | create_exception!(lame, BufferTooSmallError, LameError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | create_exception!(lame, InvalidParameterError, LameError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | create_exception!(lame, EncodingError, LameError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample_rate` found for enum `Result` in the current scope [INFO] [stdout] --> lame-sys/tests/encode_test.rs:258:10 [INFO] [stdout] | [INFO] [stdout] 257 | let mut encoder = LameEncoder::builder() [INFO] [stdout] | _______________________- [INFO] [stdout] 258 | | .sample_rate(44100) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `sample_rate` exists on the type `EncoderBuilder` [INFO] [stdout] --> lame-sys/src/encoder.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sample_rate(self, rate: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `EncoderBuilder` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 257 | let mut encoder = LameEncoder::builder().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | create_exception!(lame, EncodingError, LameError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | create_exception!(lame, BufferTooSmallError, LameError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> python-lame/src/error.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | create_exception!(lame, BufferTooSmallError, LameError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample_rate` found for enum `Result` in the current scope [INFO] [stdout] --> lame-sys/tests/encode_test.rs:292:10 [INFO] [stdout] | [INFO] [stdout] 291 | let mut encoder = LameEncoder::builder() [INFO] [stdout] | _______________________- [INFO] [stdout] 292 | | .sample_rate(44100) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `sample_rate` exists on the type `EncoderBuilder` [INFO] [stdout] --> lame-sys/src/encoder.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sample_rate(self, rate: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `EncoderBuilder` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 291 | let mut encoder = LameEncoder::builder().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample_rate` found for enum `Result` in the current scope [INFO] [stdout] --> lame-sys/tests/encode_test.rs:325:10 [INFO] [stdout] | [INFO] [stdout] 324 | let mut encoder = LameEncoder::builder() [INFO] [stdout] | _______________________- [INFO] [stdout] 325 | | .sample_rate(44100) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `sample_rate` exists on the type `EncoderBuilder` [INFO] [stdout] --> lame-sys/src/encoder.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sample_rate(self, rate: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `EncoderBuilder` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 324 | let mut encoder = LameEncoder::builder().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample_rate` found for enum `Result` in the current scope [INFO] [stdout] --> lame-sys/tests/encode_test.rs:365:14 [INFO] [stdout] | [INFO] [stdout] 364 | let mut encoder = LameEncoder::builder() [INFO] [stdout] | ___________________________- [INFO] [stdout] 365 | | .sample_rate(44100) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `sample_rate` exists on the type `EncoderBuilder` [INFO] [stdout] --> lame-sys/src/encoder.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sample_rate(self, rate: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `EncoderBuilder` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 364 | let mut encoder = LameEncoder::builder().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lame-sys` (test "encode_test") due to 13 previous errors [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> python-lame/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | fn lame(py: Python<'_>, m: &Bound<'_, PyModule>) -> PyResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> python-lame/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | fn lame(py: Python<'_>, m: &Bound<'_, PyModule>) -> PyResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e4bd93ccf0929e915fa5c3f2c5e35ee99aafbb1e7d707270a9b517928284aaec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4bd93ccf0929e915fa5c3f2c5e35ee99aafbb1e7d707270a9b517928284aaec", kill_on_drop: false }` [INFO] [stdout] e4bd93ccf0929e915fa5c3f2c5e35ee99aafbb1e7d707270a9b517928284aaec