[INFO] updating cached repository https://github.com/7db9a/repoint [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d99d66dd674f59e927a9c495335879d91c5add88 [INFO] testing 7db9a/repoint against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F7db9a%2Frepoint" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/7db9a/repoint on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/7db9a/repoint [INFO] removed path dependency fixture from git repo https://github.com/7db9a/repoint [INFO] finished tweaking git repo https://github.com/7db9a/repoint [INFO] tweaked toml for git repo https://github.com/7db9a/repoint written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/7db9a/repoint already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (fixture) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (fixture) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1c6dcfe0100f487d8b19add6fe23513346105fcdddfd92ea58e32b8760a0840 [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" "d1c6dcfe0100f487d8b19add6fe23513346105fcdddfd92ea58e32b8760a0840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1c6dcfe0100f487d8b19add6fe23513346105fcdddfd92ea58e32b8760a0840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1c6dcfe0100f487d8b19add6fe23513346105fcdddfd92ea58e32b8760a0840", kill_on_drop: false }` [INFO] [stdout] d1c6dcfe0100f487d8b19add6fe23513346105fcdddfd92ea58e32b8760a0840 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8ff5fa9c70c3782f40c254357efdee9994db357e292d62a74addce49db6e249 [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" "b8ff5fa9c70c3782f40c254357efdee9994db357e292d62a74addce49db6e249", kill_on_drop: false }` [INFO] [stderr] warning: dependency (fixture) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling crc8 v0.1.1 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling seahorse v0.7.1 [INFO] [stderr] Compiling fixture v0.3.1 [INFO] [stderr] Compiling cmd_lib v0.7.8 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling dirs v3.0.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling md2 v0.8.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling md4 v0.8.0 [INFO] [stderr] Compiling easy-hasher v2.2.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling toml_edit v0.1.5 [INFO] [stderr] Compiling repoint v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fixture` [INFO] [stdout] --> src/repoint_file.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use fixture; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmd_lib::run_fun` [INFO] [stdout] --> src/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cmd_lib::run_fun; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/repoint_file.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn init>(path: T, version: T) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/repoint_file.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn init_account>(path: T, name: T, pubaddr: T, xpriv: T) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/repoint_file.rs:387:24 [INFO] [stdout] | [INFO] [stdout] 387 | Ok(m) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repoint_file.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let mut valid: RepointFileState; [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/repoint_file.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let mut toml_add: String; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/bin/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `metadata` [INFO] [stdout] --> src/bin/main.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::{File, metadata}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/main.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | let test: bool = (test == "test"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `account_tx_already_exists` is assigned to, but never used [INFO] [stdout] --> src/bin/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let account_tx_already_exists: bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_account_tx_already_exists` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `repo_tx_already_exists` is assigned to, but never used [INFO] [stdout] --> src/bin/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let repo_tx_already_exists: bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_repo_tx_already_exists` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `account_tx_already_exists` is never read [INFO] [stdout] --> src/bin/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | account_tx_already_exists = repoint_file::hash_file(repoint_file::FileType::Account).expect("fail to write hash for account file"); [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: value assigned to `repo_tx_already_exists` is never read [INFO] [stdout] --> src/bin/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | repo_tx_already_exists = repoint_file::hash_file(repoint_file::FileType::Repo).expect("fail to write hash for repository file"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `account_tx_already_exists` is never read [INFO] [stdout] --> src/bin/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | account_tx_already_exists = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `repo_tx_already_exists` is never read [INFO] [stdout] --> src/bin/main.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | repo_tx_already_exists = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `path` is assigned to, but never used [INFO] [stdout] --> src/bin/main.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let mut path = ""; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_path` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pathbuf` [INFO] [stdout] --> src/bin/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let mut pathbuf: PathBuf; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pathbuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/bin/main.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | path = args.next().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/main.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut pathbuf: PathBuf; [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: function is never used: `add_repo_action` [INFO] [stdout] --> src/bin/main.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn add_repo_action(c: &Context) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "b8ff5fa9c70c3782f40c254357efdee9994db357e292d62a74addce49db6e249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8ff5fa9c70c3782f40c254357efdee9994db357e292d62a74addce49db6e249", kill_on_drop: false }` [INFO] [stdout] b8ff5fa9c70c3782f40c254357efdee9994db357e292d62a74addce49db6e249 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f105abb7498fccfd0f67f8f033410488862c8f2cac3705786b36b1f51822e1c [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" "8f105abb7498fccfd0f67f8f033410488862c8f2cac3705786b36b1f51822e1c", kill_on_drop: false }` [INFO] [stderr] warning: dependency (fixture) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling repoint v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fixture` [INFO] [stdout] --> src/repoint_file.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use fixture; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmd_lib::run_fun` [INFO] [stdout] --> src/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cmd_lib::run_fun; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/repoint_file.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn init>(path: T, version: T) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/repoint_file.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn init_account>(path: T, name: T, pubaddr: T, xpriv: T) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/repoint_file.rs:387:24 [INFO] [stdout] | [INFO] [stdout] 387 | Ok(m) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repoint_file.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let mut valid: RepointFileState; [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/repoint_file.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let mut toml_add: String; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fixture::Fixture` [INFO] [stdout] --> src/repoint_file.rs:622:9 [INFO] [stdout] | [INFO] [stdout] 622 | use fixture::Fixture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Fixture` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/bin/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `metadata` [INFO] [stdout] --> src/bin/main.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::{File, metadata}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmd_lib::run_fun` [INFO] [stdout] --> src/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cmd_lib::run_fun; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/mod.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/main.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | let test: bool = (test == "test"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `account_tx_already_exists` is assigned to, but never used [INFO] [stdout] --> src/bin/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let account_tx_already_exists: bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_account_tx_already_exists` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `repo_tx_already_exists` is assigned to, but never used [INFO] [stdout] --> src/bin/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let repo_tx_already_exists: bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_repo_tx_already_exists` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `account_tx_already_exists` is never read [INFO] [stdout] --> src/bin/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | account_tx_already_exists = repoint_file::hash_file(repoint_file::FileType::Account).expect("fail to write hash for account file"); [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: value assigned to `repo_tx_already_exists` is never read [INFO] [stdout] --> src/bin/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | repo_tx_already_exists = repoint_file::hash_file(repoint_file::FileType::Repo).expect("fail to write hash for repository file"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `account_tx_already_exists` is never read [INFO] [stdout] --> src/bin/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | account_tx_already_exists = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `repo_tx_already_exists` is never read [INFO] [stdout] --> src/bin/main.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | repo_tx_already_exists = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `path` is assigned to, but never used [INFO] [stdout] --> src/bin/main.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let mut path = ""; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_path` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pathbuf` [INFO] [stdout] --> src/bin/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let mut pathbuf: PathBuf; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pathbuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/bin/main.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | path = args.next().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/main.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut pathbuf: PathBuf; [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: function is never used: `add_repo_action` [INFO] [stdout] --> src/bin/main.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn add_repo_action(c: &Context) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `repoint`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8f105abb7498fccfd0f67f8f033410488862c8f2cac3705786b36b1f51822e1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f105abb7498fccfd0f67f8f033410488862c8f2cac3705786b36b1f51822e1c", kill_on_drop: false }` [INFO] [stdout] 8f105abb7498fccfd0f67f8f033410488862c8f2cac3705786b36b1f51822e1c