[INFO] fetching crate sample 0.11.0... [INFO] checking sample-0.11.0 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] extracting crate sample 0.11.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate sample 0.11.0 on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sample 0.11.0 [INFO] finished tweaking crates.io crate sample 0.11.0 [INFO] tweaked toml for crates.io crate sample 0.11.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate sample 0.11.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9c65b3d8a219f073d7ba49ecada43fddac004189b9a8256680b3ad6bd5489a6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c9c65b3d8a219f073d7ba49ecada43fddac004189b9a8256680b3ad6bd5489a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9c65b3d8a219f073d7ba49ecada43fddac004189b9a8256680b3ad6bd5489a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9c65b3d8a219f073d7ba49ecada43fddac004189b9a8256680b3ad6bd5489a6", kill_on_drop: false }` [INFO] [stdout] c9c65b3d8a219f073d7ba49ecada43fddac004189b9a8256680b3ad6bd5489a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 33af42b7c7d809b59670461b2f3661185e5b731a63ad345ecf815c7b0036ba47 [INFO] running `Command { std: "docker" "start" "-a" "33af42b7c7d809b59670461b2f3661185e5b731a63ad345ecf815c7b0036ba47", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Checking hound v2.0.0 [INFO] [stderr] Checking sample v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/conv.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | ((s + 2_147_483_647 + 1) as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ring_buffer.rs:552:24 [INFO] [stdout] | [INFO] [stdout] 552 | let data = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling portaudio v0.7.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] error: failed to run custom build command for `portaudio v0.7.0` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/portaudio-68438aea3cfd34ec/build-script-build` (exit code: 101) [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at 'No such file or directory (os error 2)', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/portaudio-0.7.0/build.rs:83:23 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x556bbf3d1a20 - std::backtrace_rs::backtrace::libunwind::trace::hb4de9797f80b7b8c [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stderr] 1: 0x556bbf3d1a20 - std::backtrace_rs::backtrace::trace_unsynchronized::h59566d0bd20efff7 [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x556bbf3d1a20 - std::sys_common::backtrace::_print_fmt::hcfa5ce6be50275d4 [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x556bbf3d1a20 - ::fmt::hd8c307a38b9bab04 [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x556bbf3ecf5c - core::fmt::write::h3868db8542c90941 [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/core/src/fmt/mod.rs:1096:17 [INFO] [stderr] 5: 0x556bbf3ce982 - std::io::Write::write_fmt::hab90295d5a0f197d [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/io/mod.rs:1568:15 [INFO] [stderr] 6: 0x556bbf3d3855 - std::sys_common::backtrace::_print::h19224910b8700cf1 [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x556bbf3d3855 - std::sys_common::backtrace::print::h25dedfa68c5fb84a [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x556bbf3d3855 - std::panicking::default_hook::{{closure}}::h12c5765653a72a42 [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/panicking.rs:208:50 [INFO] [stderr] 9: 0x556bbf3d33b3 - std::panicking::default_hook::he65cee71c4209f0c [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/panicking.rs:225:9 [INFO] [stderr] 10: 0x556bbf3d3ff1 - std::panicking::rust_panic_with_hook::h01a674d863fe0d8a [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/panicking.rs:591:17 [INFO] [stderr] 11: 0x556bbf3d3b37 - std::panicking::begin_panic_handler::{{closure}}::h9b9fecf185178864 [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/panicking.rs:497:13 [INFO] [stderr] 12: 0x556bbf3d1ebc - std::sys_common::backtrace::__rust_end_short_backtrace::h57be46a42dc7f24b [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stderr] 13: 0x556bbf3d3a99 - rust_begin_unwind [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/panicking.rs:493:5 [INFO] [stderr] 14: 0x556bbf3d3a4b - std::panicking::begin_panic_fmt::h12277576db89392f [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/panicking.rs:435:5 [INFO] [stderr] 15: 0x556bbf387447 - build_script_build::unix_platform::build::h663b99f724a7e857 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/portaudio-0.7.0/build.rs:83:23 [INFO] [stderr] 16: 0x556bbf387eb3 - build_script_build::platform::build::h9be57b70800a1813 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/portaudio-0.7.0/build.rs:140:9 [INFO] [stderr] 17: 0x556bbf3885d2 - build_script_build::build::h2d523872fe661dd5 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/portaudio-0.7.0/build.rs:49:9 [INFO] [stderr] 18: 0x556bbf38845a - build_script_build::main::hbd5ee7551b56dadb [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/portaudio-0.7.0/build.rs:38:5 [INFO] [stderr] 19: 0x556bbf38827b - core::ops::function::FnOnce::call_once::hf738c143a8452039 [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 20: 0x556bbf3880ae - std::sys_common::backtrace::__rust_begin_short_backtrace::h877915eb026e1ebd [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stderr] 21: 0x556bbf388e51 - std::rt::lang_start::{{closure}}::h31103ac1d9b37d7a [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/rt.rs:66:18 [INFO] [stderr] 22: 0x556bbf3d4417 - core::ops::function::impls:: for &F>::call_once::h2c4fd7d4128112a8 [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/core/src/ops/function.rs:259:13 [INFO] [stderr] 23: 0x556bbf3d4417 - std::panicking::try::do_call::h41fb7dbbbe7bece6 [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/panicking.rs:379:40 [INFO] [stderr] 24: 0x556bbf3d4417 - std::panicking::try::hd38008ccba72bce1 [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/panicking.rs:343:19 [INFO] [stderr] 25: 0x556bbf3d4417 - std::panic::catch_unwind::h057e765cd60f2d13 [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/panic.rs:431:14 [INFO] [stderr] 26: 0x556bbf3d4417 - std::rt::lang_start_internal::hdb9d0b9d2cdcda8b [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/rt.rs:51:25 [INFO] [stderr] 27: 0x556bbf388e27 - std::rt::lang_start::h1251b7c77a1814ed [INFO] [stderr] at /rustc/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/library/std/src/rt.rs:65:5 [INFO] [stderr] 28: 0x556bbf38867a - main [INFO] [stderr] 29: 0x7f7b279f50b3 - __libc_start_main [INFO] [stderr] 30: 0x556bbf3870be - _start [INFO] [stderr] 31: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/frame.rs:330:26 [INFO] [stdout] | [INFO] [stdout] 330 | self.map(|s| s.to_sample()) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | / impl_frame!{ [INFO] [stdout] 401 | | N1 1, [0], [INFO] [stdout] 402 | | N2 2, [0 1], [INFO] [stdout] 403 | | N3 3, [0 1 2], [INFO] [stdout] ... | [INFO] [stdout] 432 | | N32 32, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31], [INFO] [stdout] 433 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `Frame::map(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(array_map)]` to the crate attributes to enable `array::::map` [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/frame.rs:330:26 [INFO] [stdout] | [INFO] [stdout] 330 | self.map(|s| s.to_sample()) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | / impl_frame!{ [INFO] [stdout] 401 | | N1 1, [0], [INFO] [stdout] 402 | | N2 2, [0 1], [INFO] [stdout] 403 | | N3 3, [0 1 2], [INFO] [stdout] ... | [INFO] [stdout] 432 | | N32 32, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31], [INFO] [stdout] 433 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `Frame::map(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(array_map)]` to the crate attributes to enable `array::::map` [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/frame.rs:335:26 [INFO] [stdout] | [INFO] [stdout] 335 | self.map(|s| s.to_sample()) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | / impl_frame!{ [INFO] [stdout] 401 | | N1 1, [0], [INFO] [stdout] 402 | | N2 2, [0 1], [INFO] [stdout] 403 | | N3 3, [0 1 2], [INFO] [stdout] ... | [INFO] [stdout] 432 | | N32 32, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31], [INFO] [stdout] 433 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `Frame::map(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(array_map)]` to the crate attributes to enable `array::::map` [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/window.rs:73:41 [INFO] [stdout] | [INFO] [stdout] 73 | let v = phase.to_float_sample().to_sample() * PI_2; [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `S` declared on the associated function `to_sample` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the type argument in the method call [INFO] [stdout] | [INFO] [stdout] 73 | let v = phase.to_float_sample().to_sample::() * PI_2; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "33af42b7c7d809b59670461b2f3661185e5b731a63ad345ecf815c7b0036ba47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33af42b7c7d809b59670461b2f3661185e5b731a63ad345ecf815c7b0036ba47", kill_on_drop: false }` [INFO] [stdout] 33af42b7c7d809b59670461b2f3661185e5b731a63ad345ecf815c7b0036ba47