[INFO] cloning repository https://github.com/google/synthesizer-io [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/google/synthesizer-io" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoogle%2Fsynthesizer-io", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoogle%2Fsynthesizer-io'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86e944d462603309864ccd379a536d071ab6ab90 [INFO] checking google/synthesizer-io/86e944d462603309864ccd379a536d071ab6ab90 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoogle%2Fsynthesizer-io" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/google/synthesizer-io on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/google/synthesizer-io [INFO] finished tweaking git repo https://github.com/google/synthesizer-io [INFO] tweaked toml for git repo https://github.com/google/synthesizer-io written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/google/synthesizer-io 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded coremidi-sys v2.0.2 [INFO] [stderr] Downloaded coremidi v0.3.0 [INFO] [stderr] Downloaded lazy_static v1.0.1 [INFO] [stderr] Downloaded atty v0.2.10 [INFO] [stderr] Downloaded time v0.1.40 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded strsim v0.7.0 [INFO] [stderr] Downloaded cfg-if v0.1.4 [INFO] [stderr] Downloaded which v1.0.5 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded cexpr v0.2.3 [INFO] [stderr] Downloaded glob v0.2.11 [INFO] [stderr] Downloaded libloading v0.4.3 [INFO] [stderr] Downloaded clang-sys v0.21.2 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded aho-corasick v0.6.5 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded bindgen v0.32.3 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded regex v0.2.11 [INFO] [stderr] Downloaded regex-syntax v0.5.6 [INFO] [stderr] Downloaded utf8-ranges v1.0.0 [INFO] [stderr] Downloaded ansi_term v0.11.0 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded env_logger v0.4.3 [INFO] [stderr] Downloaded log v0.4.3 [INFO] [stderr] Downloaded proc-macro2 v0.2.3 [INFO] [stderr] Downloaded quote v0.4.2 [INFO] [stderr] Downloaded memchr v2.0.1 [INFO] [stderr] Downloaded thread_local v0.3.5 [INFO] [stderr] Downloaded coreaudio-rs v0.9.1 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded coreaudio-sys v0.2.2 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ca3c88b73ebca94b93c8111fdb7ab228b4e9b01cf99d6503798138e3764148c [INFO] running `Command { std: "docker" "start" "-a" "8ca3c88b73ebca94b93c8111fdb7ab228b4e9b01cf99d6503798138e3764148c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ca3c88b73ebca94b93c8111fdb7ab228b4e9b01cf99d6503798138e3764148c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ca3c88b73ebca94b93c8111fdb7ab228b4e9b01cf99d6503798138e3764148c", kill_on_drop: false }` [INFO] [stdout] 8ca3c88b73ebca94b93c8111fdb7ab228b4e9b01cf99d6503798138e3764148c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f318d7f92c2953576962e58c0a3dda352b856ed38c19dfb8a015dc17727f854c [INFO] running `Command { std: "docker" "start" "-a" "f318d7f92c2953576962e58c0a3dda352b856ed38c19dfb8a015dc17727f854c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bindgen v0.32.3 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling core-foundation-sys v0.2.3 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling coremidi-sys v2.0.2 [INFO] [stderr] Checking synthesizer-io-core v0.1.0 (/opt/rustwide/workdir/synthesizer-io-core) [INFO] [stderr] Compiling clang-sys v0.21.2 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> synthesizer-io-core/src/modules/sin.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | const N_SAMPLES: usize = (1 << LG_N_SAMPLES); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - const N_SAMPLES: usize = (1 << LG_N_SAMPLES); [INFO] [stdout] 23 + const N_SAMPLES: usize = 1 << LG_N_SAMPLES; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> synthesizer-io-core/src/modules/saw.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | const N_SAMPLES: usize = (1 << LG_N_SAMPLES); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - const N_SAMPLES: usize = (1 << LG_N_SAMPLES); [INFO] [stdout] 24 + const N_SAMPLES: usize = 1 << LG_N_SAMPLES; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> synthesizer-io-core/src/modules/saw.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | const SLICES_PER_OCTAVE: usize = (1 << LG_SLICES_PER_OCTAVE); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - const SLICES_PER_OCTAVE: usize = (1 << LG_SLICES_PER_OCTAVE); [INFO] [stdout] 28 + const SLICES_PER_OCTAVE: usize = 1 << LG_SLICES_PER_OCTAVE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> synthesizer-io-core/src/modules/sin.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref SINTAB: [f32; N_SAMPLES + 1] = { [INFO] [stdout] 27 | | let mut t = [0.0; N_SAMPLES + 1]; [INFO] [stdout] 28 | | let dth = 2.0 * consts::PI / (N_SAMPLES as f32); [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> synthesizer-io-core/src/modules/saw.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / lazy_static! { [INFO] [stdout] 35 | | static ref SAWTAB: [[f32; N_SAMPLES + 1]; N_SLICES] = { [INFO] [stdout] 36 | | let mut t = [[0.0; N_SAMPLES + 1]; N_SLICES]; [INFO] [stdout] ... | [INFO] [stdout] 72 | | }; [INFO] [stdout] 73 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> synthesizer-io-core/src/graph.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | module: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 | module: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> synthesizer-io-core/src/module.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | fn to_any(&mut self) -> &mut Any { MyToAny::my_to_any(self) } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | fn to_any(&mut self) -> &mut dyn Any { MyToAny::my_to_any(self) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> synthesizer-io-core/src/module.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | fn migrate(&mut self, old: &mut Module) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | fn migrate(&mut self, old: &mut dyn Module) {} [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> synthesizer-io-core/src/module.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 88 | fn my_to_any(&mut self) -> &mut Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 | fn my_to_any(&mut self) -> &mut dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> synthesizer-io-core/src/graph.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | (module: Box, ix: usize, in_buf_wiring: B1, in_ctrl_wiring: B2) -> Node [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | (module: Box, ix: usize, in_buf_wiring: B1, in_ctrl_wiring: B2) -> Node [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> synthesizer-io-core/src/module.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | fn my_to_any(&mut self) -> &mut Any { self } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | fn my_to_any(&mut self) -> &mut dyn Any { self } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> synthesizer-io-core/src/graph.rs:184:57 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn get_module_mut(&mut self, ix: usize) -> &mut Module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 184 | pub fn get_module_mut(&mut self, ix: usize) -> &mut dyn Module { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v0.6.5 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> synthesizer-io-core/src/modules/sin.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | fn migrate(&mut self, old: &mut Module) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | fn migrate(&mut self, old: &mut dyn Module) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking time v0.1.40 [INFO] [stdout] error: library kind `framework` is only supported on Apple targets [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `core-foundation-sys` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f318d7f92c2953576962e58c0a3dda352b856ed38c19dfb8a015dc17727f854c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f318d7f92c2953576962e58c0a3dda352b856ed38c19dfb8a015dc17727f854c", kill_on_drop: false }` [INFO] [stdout] f318d7f92c2953576962e58c0a3dda352b856ed38c19dfb8a015dc17727f854c