[INFO] fetching crate sample 0.11.0... [INFO] testing sample-0.11.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate sample 0.11.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate sample 0.11.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-7/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9072dfe2720f4e9652742d28a74226ba3ddfee6f1ab34508ae28bb44fc3e6f0f [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" "9072dfe2720f4e9652742d28a74226ba3ddfee6f1ab34508ae28bb44fc3e6f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9072dfe2720f4e9652742d28a74226ba3ddfee6f1ab34508ae28bb44fc3e6f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9072dfe2720f4e9652742d28a74226ba3ddfee6f1ab34508ae28bb44fc3e6f0f", kill_on_drop: false }` [INFO] [stdout] 9072dfe2720f4e9652742d28a74226ba3ddfee6f1ab34508ae28bb44fc3e6f0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 574bea2ee904242f1a7c9652e564f0c4e1c090394e0a36c8ba9b1e72f4699f21 [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" "574bea2ee904242f1a7c9652e564f0c4e1c090394e0a36c8ba9b1e72f4699f21", 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: 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 the macro `impl_frame` (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 the macro `impl_frame` (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 the macro `impl_frame` (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" "574bea2ee904242f1a7c9652e564f0c4e1c090394e0a36c8ba9b1e72f4699f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "574bea2ee904242f1a7c9652e564f0c4e1c090394e0a36c8ba9b1e72f4699f21", kill_on_drop: false }` [INFO] [stdout] 574bea2ee904242f1a7c9652e564f0c4e1c090394e0a36c8ba9b1e72f4699f21