[INFO] fetching crate opl-emu 0.2.8... [INFO] checking opl-emu-0.2.8 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate opl-emu 0.2.8 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate opl-emu 0.2.8 [INFO] finished tweaking crates.io crate opl-emu 0.2.8 [INFO] tweaked toml for crates.io crate opl-emu 0.2.8 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate opl-emu 0.2.8 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate opl-emu 0.2.8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fb22637cef5d41032031c3ee9423cc85ffc9a389fad755db2d5f33b1268841c [INFO] running `Command { std: "docker" "start" "-a" "4fb22637cef5d41032031c3ee9423cc85ffc9a389fad755db2d5f33b1268841c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fb22637cef5d41032031c3ee9423cc85ffc9a389fad755db2d5f33b1268841c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fb22637cef5d41032031c3ee9423cc85ffc9a389fad755db2d5f33b1268841c", kill_on_drop: false }` [INFO] [stdout] 4fb22637cef5d41032031c3ee9423cc85ffc9a389fad755db2d5f33b1268841c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cf668d0b21bf77dbccdf0ea71e8373674d52049ec0a63ec95cfab03c135ca96 [INFO] running `Command { std: "docker" "start" "-a" "6cf668d0b21bf77dbccdf0ea71e8373674d52049ec0a63ec95cfab03c135ca96", kill_on_drop: false }` [INFO] [stderr] Checking opl-emu v0.2.8 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use std::f64::consts::PI; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/lib.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | pub data: Vec, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/lib.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | pub name: String, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/lib.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | pub data: Vec, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/lib.rs:938:70 [INFO] [stdout] | [INFO] [stdout] 938 | fn generate_block_2(&mut self, total_in: usize, mix_buffer: &mut Vec) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `powf` found for type `f64` in the current scope [INFO] [stdout] --> src/lib.rs:427:25 [INFO] [stdout] | [INFO] [stdout] 427 | let p = 2.0_f64.powf(-1.0 + (255.0 - s) * (1.0 / 256.0)); [INFO] [stdout] | ^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sin` found for type `f64` in the current scope [INFO] [stdout] --> src/lib.rs:435:69 [INFO] [stdout] | [INFO] [stdout] 435 | wave_table[0x0200 + i] = (((i as f64 + 0.5) * (PI / 512.0)).sin() * 4084.0) as i16; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `min` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/num/f64.rs:937:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `powf` found for type `f64` in the current scope [INFO] [stdout] --> src/lib.rs:440:25 [INFO] [stdout] | [INFO] [stdout] 440 | + ((2.0f64).powf(-1.0 + (255.0 - i as f64 * 8.0) * (1.0 / 256.0))) * 4085.0) [INFO] [stdout] | ^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opl-emu` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use std::f64::consts::PI; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/lib.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | pub data: Vec, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/lib.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | pub name: String, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/lib.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | pub data: Vec, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/lib.rs:938:70 [INFO] [stdout] | [INFO] [stdout] 938 | fn generate_block_2(&mut self, total_in: usize, mix_buffer: &mut Vec) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opl-emu` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "6cf668d0b21bf77dbccdf0ea71e8373674d52049ec0a63ec95cfab03c135ca96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cf668d0b21bf77dbccdf0ea71e8373674d52049ec0a63ec95cfab03c135ca96", kill_on_drop: false }` [INFO] [stdout] 6cf668d0b21bf77dbccdf0ea71e8373674d52049ec0a63ec95cfab03c135ca96