[INFO] fetching crate sample 0.11.0... [INFO] checking sample-0.11.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate sample 0.11.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate sample 0.11.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-9/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b749e438e4d2ec96ba7d91864ee2785c7bd984de81a2f317e606d34715732476 [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" "b749e438e4d2ec96ba7d91864ee2785c7bd984de81a2f317e606d34715732476", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b749e438e4d2ec96ba7d91864ee2785c7bd984de81a2f317e606d34715732476", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b749e438e4d2ec96ba7d91864ee2785c7bd984de81a2f317e606d34715732476", kill_on_drop: false }` [INFO] [stdout] b749e438e4d2ec96ba7d91864ee2785c7bd984de81a2f317e606d34715732476 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3af8f4fc276b7216c7f92e114d46e81f66ee85af1ea59f8a20f497dd56f2a9b [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" "b3af8f4fc276b7216c7f92e114d46e81f66ee85af1ea59f8a20f497dd56f2a9b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling libc v0.2.71 [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] [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 num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling portaudio v0.7.0 [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-2573915aa43527b5/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: 0x558b711dbb50 - std::backtrace_rs::backtrace::libunwind::trace::h9d49145f95eb5894 [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stderr] 1: 0x558b711dbb50 - std::backtrace_rs::backtrace::trace_unsynchronized::hab1d020365bb6864 [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x558b711dbb50 - std::sys_common::backtrace::_print_fmt::h7659588431e304bd [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x558b711dbb50 - ::fmt::h09f4a9e3befae3c7 [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x558b711f74bc - core::fmt::write::hf3fdfde304b9a088 [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/core/src/fmt/mod.rs:1092:17 [INFO] [stderr] 5: 0x558b711d8b12 - std::io::Write::write_fmt::h1cb850689c7116f0 [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/io/mod.rs:1568:15 [INFO] [stderr] 6: 0x558b711dda15 - std::sys_common::backtrace::_print::hdbccd5aa093ba544 [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x558b711dda15 - std::sys_common::backtrace::print::hc639c4f320222558 [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x558b711dda15 - std::panicking::default_hook::{{closure}}::hdb012dd7a485bb5d [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/panicking.rs:208:50 [INFO] [stderr] 9: 0x558b711dd4c3 - std::panicking::default_hook::h75facbce77b6ba91 [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/panicking.rs:225:9 [INFO] [stderr] 10: 0x558b711de1b1 - std::panicking::rust_panic_with_hook::hbcaa5de2cb5e22d5 [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/panicking.rs:591:17 [INFO] [stderr] 11: 0x558b711ddcf7 - std::panicking::begin_panic_handler::{{closure}}::h4ee6cde415c8f62d [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/panicking.rs:497:13 [INFO] [stderr] 12: 0x558b711dc00c - std::sys_common::backtrace::__rust_end_short_backtrace::h895319f2d3f611c0 [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stderr] 13: 0x558b711ddc59 - rust_begin_unwind [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/panicking.rs:493:5 [INFO] [stderr] 14: 0x558b711ddc0b - std::panicking::begin_panic_fmt::h0262e6b4d4041adf [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/panicking.rs:435:5 [INFO] [stderr] 15: 0x558b71192447 - build_script_build::unix_platform::build::hd8f18859fc30e5d5 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/portaudio-0.7.0/build.rs:83:23 [INFO] [stderr] 16: 0x558b71192eb3 - build_script_build::platform::build::hb44f42c8e89d5d9f [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/portaudio-0.7.0/build.rs:140:9 [INFO] [stderr] 17: 0x558b711935d2 - build_script_build::build::haf8b75bd50107efa [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/portaudio-0.7.0/build.rs:49:9 [INFO] [stderr] 18: 0x558b7119345a - build_script_build::main::h396ec6483a005428 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/portaudio-0.7.0/build.rs:38:5 [INFO] [stderr] 19: 0x558b7119324b - core::ops::function::FnOnce::call_once::h2513b3a3c80c6eda [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 20: 0x558b711930ae - std::sys_common::backtrace::__rust_begin_short_backtrace::h14fceae70e87cdb5 [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stderr] 21: 0x558b71193e51 - std::rt::lang_start::{{closure}}::h559e810aff679d1e [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/rt.rs:66:18 [INFO] [stderr] 22: 0x558b711de5ca - core::ops::function::impls:: for &F>::call_once::h31ee16c075ae2d62 [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/core/src/ops/function.rs:259:13 [INFO] [stderr] 23: 0x558b711de5ca - std::panicking::try::do_call::h3993344bf97066b6 [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/panicking.rs:379:40 [INFO] [stderr] 24: 0x558b711de5ca - std::panicking::try::h09e523df7c9c2d28 [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/panicking.rs:343:19 [INFO] [stderr] 25: 0x558b711de5ca - std::panic::catch_unwind::h9d4ddb10ebb815ff [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/panic.rs:431:14 [INFO] [stderr] 26: 0x558b711de5ca - std::rt::lang_start_internal::hc92e27a69d75de2a [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/rt.rs:51:25 [INFO] [stderr] 27: 0x558b71193e27 - std::rt::lang_start::hb9639af86b46c740 [INFO] [stderr] at /rustc/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/library/std/src/rt.rs:65:5 [INFO] [stderr] 28: 0x558b7119367a - main [INFO] [stderr] 29: 0x7f1330b850b3 - __libc_start_main [INFO] [stderr] 30: 0x558b711920be - _start [INFO] [stderr] 31: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: an associated function 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 associated item 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: an associated function 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 associated item 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: an associated function 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 associated item 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" "b3af8f4fc276b7216c7f92e114d46e81f66ee85af1ea59f8a20f497dd56f2a9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3af8f4fc276b7216c7f92e114d46e81f66ee85af1ea59f8a20f497dd56f2a9b", kill_on_drop: false }` [INFO] [stdout] b3af8f4fc276b7216c7f92e114d46e81f66ee85af1ea59f8a20f497dd56f2a9b