[INFO] fetching crate odds 0.4.0... [INFO] checking odds-0.4.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate odds 0.4.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate odds 0.4.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate odds 0.4.0 [INFO] finished tweaking crates.io crate odds 0.4.0 [INFO] tweaked toml for crates.io crate odds 0.4.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.12) [INFO] [stderr] Adding itertools v0.8.2 (latest: v0.12.1) [INFO] [stderr] Adding quickcheck v0.9.2 (latest: v1.0.3) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unchecked-index v0.2.2 [INFO] [stderr] Downloaded rawslice v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f8d809484287aa432727580bb6873eec8f2a4858e62eb5d0c85e49fffb77d79 [INFO] running `Command { std: "docker" "start" "-a" "9f8d809484287aa432727580bb6873eec8f2a4858e62eb5d0c85e49fffb77d79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f8d809484287aa432727580bb6873eec8f2a4858e62eb5d0c85e49fffb77d79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f8d809484287aa432727580bb6873eec8f2a4858e62eb5d0c85e49fffb77d79", kill_on_drop: false }` [INFO] [stdout] 9f8d809484287aa432727580bb6873eec8f2a4858e62eb5d0c85e49fffb77d79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 518d74de5b99fda05598ba2ddb2c73aa49f93cd36a6ea59772d724ccea82f74f [INFO] running `Command { std: "docker" "start" "-a" "518d74de5b99fda05598ba2ddb2c73aa49f93cd36a6ea59772d724ccea82f74f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking rawslice v0.1.1 [INFO] [stderr] Checking odds v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stride.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | r#try!(write!(f, "[")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | stride_impl!{struct Stride -> &'a [A], as_ptr, *const A, &'a A} [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `stride_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stride.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | r#try!(write!(f, "{:?}", (*self)[i])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | stride_impl!{struct Stride -> &'a [A], as_ptr, *const A, &'a A} [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stride_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stride.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | stride_impl!{struct Stride -> &'a [A], as_ptr, *const A, &'a A} [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stride_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stride.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | r#try!(write!(f, "[")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | stride_impl!{struct StrideMut -> &'a mut [A], as_mut_ptr, *mut A, &'a mut A} [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stride_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stride.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | r#try!(write!(f, "{:?}", (*self)[i])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | stride_impl!{struct StrideMut -> &'a mut [A], as_mut_ptr, *mut A, &'a mut A} [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stride_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stride.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | stride_impl!{struct StrideMut -> &'a mut [A], as_mut_ptr, *mut A, &'a mut A} [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stride_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stride.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | r#try!(write!(f, "[")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | stride_impl!{struct Stride -> &'a [A], as_ptr, *const A, &'a A} [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `stride_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stride.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | r#try!(write!(f, "{:?}", (*self)[i])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | stride_impl!{struct Stride -> &'a [A], as_ptr, *const A, &'a A} [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stride_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stride.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | stride_impl!{struct Stride -> &'a [A], as_ptr, *const A, &'a A} [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stride_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stride.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | r#try!(write!(f, "[")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | stride_impl!{struct StrideMut -> &'a mut [A], as_mut_ptr, *mut A, &'a mut A} [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stride_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stride.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | r#try!(write!(f, "{:?}", (*self)[i])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | stride_impl!{struct StrideMut -> &'a mut [A], as_mut_ptr, *mut A, &'a mut A} [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stride_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stride.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | stride_impl!{struct StrideMut -> &'a mut [A], as_mut_ptr, *mut A, &'a mut A} [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stride_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `size_of` [INFO] [stdout] --> benches/count_ones.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem::{size_of, size_of_val}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::slice_unchecked`: use `get_unchecked(begin..end)` instead [INFO] [stdout] --> tests/slice.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | ch_slice = self.slice.slice_unchecked(0, char_len); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::slice_unchecked`: use `get_unchecked(begin..end)` instead [INFO] [stdout] --> tests/slice.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | self.slice = self.slice.slice_unchecked(char_len, self.slice.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CharSlices` is never constructed [INFO] [stdout] --> tests/slice.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct CharSlices<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/slice.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> CharSlices<'a> [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 15 | { [INFO] [stdout] 16 | pub fn new(s: &'a str) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.51s [INFO] running `Command { std: "docker" "inspect" "518d74de5b99fda05598ba2ddb2c73aa49f93cd36a6ea59772d724ccea82f74f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "518d74de5b99fda05598ba2ddb2c73aa49f93cd36a6ea59772d724ccea82f74f", kill_on_drop: false }` [INFO] [stdout] 518d74de5b99fda05598ba2ddb2c73aa49f93cd36a6ea59772d724ccea82f74f