[INFO] fetching crate sample 0.11.0... [INFO] testing sample-0.11.0 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate sample 0.11.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate sample 0.11.0 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", 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-10/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6dd301e36a53e15b421728e65aa1ed1f40ea562728c3bae5c84cb5ee6171cfa [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" "e6dd301e36a53e15b421728e65aa1ed1f40ea562728c3bae5c84cb5ee6171cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6dd301e36a53e15b421728e65aa1ed1f40ea562728c3bae5c84cb5ee6171cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6dd301e36a53e15b421728e65aa1ed1f40ea562728c3bae5c84cb5ee6171cfa", kill_on_drop: false }` [INFO] [stdout] e6dd301e36a53e15b421728e65aa1ed1f40ea562728c3bae5c84cb5ee6171cfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d1422b062ab0cd80656edbff0938393841abee4534ce2a381dcba0566dfc014 [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" "4d1422b062ab0cd80656edbff0938393841abee4534ce2a381dcba0566dfc014", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [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: could not compile `sample` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "4d1422b062ab0cd80656edbff0938393841abee4534ce2a381dcba0566dfc014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d1422b062ab0cd80656edbff0938393841abee4534ce2a381dcba0566dfc014", kill_on_drop: false }` [INFO] [stdout] 4d1422b062ab0cd80656edbff0938393841abee4534ce2a381dcba0566dfc014