[INFO] updating cached repository https://github.com/Logarithmus/sorts-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 995f78660aa46ea77d912894f55e1686ecf75087 [INFO] testing Logarithmus/sorts-rs against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogarithmus%2Fsorts-rs" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Logarithmus/sorts-rs on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [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-14/source/Cargo.toml [INFO] crate git repo https://github.com/Logarithmus/sorts-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9257c4f65f910f6dba2bda55860c71d30b9ad44a60c18fa4969a2a4a3f2dc83d [INFO] running `"docker" "start" "-a" "9257c4f65f910f6dba2bda55860c71d30b9ad44a60c18fa4969a2a4a3f2dc83d"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling sorts_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stderr] --> src/sort.rs:5:29 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn bubble_sort(slice: &mut [T]) { [INFO] [stderr] | ^^^^^ not a trait [INFO] [stderr] | [INFO] [stderr] help: possible better candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::fmt::Debug; [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::Debug; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::Rng` [INFO] [stderr] --> src/test.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use rand::Rng; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Shl` [INFO] [stderr] --> src/sort.rs:1:25 [INFO] [stderr] | [INFO] [stderr] 1 | use core::ops::{BitAnd, Shl, Shr}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0404`. [INFO] [stderr] error: could not compile `sorts_rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "9257c4f65f910f6dba2bda55860c71d30b9ad44a60c18fa4969a2a4a3f2dc83d"` [INFO] running `"docker" "rm" "-f" "9257c4f65f910f6dba2bda55860c71d30b9ad44a60c18fa4969a2a4a3f2dc83d"` [INFO] [stdout] 9257c4f65f910f6dba2bda55860c71d30b9ad44a60c18fa4969a2a4a3f2dc83d