[INFO] fetching crate git-shell-enforce-directory 1.0.1...
[INFO] testing git-shell-enforce-directory-1.0.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate git-shell-enforce-directory 1.0.1 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate git-shell-enforce-directory 1.0.1
[INFO] finished tweaking crates.io crate git-shell-enforce-directory 1.0.1
[INFO] tweaked toml for crates.io crate git-shell-enforce-directory 1.0.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate git-shell-enforce-directory 1.0.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate git-shell-enforce-directory 1.0.1 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded env_logger v0.5.6
[INFO] [stderr]   Downloaded exec v0.3.1
[INFO] [stderr]   Downloaded errno v0.2.3
[INFO] [stderr]   Downloaded wincolor v0.1.6
[INFO] [stderr]   Downloaded cfg-if v0.1.2
[INFO] [stderr]   Downloaded bitflags v1.0.1
[INFO] [stderr]   Downloaded redox_termios v0.1.1
[INFO] [stderr]   Downloaded atty v0.2.8
[INFO] [stderr]   Downloaded strsim v0.7.0
[INFO] [stderr]   Downloaded textwrap v0.9.0
[INFO] [stderr]   Downloaded termion v1.5.1
[INFO] [stderr]   Downloaded redox_syscall v0.1.37
[INFO] [stderr]   Downloaded aho-corasick v0.6.4
[INFO] [stderr]   Downloaded thread_local v0.3.5
[INFO] [stderr]   Downloaded utf8-ranges v1.0.0
[INFO] [stderr]   Downloaded regex v1.5.6
[INFO] [stderr]   Downloaded clap v2.31.1
[INFO] [stderr]   Downloaded regex-syntax v0.5.3
[INFO] [stderr]   Downloaded regex v0.2.10
[INFO] [stderr]   Downloaded regex-syntax v0.6.26
[INFO] [stderr]   Downloaded libc v0.2.39
[INFO] [stderr]   Downloaded unicode-width v0.1.4
[INFO] [stderr]   Downloaded vec_map v0.8.0
[INFO] [stderr]   Downloaded ucd-util v0.1.1
[INFO] [stderr]   Downloaded lazy_static v1.0.0
[INFO] [stderr]   Downloaded log v0.4.1
[INFO] [stderr]   Downloaded quick-error v1.2.1
[INFO] [stderr]   Downloaded aho-corasick v0.7.18
[INFO] [stderr]   Downloaded humantime v1.1.1
[INFO] [stderr]   Downloaded termcolor v0.3.5
[INFO] [stderr]   Downloaded winapi v0.3.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ffc902488dd8b06136fdac94e9d6dba924ca75e93a2e2d6dd3fdf5afeed9aba3
[INFO] running `Command { std: "docker" "start" "-a" "ffc902488dd8b06136fdac94e9d6dba924ca75e93a2e2d6dd3fdf5afeed9aba3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ffc902488dd8b06136fdac94e9d6dba924ca75e93a2e2d6dd3fdf5afeed9aba3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ffc902488dd8b06136fdac94e9d6dba924ca75e93a2e2d6dd3fdf5afeed9aba3", kill_on_drop: false }`
[INFO] [stdout] ffc902488dd8b06136fdac94e9d6dba924ca75e93a2e2d6dd3fdf5afeed9aba3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb92e09b991cbba27e77a29ac0da15085bd7e11b08a4ac1d2f34745f294961f6
[INFO] running `Command { std: "docker" "start" "-a" "eb92e09b991cbba27e77a29ac0da15085bd7e11b08a4ac1d2f34745f294961f6", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.39
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling ucd-util v0.1.1
[INFO] [stderr]    Compiling regex v0.2.10
[INFO] [stderr]    Compiling lazy_static v1.0.0
[INFO] [stderr]    Compiling utf8-ranges v1.0.0
[INFO] [stderr]    Compiling cfg-if v0.1.2
[INFO] [stderr]    Compiling quick-error v1.2.1
[INFO] [stderr]    Compiling unicode-width v0.1.4
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling termcolor v0.3.5
[INFO] [stderr]    Compiling strsim v0.7.0
[INFO] [stderr]    Compiling regex-syntax v0.6.26
[INFO] [stderr]    Compiling vec_map v0.8.0
[INFO] [stderr]    Compiling bitflags v1.0.1
[INFO] [stderr]    Compiling aho-corasick v0.6.4
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling log v0.4.1
[INFO] [stderr]    Compiling textwrap v0.9.0
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling humantime v1.1.1
[INFO] [stderr]    Compiling regex-syntax v0.5.3
[INFO] [stderr]    Compiling thread_local v0.3.5
[INFO] [stderr]    Compiling atty v0.2.8
[INFO] [stderr]    Compiling errno v0.2.3
[INFO] [stderr]    Compiling clap v2.31.1
[INFO] [stderr]    Compiling exec v0.3.1
[INFO] [stderr]    Compiling regex v1.5.6
[INFO] [stderr]    Compiling env_logger v0.5.6
[INFO] [stderr]    Compiling git-shell-enforce-directory v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/main.rs:116:30
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn is_upload_or_receive(cmd: &str) -> Option<regex::Captures> {
[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] 116 | fn is_upload_or_receive(cmd: &str) -> Option<regex::Captures<'_>> {
[INFO] [stdout]     |                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.11s
[INFO] running `Command { std: "docker" "inspect" "eb92e09b991cbba27e77a29ac0da15085bd7e11b08a4ac1d2f34745f294961f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb92e09b991cbba27e77a29ac0da15085bd7e11b08a4ac1d2f34745f294961f6", kill_on_drop: false }`
[INFO] [stdout] eb92e09b991cbba27e77a29ac0da15085bd7e11b08a4ac1d2f34745f294961f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4de03fa0a7015615f35d10fb393689eda1e1363c8d91c26e788949273a2790e3
[INFO] running `Command { std: "docker" "start" "-a" "4de03fa0a7015615f35d10fb393689eda1e1363c8d91c26e788949273a2790e3", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling git-shell-enforce-directory v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/main.rs:116:30
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn is_upload_or_receive(cmd: &str) -> Option<regex::Captures> {
[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] 116 | fn is_upload_or_receive(cmd: &str) -> Option<regex::Captures<'_>> {
[INFO] [stdout]     |                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s
[INFO] running `Command { std: "docker" "inspect" "4de03fa0a7015615f35d10fb393689eda1e1363c8d91c26e788949273a2790e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4de03fa0a7015615f35d10fb393689eda1e1363c8d91c26e788949273a2790e3", kill_on_drop: false }`
[INFO] [stdout] 4de03fa0a7015615f35d10fb393689eda1e1363c8d91c26e788949273a2790e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] edc2f59474c12cc5c7da8891538a4333e74271a29493c6e52940495afaa4a721
[INFO] running `Command { std: "docker" "start" "-a" "edc2f59474c12cc5c7da8891538a4333e74271a29493c6e52940495afaa4a721", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/main.rs:116:30
[INFO] [stderr]     |
[INFO] [stderr] 116 | fn is_upload_or_receive(cmd: &str) -> Option<regex::Captures> {
[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] 116 | fn is_upload_or_receive(cmd: &str) -> Option<regex::Captures<'_>> {
[INFO] [stderr]     |                                                             ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `git-shell-enforce-directory` (bin "git-shell-enforce-directory" test) generated 1 warning (run `cargo fix --bin "git-shell-enforce-directory" -p git-shell-enforce-directory --tests` 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/git_shell_enforce_directory-166fe6d1b5259096)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test correct_command_works ... ok
[INFO] [stdout] test newline_command_fails ... ok
[INFO] [stdout] test malicious_command_fails ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "edc2f59474c12cc5c7da8891538a4333e74271a29493c6e52940495afaa4a721", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "edc2f59474c12cc5c7da8891538a4333e74271a29493c6e52940495afaa4a721", kill_on_drop: false }`
[INFO] [stdout] edc2f59474c12cc5c7da8891538a4333e74271a29493c6e52940495afaa4a721
