[INFO] fetching crate rustyrepl 0.2.0... [INFO] testing rustyrepl-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rustyrepl 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate rustyrepl 0.2.0 [INFO] finished tweaking crates.io crate rustyrepl 0.2.0 [INFO] tweaked toml for crates.io crate rustyrepl 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustyrepl 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 109 packages to latest compatible versions [INFO] [stderr] Adding colored v2.2.0 (available: v3.0.0) [INFO] [stderr] Adding ctor v0.1.26 (available: v0.5.0) [INFO] [stderr] Adding dirs v2.0.2 (available: v6.0.0) [INFO] [stderr] Adding rustyline v7.1.0 (available: v17.0.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding thread-id v3.3.0 (available: v5.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35608f9dff66b791407328df3bdd7270c45a7579979c4e2dcf4ac8f5de7e54e5 [INFO] running `Command { std: "docker" "start" "-a" "35608f9dff66b791407328df3bdd7270c45a7579979c4e2dcf4ac8f5de7e54e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35608f9dff66b791407328df3bdd7270c45a7579979c4e2dcf4ac8f5de7e54e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35608f9dff66b791407328df3bdd7270c45a7579979c4e2dcf4ac8f5de7e54e5", kill_on_drop: false }` [INFO] [stdout] 35608f9dff66b791407328df3bdd7270c45a7579979c4e2dcf4ac8f5de7e54e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45c73d9f52e1590c96b9ce44946ef89b8f62bfd9dc9058730488c20fd3fa72ab [INFO] running `Command { std: "docker" "start" "-a" "45c73d9f52e1590c96b9ce44946ef89b8f62bfd9dc9058730488c20fd3fa72ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling rustyline v7.1.0 [INFO] [stderr] Compiling rustyrepl v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.36s [INFO] running `Command { std: "docker" "inspect" "45c73d9f52e1590c96b9ce44946ef89b8f62bfd9dc9058730488c20fd3fa72ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45c73d9f52e1590c96b9ce44946ef89b8f62bfd9dc9058730488c20fd3fa72ab", kill_on_drop: false }` [INFO] [stdout] 45c73d9f52e1590c96b9ce44946ef89b8f62bfd9dc9058730488c20fd3fa72ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc8c5bfd5dc60274c64cc9d57fba4c7c342e496cdfab3609e457ab96dfb2301d [INFO] running `Command { std: "docker" "start" "-a" "dc8c5bfd5dc60274c64cc9d57fba4c7c342e496cdfab3609e457ab96dfb2301d", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling rustyrepl v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `tempfile::TempDir::into_path`: use TempDir::keep() [INFO] [stdout] --> src/repl/tests.rs:45:44 [INFO] [stdout] | [INFO] [stdout] 45 | let mut tempdir = tempfile::tempdir()?.into_path(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.60s [INFO] running `Command { std: "docker" "inspect" "dc8c5bfd5dc60274c64cc9d57fba4c7c342e496cdfab3609e457ab96dfb2301d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc8c5bfd5dc60274c64cc9d57fba4c7c342e496cdfab3609e457ab96dfb2301d", kill_on_drop: false }` [INFO] [stdout] dc8c5bfd5dc60274c64cc9d57fba4c7c342e496cdfab3609e457ab96dfb2301d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eec94377b4a419e438a38ef94ee1670516dacd3a750f12e48cc4cc63b6148253 [INFO] running `Command { std: "docker" "start" "-a" "eec94377b4a419e438a38ef94ee1670516dacd3a750f12e48cc4cc63b6148253", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `tempfile::TempDir::into_path`: use TempDir::keep() [INFO] [stderr] --> src/repl/tests.rs:45:44 [INFO] [stderr] | [INFO] [stderr] 45 | let mut tempdir = tempfile::tempdir()?.into_path(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rustyrepl` (lib test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustyrepl-da1952214fd00c85) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] [00:00:00.162] DEBUG REPL history disabled as no history file provided (repl:161) [INFO] [stdout] [00:00:00.170] INFO The tempfile is /tmp/.tmppVFgdI (tests:35) [INFO] [stdout] test repl::tests::test_history_path_parsing ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] Doc-tests rustyrepl [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 30) ... FAILED [INFO] [stdout] test src/commands.rs - commands::ReplCommandProcessor::is_quit (line 43) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 30) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_trait` [INFO] [stdout] --> src/lib.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[async_trait::async_trait] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `async_trait` [INFO] [stdout] [INFO] [stdout] error[E0053]: method `process_command` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 31 | async fn process_command(&self, command: Cli) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), anyhow::Error>`, found future [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&CliProcessor, Cli) -> Result<(), anyhow::Error>` [INFO] [stdout] found signature `fn(&CliProcessor, Cli) -> impl Future>` [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result<(), anyhow::Error>` is not a future [INFO] [stdout] --> src/lib.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 45 | repl.process().await [INFO] [stdout] | ^^^^^ `Result<(), anyhow::Error>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result<(), anyhow::Error>` [INFO] [stdout] = note: Result<(), anyhow::Error> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result<(), anyhow::Error>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 45 - repl.process().await [INFO] [stdout] 45 + repl.process() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 30) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "eec94377b4a419e438a38ef94ee1670516dacd3a750f12e48cc4cc63b6148253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eec94377b4a419e438a38ef94ee1670516dacd3a750f12e48cc4cc63b6148253", kill_on_drop: false }` [INFO] [stdout] eec94377b4a419e438a38ef94ee1670516dacd3a750f12e48cc4cc63b6148253