[INFO] cloning repository https://github.com/eoinkelly/rgit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eoinkelly/rgit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feoinkelly%2Frgit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feoinkelly%2Frgit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d5c4aace5309d6e23e39be94f42a8e94cfb92e6 [INFO] testing eoinkelly/rgit against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feoinkelly%2Frgit" "/workspace/builds/worker-46/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-46/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eoinkelly/rgit on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eoinkelly/rgit [INFO] finished tweaking git repo https://github.com/eoinkelly/rgit [INFO] tweaked toml for git repo https://github.com/eoinkelly/rgit written to /workspace/builds/worker-46/source/Cargo.toml [INFO] crate git repo https://github.com/eoinkelly/rgit already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1063a15596ca6adc7c89d1709a91c763fd81d94819bf78c8fc750818f53cdc8 [INFO] running `Command { std: "docker" "start" "-a" "a1063a15596ca6adc7c89d1709a91c763fd81d94819bf78c8fc750818f53cdc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1063a15596ca6adc7c89d1709a91c763fd81d94819bf78c8fc750818f53cdc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1063a15596ca6adc7c89d1709a91c763fd81d94819bf78c8fc750818f53cdc8", kill_on_drop: false }` [INFO] [stdout] a1063a15596ca6adc7c89d1709a91c763fd81d94819bf78c8fc750818f53cdc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc21b9718ae575652b14582208b47b4a8afc356cf586f780e5a44b9c72f990e2 [INFO] running `Command { std: "docker" "start" "-a" "fc21b9718ae575652b14582208b47b4a8afc356cf586f780e5a44b9c72f990e2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling byteorder v0.4.2 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling lazy_static v0.2.2 [INFO] [stderr] Compiling num-complex v0.1.35 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling aho-corasick v0.6.2 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling num-bigint v0.1.35 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling num-rational v0.1.35 [INFO] [stderr] Compiling num v0.1.36 [INFO] [stderr] Compiling compress v0.1.2 [INFO] [stderr] Compiling rgit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/git_sha.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref SHA_REGEX: regex::Regex = regex::Regex::new(r"\A[a-fA-F0-9]{40,40}\z").unwrap(); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/git_sha.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref SHA_REGEX: regex::Regex = regex::Regex::new(r"\A[a-fA-F0-9]{40,40}\z").unwrap(); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.08s [INFO] running `Command { std: "docker" "inspect" "fc21b9718ae575652b14582208b47b4a8afc356cf586f780e5a44b9c72f990e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc21b9718ae575652b14582208b47b4a8afc356cf586f780e5a44b9c72f990e2", kill_on_drop: false }` [INFO] [stdout] fc21b9718ae575652b14582208b47b4a8afc356cf586f780e5a44b9c72f990e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d300f2753b49aa783a0335d41e344966d57ad153e32e5557410b763fd4d7b22 [INFO] running `Command { std: "docker" "start" "-a" "6d300f2753b49aa783a0335d41e344966d57ad153e32e5557410b763fd4d7b22", kill_on_drop: false }` [INFO] [stderr] Compiling rgit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/git_sha.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref SHA_REGEX: regex::Regex = regex::Regex::new(r"\A[a-fA-F0-9]{40,40}\z").unwrap(); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/git_sha.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref SHA_REGEX: regex::Regex = regex::Regex::new(r"\A[a-fA-F0-9]{40,40}\z").unwrap(); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.67s [INFO] running `Command { std: "docker" "inspect" "6d300f2753b49aa783a0335d41e344966d57ad153e32e5557410b763fd4d7b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d300f2753b49aa783a0335d41e344966d57ad153e32e5557410b763fd4d7b22", kill_on_drop: false }` [INFO] [stdout] 6d300f2753b49aa783a0335d41e344966d57ad153e32e5557410b763fd4d7b22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] edf6e37b3fe1fb27e1f8cb10216fc2b4f42d93a624b074f6bbc2c684f4959f68 [INFO] running `Command { std: "docker" "start" "-a" "edf6e37b3fe1fb27e1f8cb10216fc2b4f42d93a624b074f6bbc2c684f4959f68", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/git_sha.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref SHA_REGEX: regex::Regex = regex::Regex::new(r"\A[a-fA-F0-9]{40,40}\z").unwrap(); [INFO] [stderr] 5 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/git_sha.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref SHA_REGEX: regex::Regex = regex::Regex::new(r"\A[a-fA-F0-9]{40,40}\z").unwrap(); [INFO] [stderr] 5 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rgit` (bin "rgit" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rgit-c43b4d227983f6ef) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test git_object_finder::tests::test_split_vec_on_byte_works_with_multiple_matching_bytes ... ok [INFO] [stdout] test git_object_finder::tests::test_split_vec_on_byte_works_with_one_matching_byte ... ok [INFO] [stdout] test git_sha::tests::test_from_creates_gitsha_given_valid_arg ... ok [INFO] [stdout] test git_object_finder::tests::test_find_finds_object_which_exists ... ok [INFO] [stdout] test git_sha::tests::test_from_panics_if_sha_contains_unexpected_chars - should panic ... ok [INFO] [stdout] test git_sha::tests::test_from_panics_if_sha_is_too_short - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "edf6e37b3fe1fb27e1f8cb10216fc2b4f42d93a624b074f6bbc2c684f4959f68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edf6e37b3fe1fb27e1f8cb10216fc2b4f42d93a624b074f6bbc2c684f4959f68", kill_on_drop: false }` [INFO] [stdout] edf6e37b3fe1fb27e1f8cb10216fc2b4f42d93a624b074f6bbc2c684f4959f68