[INFO] cloning repository https://github.com/KwachOjunga/write-yourself-a-shell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KwachOjunga/write-yourself-a-shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKwachOjunga%2Fwrite-yourself-a-shell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKwachOjunga%2Fwrite-yourself-a-shell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3afccce53f9d04bc9697f02bfa08c65da92e5bc [INFO] testing KwachOjunga/write-yourself-a-shell against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKwachOjunga%2Fwrite-yourself-a-shell" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KwachOjunga/write-yourself-a-shell [INFO] finished tweaking git repo https://github.com/KwachOjunga/write-yourself-a-shell [INFO] tweaked toml for git repo https://github.com/KwachOjunga/write-yourself-a-shell written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KwachOjunga/write-yourself-a-shell on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KwachOjunga/write-yourself-a-shell 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v1.11.2 [INFO] [stderr] Downloaded fd-lock v4.0.1 [INFO] [stderr] Downloaded error-code v3.0.0 [INFO] [stderr] Downloaded clipboard-win v5.0.0 [INFO] [stderr] Downloaded bitflags v2.4.1 [INFO] [stderr] Downloaded unicode-width v0.1.11 [INFO] [stderr] Downloaded memchr v2.6.4 [INFO] [stderr] Downloaded home v0.5.5 [INFO] [stderr] Downloaded rustyline v13.0.0 [INFO] [stderr] Downloaded nix v0.27.1 [INFO] [stderr] Downloaded rustix v0.38.28 [INFO] [stderr] Downloaded libc v0.2.151 [INFO] [stderr] Downloaded linux-raw-sys v0.4.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02cb6d2eb47a46ca87dd9d349502189ade059bba94b1bc1e9f74f921ac9e78ac [INFO] running `Command { std: "docker" "start" "-a" "02cb6d2eb47a46ca87dd9d349502189ade059bba94b1bc1e9f74f921ac9e78ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02cb6d2eb47a46ca87dd9d349502189ade059bba94b1bc1e9f74f921ac9e78ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02cb6d2eb47a46ca87dd9d349502189ade059bba94b1bc1e9f74f921ac9e78ac", kill_on_drop: false }` [INFO] [stdout] 02cb6d2eb47a46ca87dd9d349502189ade059bba94b1bc1e9f74f921ac9e78ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1bd3ad04111ef91e7655596fa89d705c718c0a8b4772387e964e7ef3e69c220 [INFO] running `Command { std: "docker" "start" "-a" "f1bd3ad04111ef91e7655596fa89d705c718c0a8b4772387e964e7ef3e69c220", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling fd-lock v4.0.1 [INFO] [stderr] Compiling rustyline v13.0.0 [INFO] [stderr] Compiling rush v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.18s [INFO] running `Command { std: "docker" "inspect" "f1bd3ad04111ef91e7655596fa89d705c718c0a8b4772387e964e7ef3e69c220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1bd3ad04111ef91e7655596fa89d705c718c0a8b4772387e964e7ef3e69c220", kill_on_drop: false }` [INFO] [stdout] f1bd3ad04111ef91e7655596fa89d705c718c0a8b4772387e964e7ef3e69c220 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b6e5fe252f60350a163b6ad41265e70f5285cef3524e4c1aba574eaa2e3352a [INFO] running `Command { std: "docker" "start" "-a" "3b6e5fe252f60350a163b6ad41265e70f5285cef3524e4c1aba574eaa2e3352a", kill_on_drop: false }` [INFO] [stderr] Compiling rush v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/final.rs:158:27 [INFO] [stdout] | [INFO] [stdout] 158 | fn chains_from_line(line: &str) -> impl Iterator { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 158 | fn chains_from_line(line: &str) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "3b6e5fe252f60350a163b6ad41265e70f5285cef3524e4c1aba574eaa2e3352a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b6e5fe252f60350a163b6ad41265e70f5285cef3524e4c1aba574eaa2e3352a", kill_on_drop: false }` [INFO] [stdout] 3b6e5fe252f60350a163b6ad41265e70f5285cef3524e4c1aba574eaa2e3352a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f7bf3262530aa462ab37dcad814664fb2acd780ad0ec84c45df131394d93801e [INFO] running `Command { std: "docker" "start" "-a" "f7bf3262530aa462ab37dcad814664fb2acd780ad0ec84c45df131394d93801e", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> examples/final.rs:158:27 [INFO] [stderr] | [INFO] [stderr] 158 | fn chains_from_line(line: &str) -> impl Iterator { [INFO] [stderr] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 158 | fn chains_from_line(line: &str) -> impl Iterator> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rush` (example "final") generated 1 warning (run `cargo fix --example "final" -p rush` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rush-a05dcf9b7429587d) [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Running tests/all/main.rs (/opt/rustwide/target/debug/deps/all-d51d5e1673cbe468) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Blocking waiting for file lock on artifact directory [INFO] [stderr] Blocking waiting for file lock on artifact directory [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block3` [INFO] [stderr] Finished Blocking `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] waiting for file lock on artifact directory [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block1` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block2` [INFO] [stderr] Blocking waiting for file lock on artifact directory [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block2` [INFO] [stderr] Blocking Blocking waiting for file lock on artifact directory [INFO] [stderr] waiting for file lock on artifact directory [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block3` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block3` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block2` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block3` [INFO] [stdout] test block1::shell_runs_pwd ... ok [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block4` [INFO] [stdout] test block2::shell_runs_pwd_twice ... ok [INFO] [stdout] test block3::supports_exit_builtin ... ok [INFO] [stdout] test block2::shell_understands_or_operator ... ok [INFO] [stdout] test block3::supports_cd_shell_builtin ... ok [INFO] [stdout] test block3::invalid_cd_doesnt_change_dir ... ok [INFO] [stdout] test block3::supports_relative_cd ... ok [INFO] [stdout] test block2::shell_understands_and_operator ... ok [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block5` [INFO] [stdout] test block5::test_pipes_evaluation ... ok [INFO] [stdout] test block4::test_history ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 9.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f7bf3262530aa462ab37dcad814664fb2acd780ad0ec84c45df131394d93801e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7bf3262530aa462ab37dcad814664fb2acd780ad0ec84c45df131394d93801e", kill_on_drop: false }` [INFO] [stdout] f7bf3262530aa462ab37dcad814664fb2acd780ad0ec84c45df131394d93801e