[INFO] fetching crate sample 0.11.0... [INFO] testing sample-0.11.0 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate sample 0.11.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sample 0.11.0 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-2/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c95ae3a85a6b2ada44264e46b1d6824f28135261b43365b32c4c2885d26aaf4c [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" "c95ae3a85a6b2ada44264e46b1d6824f28135261b43365b32c4c2885d26aaf4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c95ae3a85a6b2ada44264e46b1d6824f28135261b43365b32c4c2885d26aaf4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c95ae3a85a6b2ada44264e46b1d6824f28135261b43365b32c4c2885d26aaf4c", kill_on_drop: false }` [INFO] [stdout] c95ae3a85a6b2ada44264e46b1d6824f28135261b43365b32c4c2885d26aaf4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98a4373d477a5259d35f8e7534c574cb32e233658efc76ede9b56491742b2364 [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" "98a4373d477a5259d35f8e7534c574cb32e233658efc76ede9b56491742b2364", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "98a4373d477a5259d35f8e7534c574cb32e233658efc76ede9b56491742b2364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98a4373d477a5259d35f8e7534c574cb32e233658efc76ede9b56491742b2364", kill_on_drop: false }` [INFO] [stdout] 98a4373d477a5259d35f8e7534c574cb32e233658efc76ede9b56491742b2364