[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbarnes%2Fdotfile-manager" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dsbarnes/dotfile-manager on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-10/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shellexpand v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8b42de68ca68f91341e34e0a88ec1ece5a982d099ee9b968b8f50e77cefeb39 [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" "e8b42de68ca68f91341e34e0a88ec1ece5a982d099ee9b968b8f50e77cefeb39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8b42de68ca68f91341e34e0a88ec1ece5a982d099ee9b968b8f50e77cefeb39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8b42de68ca68f91341e34e0a88ec1ece5a982d099ee9b968b8f50e77cefeb39", kill_on_drop: false }` [INFO] [stdout] e8b42de68ca68f91341e34e0a88ec1ece5a982d099ee9b968b8f50e77cefeb39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ae25e0e4d911aaa1ffbdaad1d3779e50b1b40580f2fefce4d7d22fd97db5322 [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" "4ae25e0e4d911aaa1ffbdaad1d3779e50b1b40580f2fefce4d7d22fd97db5322", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking shellexpand v2.0.0 [INFO] [stderr] Checking url v2.1.1 [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: 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: 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: 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: 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: unused `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 `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 `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 `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.41s [INFO] running `Command { std: "docker" "inspect" "4ae25e0e4d911aaa1ffbdaad1d3779e50b1b40580f2fefce4d7d22fd97db5322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ae25e0e4d911aaa1ffbdaad1d3779e50b1b40580f2fefce4d7d22fd97db5322", kill_on_drop: false }` [INFO] [stdout] 4ae25e0e4d911aaa1ffbdaad1d3779e50b1b40580f2fefce4d7d22fd97db5322