[INFO] cloning repository https://github.com/mariogeiger/rust-sort-tests [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mariogeiger/rust-sort-tests" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmariogeiger%2Frust-sort-tests", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmariogeiger%2Frust-sort-tests'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1714fdc0e6587ee8c64d1d3ebfa5b184b06ecea2 [INFO] checking mariogeiger/rust-sort-tests against try#82acd1d76add2232e19c1f0feb250d2a19ec6efe for pr-81213 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmariogeiger%2Frust-sort-tests" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mariogeiger/rust-sort-tests on toolchain 82acd1d76add2232e19c1f0feb250d2a19ec6efe [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mariogeiger/rust-sort-tests [INFO] finished tweaking git repo https://github.com/mariogeiger/rust-sort-tests [INFO] tweaked toml for git repo https://github.com/mariogeiger/rust-sort-tests written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/mariogeiger/rust-sort-tests already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gnuplot v0.0.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 998000b5cf0b4f14aab8d2b152148edda9d20f6907972aa438d7eb4f7a14a7c8 [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" "998000b5cf0b4f14aab8d2b152148edda9d20f6907972aa438d7eb4f7a14a7c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "998000b5cf0b4f14aab8d2b152148edda9d20f6907972aa438d7eb4f7a14a7c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "998000b5cf0b4f14aab8d2b152148edda9d20f6907972aa438d7eb4f7a14a7c8", kill_on_drop: false }` [INFO] [stdout] 998000b5cf0b4f14aab8d2b152148edda9d20f6907972aa438d7eb4f7a14a7c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d62b885ad385ccbd4e1335b345e21d1bf025f1a9ebb5fb0d3a06744d839c2b9 [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" "8d62b885ad385ccbd4e1335b345e21d1bf025f1a9ebb5fb0d3a06744d839c2b9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking gnuplot v0.0.37 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.2 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking quick_sort v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `weak_rng` in crate `rand` [INFO] [stdout] --> src/main.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | let mut rng = rand::weak_rng(); [INFO] [stdout] | ^^^^^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | let t0 = time::precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | let t1 = time::precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `weak_rng` in crate `rand` [INFO] [stdout] --> src/main.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | let mut rng = rand::weak_rng(); [INFO] [stdout] | ^^^^^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | let t0 = time::precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | let t1 = time::precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `quick_sort` [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] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8d62b885ad385ccbd4e1335b345e21d1bf025f1a9ebb5fb0d3a06744d839c2b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d62b885ad385ccbd4e1335b345e21d1bf025f1a9ebb5fb0d3a06744d839c2b9", kill_on_drop: false }` [INFO] [stdout] 8d62b885ad385ccbd4e1335b345e21d1bf025f1a9ebb5fb0d3a06744d839c2b9