[INFO] cloning repository https://github.com/guskovd/hab-shell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guskovd/hab-shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguskovd%2Fhab-shell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguskovd%2Fhab-shell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76f8e9902e86ad68eb6ab4036a63b9aab17139b2 [INFO] testing guskovd/hab-shell against master#0d13f6afeba4935499abe0c9a07426c94492c94e for pr-96025 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguskovd%2Fhab-shell" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guskovd/hab-shell on toolchain 0d13f6afeba4935499abe0c9a07426c94492c94e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-22/source/.cargo/config [INFO] removed /workspace/builds/worker-22/source/rust-toolchain [INFO] started tweaking git repo https://github.com/guskovd/hab-shell [INFO] finished tweaking git repo https://github.com/guskovd/hab-shell [INFO] tweaked toml for git repo https://github.com/guskovd/hab-shell written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/guskovd/hab-shell already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/habitat-sh/core.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.1.41 [INFO] [stderr] Downloaded redox_users v0.2.0 [INFO] [stderr] Downloaded failure_derive v0.1.3 [INFO] [stderr] Downloaded dirs v1.0.4 [INFO] [stderr] Downloaded failure v0.1.3 [INFO] [stderr] Downloaded serde_derive v1.0.82 [INFO] [stderr] Downloaded users v0.8.1 [INFO] [stderr] Downloaded backtrace-sys v0.1.24 [INFO] [stderr] Downloaded redox_syscall v0.1.44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fe291c1c326dea032cb21903cdaef827a93e17469b05b6236dcf5b55cd9f599 [INFO] running `Command { std: "docker" "start" "-a" "5fe291c1c326dea032cb21903cdaef827a93e17469b05b6236dcf5b55cd9f599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fe291c1c326dea032cb21903cdaef827a93e17469b05b6236dcf5b55cd9f599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fe291c1c326dea032cb21903cdaef827a93e17469b05b6236dcf5b55cd9f599", kill_on_drop: false }` [INFO] [stdout] 5fe291c1c326dea032cb21903cdaef827a93e17469b05b6236dcf5b55cd9f599 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 297074b90992ca9199b184b5fae7668a97a5d56849e88e61e891dc2555b87de6 [INFO] running `Command { std: "docker" "start" "-a" "297074b90992ca9199b184b5fae7668a97a5d56849e88e61e891dc2555b87de6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling cc v1.0.26 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling base64 v0.10.0 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling libsodium-sys v0.0.16 [INFO] [stderr] Compiling libarchive3-sys v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling dirs v1.0.4 [INFO] [stderr] Compiling errno v0.2.4 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling users v0.8.1 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling habitat_core v0.0.0 (https://github.com/habitat-sh/core.git#1b9825c2) [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling libarchive v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling sodiumoxide v0.0.16 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling tempfile v3.0.5 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling dotenv v0.13.0 [INFO] [stderr] Compiling hab-shell v0.1.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut command = matches.values_of("command").unwrap_or_default().collect::>().join(" "); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut script = String::from(matches.value_of("script").unwrap_or_default()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "297074b90992ca9199b184b5fae7668a97a5d56849e88e61e891dc2555b87de6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "297074b90992ca9199b184b5fae7668a97a5d56849e88e61e891dc2555b87de6", kill_on_drop: false }` [INFO] [stdout] 297074b90992ca9199b184b5fae7668a97a5d56849e88e61e891dc2555b87de6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 446b37e3ec0898df642ce77350cca6c0ad1aade7c51b5838beace28f5b99ac89 [INFO] running `Command { std: "docker" "start" "-a" "446b37e3ec0898df642ce77350cca6c0ad1aade7c51b5838beace28f5b99ac89", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling hab-shell v0.1.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut command = matches.values_of("command").unwrap_or_default().collect::>().join(" "); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut script = String::from(matches.value_of("script").unwrap_or_default()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.25s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/hab_shell-ad13610d149b8b33) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/hab_shell-dd1b339d9a5d845a) [INFO] running `Command { std: "docker" "inspect" "446b37e3ec0898df642ce77350cca6c0ad1aade7c51b5838beace28f5b99ac89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "446b37e3ec0898df642ce77350cca6c0ad1aade7c51b5838beace28f5b99ac89", kill_on_drop: false }` [INFO] [stdout] 446b37e3ec0898df642ce77350cca6c0ad1aade7c51b5838beace28f5b99ac89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f684f8a86f8f035574b3b1f18e9fccc7f6c8f22bb0b21add8592f7ed4f2c1202 [INFO] running `Command { std: "docker" "start" "-a" "f684f8a86f8f035574b3b1f18e9fccc7f6c8f22bb0b21add8592f7ed4f2c1202", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | let mut command = matches.values_of("command").unwrap_or_default().collect::>().join(" "); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:88:13 [INFO] [stderr] | [INFO] [stderr] 88 | let mut script = String::from(matches.value_of("script").unwrap_or_default()); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `hab-shell` (bin "hab-shell" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 57s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hab_shell-ad13610d149b8b33) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hab_shell-dd1b339d9a5d845a) [INFO] [stdout] [INFO] [stderr] Doc-tests hab-shell [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] [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] [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] running `Command { std: "docker" "inspect" "f684f8a86f8f035574b3b1f18e9fccc7f6c8f22bb0b21add8592f7ed4f2c1202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f684f8a86f8f035574b3b1f18e9fccc7f6c8f22bb0b21add8592f7ed4f2c1202", kill_on_drop: false }` [INFO] [stdout] f684f8a86f8f035574b3b1f18e9fccc7f6c8f22bb0b21add8592f7ed4f2c1202