[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#7704328ba5ae8d6ce0ac303c9d5a1a1605906766 for pr-146989 [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 7704328ba5ae8d6ce0ac303c9d5a1a1605906766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded error-code v3.0.0 [INFO] [stderr] Downloaded clipboard-win v5.0.0 [INFO] [stderr] Downloaded fd-lock v4.0.1 [INFO] [stderr] Downloaded rustyline v13.0.0 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac4e7bbf5695b1d62316f3824892cb722f3b7a9a855a90f8a2c4d6462df5244f [INFO] running `Command { std: "docker" "start" "-a" "ac4e7bbf5695b1d62316f3824892cb722f3b7a9a855a90f8a2c4d6462df5244f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac4e7bbf5695b1d62316f3824892cb722f3b7a9a855a90f8a2c4d6462df5244f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac4e7bbf5695b1d62316f3824892cb722f3b7a9a855a90f8a2c4d6462df5244f", kill_on_drop: false }` [INFO] [stdout] ac4e7bbf5695b1d62316f3824892cb722f3b7a9a855a90f8a2c4d6462df5244f [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1acac9837c73f036748c37aeed24fd5ec3b723e5510b581101bbb90f1557afb5 [INFO] running `Command { std: "docker" "start" "-a" "1acac9837c73f036748c37aeed24fd5ec3b723e5510b581101bbb90f1557afb5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling rustix v0.38.28 [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 memchr v2.6.4 [INFO] [stderr] Compiling nibble_vec v0.1.0 [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 7.72s [INFO] running `Command { std: "docker" "inspect" "1acac9837c73f036748c37aeed24fd5ec3b723e5510b581101bbb90f1557afb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1acac9837c73f036748c37aeed24fd5ec3b723e5510b581101bbb90f1557afb5", kill_on_drop: false }` [INFO] [stdout] 1acac9837c73f036748c37aeed24fd5ec3b723e5510b581101bbb90f1557afb5 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10a06af9fccde636de1608a16a0a83812364244897730198fc297192e9d63cd5 [INFO] running `Command { std: "docker" "start" "-a" "10a06af9fccde636de1608a16a0a83812364244897730198fc297192e9d63cd5", 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.56s [INFO] running `Command { std: "docker" "inspect" "10a06af9fccde636de1608a16a0a83812364244897730198fc297192e9d63cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10a06af9fccde636de1608a16a0a83812364244897730198fc297192e9d63cd5", kill_on_drop: false }` [INFO] [stdout] 10a06af9fccde636de1608a16a0a83812364244897730198fc297192e9d63cd5 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3429c63900a6d835cf9ebc7f637cc865fef104d0959da5b5a1d377fd118b3843 [INFO] running `Command { std: "docker" "start" "-a" "3429c63900a6d835cf9ebc7f637cc865fef104d0959da5b5a1d377fd118b3843", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] [INFO] [stderr] --> examples/final.rs:158:27 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 158 | fn chains_from_line(line: &str) -> impl Iterator { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] [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.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rush-a05dcf9b7429587d) [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.06s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block4` [INFO] [stderr] Blocking waiting for file lock on artifact directory [INFO] [stderr] Blocking waiting for file lock on artifact directory [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Blocking waiting for file lock on artifact directory [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block5` [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/block3` [INFO] [stderr] Blocking waiting for file lock on artifact directory [INFO] [stderr] Blocking waiting for file lock on artifact directory [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block3` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s [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.30s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block2` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] `/opt/rustwide/target/debug/examples/block2` [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block1` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block3` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block3` [INFO] [stdout] test block1::shell_runs_pwd ... ok [INFO] [stdout] test block2::shell_understands_or_operator ... ok [INFO] [stdout] test block2::shell_understands_and_operator ... ok [INFO] [stdout] test block2::shell_runs_pwd_twice ... ok [INFO] [stdout] test block3::supports_cd_shell_builtin ... ok [INFO] [stdout] test block3::supports_exit_builtin ... ok [INFO] [stdout] test block5::test_pipes_evaluation ... ok [INFO] [stdout] test block3::invalid_cd_doesnt_change_dir ... ok [INFO] [stdout] test block3::supports_relative_cd ... 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 8.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3429c63900a6d835cf9ebc7f637cc865fef104d0959da5b5a1d377fd118b3843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3429c63900a6d835cf9ebc7f637cc865fef104d0959da5b5a1d377fd118b3843", kill_on_drop: false }` [INFO] [stdout] 3429c63900a6d835cf9ebc7f637cc865fef104d0959da5b5a1d377fd118b3843