[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 beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimmel%2Fgit-shell-enforce-directory" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/simmel/git-shell-enforce-directory on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-0/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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "+beta-2020-06-03" "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] e1fe1ab8fa4eb18468825e88ba628eb82816423f56aa411a03b2eb5d830835ed [INFO] running `"docker" "start" "-a" "e1fe1ab8fa4eb18468825e88ba628eb82816423f56aa411a03b2eb5d830835ed"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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 lazy_static v1.0.0 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling termcolor v0.3.5 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling regex-syntax v0.5.3 [INFO] [stderr] Compiling memchr v2.0.1 [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 aho-corasick v0.6.4 [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 28.41s [INFO] running `"docker" "inspect" "e1fe1ab8fa4eb18468825e88ba628eb82816423f56aa411a03b2eb5d830835ed"` [INFO] running `"docker" "rm" "-f" "e1fe1ab8fa4eb18468825e88ba628eb82816423f56aa411a03b2eb5d830835ed"` [INFO] [stdout] e1fe1ab8fa4eb18468825e88ba628eb82816423f56aa411a03b2eb5d830835ed [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "+beta-2020-06-03" "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] bb7997f839345fd8d7f9c30164775cfd424da5564633b0a3713e355757e46fbe [INFO] running `"docker" "start" "-a" "bb7997f839345fd8d7f9c30164775cfd424da5564633b0a3713e355757e46fbe"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling git-shell-enforce-directory v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `"docker" "inspect" "bb7997f839345fd8d7f9c30164775cfd424da5564633b0a3713e355757e46fbe"` [INFO] running `"docker" "rm" "-f" "bb7997f839345fd8d7f9c30164775cfd424da5564633b0a3713e355757e46fbe"` [INFO] [stdout] bb7997f839345fd8d7f9c30164775cfd424da5564633b0a3713e355757e46fbe [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "+beta-2020-06-03" "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] 2dd767ac1e7710496435824375e788463560bf534d32fbedc31354fdc8a2c941 [INFO] running `"docker" "start" "-a" "2dd767ac1e7710496435824375e788463560bf534d32fbedc31354fdc8a2c941"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/git_shell_enforce_directory-c5c0404268680ec1 [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test newline_command_fails ... ok [INFO] [stdout] test correct_command_works ... 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 [INFO] [stdout] [INFO] running `"docker" "inspect" "2dd767ac1e7710496435824375e788463560bf534d32fbedc31354fdc8a2c941"` [INFO] running `"docker" "rm" "-f" "2dd767ac1e7710496435824375e788463560bf534d32fbedc31354fdc8a2c941"` [INFO] [stdout] 2dd767ac1e7710496435824375e788463560bf534d32fbedc31354fdc8a2c941