[INFO] cloning repository https://github.com/dsbarnes/dotfile-manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dsbarnes/dotfile-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbarnes%2Fdotfile-manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbarnes%2Fdotfile-manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2481bb82dd7b4adb8dab813fdfef7bec1b44ed1a [INFO] checking dsbarnes/dotfile-manager against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbarnes%2Fdotfile-manager" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dsbarnes/dotfile-manager on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dsbarnes/dotfile-manager [INFO] finished tweaking git repo https://github.com/dsbarnes/dotfile-manager [INFO] tweaked toml for git repo https://github.com/dsbarnes/dotfile-manager written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/dsbarnes/dotfile-manager already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 535c396aae14b19efb33b771e9d639c4f2dea75f4c8f6f2c7e7db16df81200c0 [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" "535c396aae14b19efb33b771e9d639c4f2dea75f4c8f6f2c7e7db16df81200c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "535c396aae14b19efb33b771e9d639c4f2dea75f4c8f6f2c7e7db16df81200c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "535c396aae14b19efb33b771e9d639c4f2dea75f4c8f6f2c7e7db16df81200c0", kill_on_drop: false }` [INFO] [stdout] 535c396aae14b19efb33b771e9d639c4f2dea75f4c8f6f2c7e7db16df81200c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3f05f2cfedf4cc49fa005ddc08e02aa811e5f589dec872df3ee8087c55d461c [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" "d3f05f2cfedf4cc49fa005ddc08e02aa811e5f589dec872df3ee8087c55d461c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking shellexpand v2.0.0 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.1.1 [INFO] [stderr] Compiling libssh2-sys v0.2.19 [INFO] [stderr] Compiling libgit2-sys v0.12.12+1.0.1 [INFO] [stderr] Checking git2 v0.13.10 [INFO] [stderr] Checking dotfile-manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/file_actions.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_last_commit`, `git_commit`, `git_push` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | git_open, find_last_commit, git_add, git_commit, git_push}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/file_actions.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_last_commit`, `git_commit`, `git_push` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | git_open, find_last_commit, git_add, git_commit, git_push}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oid` is assigned to, but never used [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut oid; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_oid` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `oid` is never read [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | oid = git_add(&repo, &path).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oid` is assigned to, but never used [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut oid; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_oid` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `oid` is never read [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | oid = git_add(&repo, &path).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_last_commit` [INFO] [stdout] --> src/git_actions.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn find_last_commit(repo: &Repository) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_branch` [INFO] [stdout] --> src/git_actions.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn create_branch<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `git_commit` [INFO] [stdout] --> src/git_actions.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn git_commit(repo: &Repository, oid: Oid, message: &str){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `git_push` [INFO] [stdout] --> src/git_actions.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn git_push(repo: &Repository, url: &str, branch_name: &str [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_last_commit` [INFO] [stdout] --> src/git_actions.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn find_last_commit(repo: &Repository) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_branch` [INFO] [stdout] --> src/git_actions.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn create_branch<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `git_commit` [INFO] [stdout] --> src/git_actions.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn git_commit(repo: &Repository, oid: Oid, message: &str){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `git_push` [INFO] [stdout] --> src/git_actions.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn git_push(repo: &Repository, url: &str, branch_name: &str [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/git_actions.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | index.add_path(path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/git_actions.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | / repo.commit( [INFO] [stdout] 56 | | Some("HEAD"), [INFO] [stdout] 57 | | &signature, [INFO] [stdout] 58 | | &signature, [INFO] [stdout] ... | [INFO] [stdout] 61 | | &[&parent_commit] [INFO] [stdout] 62 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/git_actions.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | index.add_path(path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/git_actions.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | / repo.commit( [INFO] [stdout] 56 | | Some("HEAD"), [INFO] [stdout] 57 | | &signature, [INFO] [stdout] 58 | | &signature, [INFO] [stdout] ... | [INFO] [stdout] 61 | | &[&parent_commit] [INFO] [stdout] 62 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.71s [INFO] running `Command { std: "docker" "inspect" "d3f05f2cfedf4cc49fa005ddc08e02aa811e5f589dec872df3ee8087c55d461c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3f05f2cfedf4cc49fa005ddc08e02aa811e5f589dec872df3ee8087c55d461c", kill_on_drop: false }` [INFO] [stdout] d3f05f2cfedf4cc49fa005ddc08e02aa811e5f589dec872df3ee8087c55d461c