[INFO] fetching crate bref 0.1.0... [INFO] testing bref-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate bref 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate bref 0.1.0 [INFO] finished tweaking crates.io crate bref 0.1.0 [INFO] tweaked toml for crates.io crate bref 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bref 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bref 0.1.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2b0df53da1cc15c5926319e122a4307cc31c18fd87ffe1b9c54a47028fdbbbc [INFO] running `Command { std: "docker" "start" "-a" "f2b0df53da1cc15c5926319e122a4307cc31c18fd87ffe1b9c54a47028fdbbbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2b0df53da1cc15c5926319e122a4307cc31c18fd87ffe1b9c54a47028fdbbbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2b0df53da1cc15c5926319e122a4307cc31c18fd87ffe1b9c54a47028fdbbbc", kill_on_drop: false }` [INFO] [stdout] f2b0df53da1cc15c5926319e122a4307cc31c18fd87ffe1b9c54a47028fdbbbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5576302be749d647f2c7d236039605ee92fc35dce0ad269f11ff3ff0596375e5 [INFO] running `Command { std: "docker" "start" "-a" "5576302be749d647f2c7d236039605ee92fc35dce0ad269f11ff3ff0596375e5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.68 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling once_cell v1.17.2 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling clap_builder v4.4.6 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling matchit v0.7.0 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling pin-project v1.1.0 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling tower-http v0.4.4 [INFO] [stderr] Compiling clap v4.4.6 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.11 [INFO] [stderr] Compiling bref v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/lib.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | use clap::{command, Parser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "5576302be749d647f2c7d236039605ee92fc35dce0ad269f11ff3ff0596375e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5576302be749d647f2c7d236039605ee92fc35dce0ad269f11ff3ff0596375e5", kill_on_drop: false }` [INFO] [stdout] 5576302be749d647f2c7d236039605ee92fc35dce0ad269f11ff3ff0596375e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aad4107b3b7fc85c34cdb2c63bc471bcee19b784d4d2443dca156033d3e6905a [INFO] running `Command { std: "docker" "start" "-a" "aad4107b3b7fc85c34cdb2c63bc471bcee19b784d4d2443dca156033d3e6905a", kill_on_drop: false }` [INFO] [stderr] Compiling bref v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/lib.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | use clap::{command, Parser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/lib.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | use clap::{command, Parser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "aad4107b3b7fc85c34cdb2c63bc471bcee19b784d4d2443dca156033d3e6905a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aad4107b3b7fc85c34cdb2c63bc471bcee19b784d4d2443dca156033d3e6905a", kill_on_drop: false }` [INFO] [stdout] aad4107b3b7fc85c34cdb2c63bc471bcee19b784d4d2443dca156033d3e6905a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ba0c5c4b2584c3c643c9c7d92d39dec9f61e5ede0869ebb90db60d925df4fbe9 [INFO] running `Command { std: "docker" "start" "-a" "ba0c5c4b2584c3c643c9c7d92d39dec9f61e5ede0869ebb90db60d925df4fbe9", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `command` [INFO] [stderr] --> src/lib.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | use clap::{command, Parser}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `bref` (lib) generated 1 warning (run `cargo fix --lib -p bref` to apply 1 suggestion) [INFO] [stderr] warning: `bref` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bref-b5db6fb69bef01fe) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test base62::tests::encode_to_base62 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bref-26652b71876cf77f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests bref [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stdout] test src/base62.rs - base62::ToBase62 (line 21) ... FAILED [INFO] [stdout] test src/base62.rs - base62::ToBase62 (line 26) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 9) stdout ---- [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/base62.rs - base62::ToBase62 (line 21) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `random` in this scope [INFO] [stdout] --> src/base62.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | let key = random().to_base62(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 + use std::random::random; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/base62.rs - base62::ToBase62 (line 26) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `random` in this scope [INFO] [stdout] --> src/base62.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let key = to_base62(random()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 26 + use std::random::random; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_base62` in this scope [INFO] [stdout] --> src/base62.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | let key = to_base62(random()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/base62.rs - base62::ToBase62 (line 21) [INFO] [stdout] src/base62.rs - base62::ToBase62 (line 26) [INFO] [stdout] src/lib.rs - (line 9) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ba0c5c4b2584c3c643c9c7d92d39dec9f61e5ede0869ebb90db60d925df4fbe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba0c5c4b2584c3c643c9c7d92d39dec9f61e5ede0869ebb90db60d925df4fbe9", kill_on_drop: false }` [INFO] [stdout] ba0c5c4b2584c3c643c9c7d92d39dec9f61e5ede0869ebb90db60d925df4fbe9