[INFO] fetching crate opl-emu 0.2.8... [INFO] testing opl-emu-0.2.8 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate opl-emu 0.2.8 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate opl-emu 0.2.8 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f43960f8c92eb8174ee5ca0343252627c4c8b3d4fd3dfc35175c631d520143e [INFO] running `Command { std: "docker" "start" "-a" "2f43960f8c92eb8174ee5ca0343252627c4c8b3d4fd3dfc35175c631d520143e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f43960f8c92eb8174ee5ca0343252627c4c8b3d4fd3dfc35175c631d520143e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f43960f8c92eb8174ee5ca0343252627c4c8b3d4fd3dfc35175c631d520143e", kill_on_drop: false }` [INFO] [stdout] 2f43960f8c92eb8174ee5ca0343252627c4c8b3d4fd3dfc35175c631d520143e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c89c1e68de945c7794bade8fb3981d0b2c1109364cfd0842dd83430ce2c748ef [INFO] running `Command { std: "docker" "start" "-a" "c89c1e68de945c7794bade8fb3981d0b2c1109364cfd0842dd83430ce2c748ef", kill_on_drop: false }` [INFO] [stderr] Compiling 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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/num/f64.rs:955: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] running `Command { std: "docker" "inspect" "c89c1e68de945c7794bade8fb3981d0b2c1109364cfd0842dd83430ce2c748ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89c1e68de945c7794bade8fb3981d0b2c1109364cfd0842dd83430ce2c748ef", kill_on_drop: false }` [INFO] [stdout] c89c1e68de945c7794bade8fb3981d0b2c1109364cfd0842dd83430ce2c748ef