[INFO] updating cached repository https://github.com/simmel/git-shell-enforce-directory [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8bfdde94c94d2dd5d1944c8f7056308449813606 [INFO] testing simmel/git-shell-enforce-directory against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimmel%2Fgit-shell-enforce-directory" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/simmel/git-shell-enforce-directory on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/simmel/git-shell-enforce-directory [INFO] finished tweaking git repo https://github.com/simmel/git-shell-enforce-directory [INFO] tweaked toml for git repo https://github.com/simmel/git-shell-enforce-directory written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/simmel/git-shell-enforce-directory already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f1f95ce1b4737e302176a966abe6a142b23bf48ea21dc8f0b30f51e291930be3 [INFO] running `"docker" "start" "-a" "f1f95ce1b4737e302176a966abe6a142b23bf48ea21dc8f0b30f51e291930be3"` [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling termcolor v0.3.5 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.5.3 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling errno v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling clap v2.31.1 [INFO] [stderr] Compiling exec v0.3.1 [INFO] [stderr] Compiling env_logger v0.5.6 [INFO] [stderr] Compiling git-shell-enforce-directory v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.27s [INFO] running `"docker" "inspect" "f1f95ce1b4737e302176a966abe6a142b23bf48ea21dc8f0b30f51e291930be3"` [INFO] running `"docker" "rm" "-f" "f1f95ce1b4737e302176a966abe6a142b23bf48ea21dc8f0b30f51e291930be3"` [INFO] [stdout] f1f95ce1b4737e302176a966abe6a142b23bf48ea21dc8f0b30f51e291930be3 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 072061cb6f297e172ae4437866863e2ae32a1e65c125071993d44fa3fafa0080 [INFO] running `"docker" "start" "-a" "072061cb6f297e172ae4437866863e2ae32a1e65c125071993d44fa3fafa0080"` [INFO] [stderr] Compiling git-shell-enforce-directory v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.46s [INFO] running `"docker" "inspect" "072061cb6f297e172ae4437866863e2ae32a1e65c125071993d44fa3fafa0080"` [INFO] running `"docker" "rm" "-f" "072061cb6f297e172ae4437866863e2ae32a1e65c125071993d44fa3fafa0080"` [INFO] [stdout] 072061cb6f297e172ae4437866863e2ae32a1e65c125071993d44fa3fafa0080 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8e1a945409023e1d92008dccc71960e64b5fe1b848bd7acf9e4e7ba5f1b52346 [INFO] running `"docker" "start" "-a" "8e1a945409023e1d92008dccc71960e64b5fe1b848bd7acf9e4e7ba5f1b52346"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/git_shell_enforce_directory-a3a4f351e0655912 [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test malicious_command_fails ... ok [INFO] [stdout] test correct_command_works ... ok [INFO] [stdout] test newline_command_fails ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "8e1a945409023e1d92008dccc71960e64b5fe1b848bd7acf9e4e7ba5f1b52346"` [INFO] running `"docker" "rm" "-f" "8e1a945409023e1d92008dccc71960e64b5fe1b848bd7acf9e4e7ba5f1b52346"` [INFO] [stdout] 8e1a945409023e1d92008dccc71960e64b5fe1b848bd7acf9e4e7ba5f1b52346