[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#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKwachOjunga%2Fwrite-yourself-a-shell" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KwachOjunga/write-yourself-a-shell on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17f483151683b219620ca50ceb6a355becdb3487ced372a53bd342864ac1713b [INFO] running `Command { std: "docker" "start" "-a" "17f483151683b219620ca50ceb6a355becdb3487ced372a53bd342864ac1713b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17f483151683b219620ca50ceb6a355becdb3487ced372a53bd342864ac1713b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f483151683b219620ca50ceb6a355becdb3487ced372a53bd342864ac1713b", kill_on_drop: false }` [INFO] [stdout] 17f483151683b219620ca50ceb6a355becdb3487ced372a53bd342864ac1713b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b3cb85e425e4a0c00a1fcb5e7ebe1b9b3a5dc91b6edc8bac5b1bd66dcadbf0f [INFO] running `Command { std: "docker" "start" "-a" "4b3cb85e425e4a0c00a1fcb5e7ebe1b9b3a5dc91b6edc8bac5b1bd66dcadbf0f", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [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-width v0.1.11 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [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 16.75s [INFO] running `Command { std: "docker" "inspect" "4b3cb85e425e4a0c00a1fcb5e7ebe1b9b3a5dc91b6edc8bac5b1bd66dcadbf0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b3cb85e425e4a0c00a1fcb5e7ebe1b9b3a5dc91b6edc8bac5b1bd66dcadbf0f", kill_on_drop: false }` [INFO] [stdout] 4b3cb85e425e4a0c00a1fcb5e7ebe1b9b3a5dc91b6edc8bac5b1bd66dcadbf0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d12431e158432fe41c969916a98c7820bee6c3b361c0241bacf637eee6a5e2cc [INFO] running `Command { std: "docker" "start" "-a" "d12431e158432fe41c969916a98c7820bee6c3b361c0241bacf637eee6a5e2cc", kill_on_drop: false }` [INFO] [stderr] Compiling rush v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> examples/final.rs:158:27 [INFO] [stdout] | [INFO] [stdout] 158 | fn chains_from_line(line: &str) -> impl Iterator { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 3.95s [INFO] running `Command { std: "docker" "inspect" "d12431e158432fe41c969916a98c7820bee6c3b361c0241bacf637eee6a5e2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d12431e158432fe41c969916a98c7820bee6c3b361c0241bacf637eee6a5e2cc", kill_on_drop: false }` [INFO] [stdout] d12431e158432fe41c969916a98c7820bee6c3b361c0241bacf637eee6a5e2cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a6ce05d097bcde846eff13bf09d4545d9e5f31a6ac5d8271f1d1876815717446 [INFO] running `Command { std: "docker" "start" "-a" "a6ce05d097bcde846eff13bf09d4545d9e5f31a6ac5d8271f1d1876815717446", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> examples/final.rs:158:27 [INFO] [stderr] | [INFO] [stderr] 158 | fn chains_from_line(line: &str) -> impl Iterator { [INFO] [stderr] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 [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-4cbdb43e248114de) [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-47004304c4bb918f) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block3` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block1` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stderr] Blocking waiting for file lock on build directory [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/block4` [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block2` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block3` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s [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/block5` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block2` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running `/opt/rustwide/target/debug/examples/block2` [INFO] [stdout] test block1::shell_runs_pwd ... ok [INFO] [stdout] test block3::supports_exit_builtin ... ok [INFO] [stdout] test block2::shell_understands_or_operator ... ok [INFO] [stdout] test block2::shell_runs_pwd_twice ... ok [INFO] [stdout] test block3::supports_relative_cd ... ok [INFO] [stdout] test block3::invalid_cd_doesnt_change_dir ... ok [INFO] [stdout] test block5::test_pipes_evaluation ... ok [INFO] [stdout] test block3::supports_cd_shell_builtin ... ok [INFO] [stdout] test block2::shell_understands_and_operator ... 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" "a6ce05d097bcde846eff13bf09d4545d9e5f31a6ac5d8271f1d1876815717446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6ce05d097bcde846eff13bf09d4545d9e5f31a6ac5d8271f1d1876815717446", kill_on_drop: false }` [INFO] [stdout] a6ce05d097bcde846eff13bf09d4545d9e5f31a6ac5d8271f1d1876815717446