[INFO] cloning repository https://github.com/jkipper/rust-git-clone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jkipper/rust-git-clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkipper%2Frust-git-clone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkipper%2Frust-git-clone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea0765b23c0ca95e022f1255421a9ba7960e05d5 [INFO] checking jkipper/rust-git-clone against master#c724b67e1b474262917a5154d74e7072267593fe for pr-74315 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkipper%2Frust-git-clone" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jkipper/rust-git-clone on toolchain c724b67e1b474262917a5154d74e7072267593fe [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jkipper/rust-git-clone [INFO] finished tweaking git repo https://github.com/jkipper/rust-git-clone [INFO] tweaked toml for git repo https://github.com/jkipper/rust-git-clone written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/jkipper/rust-git-clone already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a0a7fab6a03b3e7e2ae1fe728627f794fbdad3ed287bc11990783efee632925 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6a0a7fab6a03b3e7e2ae1fe728627f794fbdad3ed287bc11990783efee632925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a0a7fab6a03b3e7e2ae1fe728627f794fbdad3ed287bc11990783efee632925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a0a7fab6a03b3e7e2ae1fe728627f794fbdad3ed287bc11990783efee632925", kill_on_drop: false }` [INFO] [stdout] 6a0a7fab6a03b3e7e2ae1fe728627f794fbdad3ed287bc11990783efee632925 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c1d9f837a8880292ba3f3c9334041cc0fb59b140d9e79b0dad0ac772c587206a [INFO] running `Command { std: "docker" "start" "-a" "c1d9f837a8880292ba3f3c9334041cc0fb59b140d9e79b0dad0ac772c587206a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking flate2 v1.0.9 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rust-git v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/objects.rs:69:55 [INFO] [stdout] | [INFO] [stdout] 69 | fn write_encoded(&self, w: W) -> Result<(()), Box> { [INFO] [stdout] | ^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/objects.rs:69:55 [INFO] [stdout] | [INFO] [stdout] 69 | fn write_encoded(&self, w: W) -> Result<(()), Box> { [INFO] [stdout] | ^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Type` [INFO] [stdout] --> src/catfile.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Size` [INFO] [stdout] --> src/catfile.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Size, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash_file` [INFO] [stdout] --> src/hashfile.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn hash_file(stdin: bool, file_path: Option<&Path>, create_object: bool) -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `blob_from_stdin` [INFO] [stdout] --> src/hashfile.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn blob_from_stdin() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `blob_from_file` [INFO] [stdout] --> src/hashfile.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn blob_from_file(file_path: &Path) -> Result>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Blob` [INFO] [stdout] --> src/objects.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Blob { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/objects.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(file_content: &String) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/objects.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn create(&self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_encoded` [INFO] [stdout] --> src/objects.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn write_encoded(&self, w: W) -> Result<(()), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Type` [INFO] [stdout] --> src/catfile.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Size` [INFO] [stdout] --> src/catfile.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Size, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash_file` [INFO] [stdout] --> src/hashfile.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn hash_file(stdin: bool, file_path: Option<&Path>, create_object: bool) -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `blob_from_stdin` [INFO] [stdout] --> src/hashfile.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn blob_from_stdin() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `blob_from_file` [INFO] [stdout] --> src/hashfile.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn blob_from_file(file_path: &Path) -> Result>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Blob` [INFO] [stdout] --> src/objects.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Blob { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/objects.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(file_content: &String) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/objects.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn create(&self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_encoded` [INFO] [stdout] --> src/objects.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn write_encoded(&self, w: W) -> Result<(()), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.02s [INFO] running `Command { std: "docker" "inspect" "c1d9f837a8880292ba3f3c9334041cc0fb59b140d9e79b0dad0ac772c587206a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1d9f837a8880292ba3f3c9334041cc0fb59b140d9e79b0dad0ac772c587206a", kill_on_drop: false }` [INFO] [stdout] c1d9f837a8880292ba3f3c9334041cc0fb59b140d9e79b0dad0ac772c587206a