[INFO] cloning repository https://github.com/Logarithmus/sorts-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Logarithmus/sorts-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogarithmus%2Fsorts-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogarithmus%2Fsorts-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f83d0c06f000c4f052af783101f044c7d5c6ff1 [INFO] checking Logarithmus/sorts-rs against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogarithmus%2Fsorts-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Logarithmus/sorts-rs 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 git repo https://github.com/Logarithmus/sorts-rs [INFO] finished tweaking git repo https://github.com/Logarithmus/sorts-rs [INFO] tweaked toml for git repo https://github.com/Logarithmus/sorts-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Logarithmus/sorts-rs already has a lockfile, it will not be regenerated [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b64b8bec90032118413a70675459fdb63ab542e9675834a278221c27bc425a47 [INFO] running `Command { std: "docker" "start" "-a" "b64b8bec90032118413a70675459fdb63ab542e9675834a278221c27bc425a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b64b8bec90032118413a70675459fdb63ab542e9675834a278221c27bc425a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b64b8bec90032118413a70675459fdb63ab542e9675834a278221c27bc425a47", kill_on_drop: false }` [INFO] [stdout] b64b8bec90032118413a70675459fdb63ab542e9675834a278221c27bc425a47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4bc4058fa2e40e8b034c7666cf11851595e4e6e17bfb4d6283414fcc05fe1114 [INFO] running `Command { std: "docker" "start" "-a" "4bc4058fa2e40e8b034c7666cf11851595e4e6e17bfb4d6283414fcc05fe1114", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking itertools v0.8.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking num_cpus v1.11.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking criterion-plot v0.4.0 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand_xoshiro v0.3.1 [INFO] [stderr] Checking rand_os v0.2.2 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking rayon v1.2.0 [INFO] [stderr] Checking sorts_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> src/sort.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn bubble_sort(slice: &mut [T]) { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 + use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shl` [INFO] [stdout] --> src/sort.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::{BitAnd, Shl, Shr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0404`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sorts_rs` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4bc4058fa2e40e8b034c7666cf11851595e4e6e17bfb4d6283414fcc05fe1114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc4058fa2e40e8b034c7666cf11851595e4e6e17bfb4d6283414fcc05fe1114", kill_on_drop: false }` [INFO] [stdout] 4bc4058fa2e40e8b034c7666cf11851595e4e6e17bfb4d6283414fcc05fe1114