[INFO] cloning repository https://github.com/dfgit-tool/dfgit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dfgit-tool/dfgit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdfgit-tool%2Fdfgit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdfgit-tool%2Fdfgit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d6caae7edfdf1c25c2fcf0d9bf636314cb37385 [INFO] testing dfgit-tool/dfgit against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdfgit-tool%2Fdfgit" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dfgit-tool/dfgit on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dfgit-tool/dfgit [INFO] finished tweaking git repo https://github.com/dfgit-tool/dfgit [INFO] tweaked toml for git repo https://github.com/dfgit-tool/dfgit written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dfgit-tool/dfgit already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jsonformat v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6e9e055a2d13933cf0b21dfc09cf3b8b58d60b0a4e48600074993a4c8857106 [INFO] running `Command { std: "docker" "start" "-a" "d6e9e055a2d13933cf0b21dfc09cf3b8b58d60b0a4e48600074993a4c8857106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6e9e055a2d13933cf0b21dfc09cf3b8b58d60b0a4e48600074993a4c8857106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6e9e055a2d13933cf0b21dfc09cf3b8b58d60b0a4e48600074993a4c8857106", kill_on_drop: false }` [INFO] [stdout] d6e9e055a2d13933cf0b21dfc09cf3b8b58d60b0a4e48600074993a4c8857106 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fda5e9a554a56692a21650962db568f27b7377cdb752105690c3f0bd2d775f7 [INFO] running `Command { std: "docker" "start" "-a" "0fda5e9a554a56692a21650962db568f27b7377cdb752105690c3f0bd2d775f7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling jsonformat v2.0.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling websocket-base v0.26.5 [INFO] [stderr] Compiling websocket v0.27.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling dfgit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/ccapi.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::template::{self, Template}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `fmt::format` [INFO] [stdout] --> src/template.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fmt::format, io::{BufReader, Read, Write}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ffi::OsStr` and `self` [INFO] [stdout] --> src/repo.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::OsStr, fs::{self, remove_dir_all, File}, io::{self, Write}, path::Path, process::Command}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::Str` [INFO] [stdout] --> src/repo.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::builder::Str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/repo.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::template::{self, Template}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/repo.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | if (ppath.file_name().unwrap() == ".git") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - if (ppath.file_name().unwrap() == ".git") { [INFO] [stdout] 69 + if ppath.file_name().unwrap() == ".git" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/repo.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | if (ppath.file_name().unwrap() == ".git") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - if (ppath.file_name().unwrap() == ".git") { [INFO] [stdout] 89 + if ppath.file_name().unwrap() == ".git" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/ccapi.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CCAPI { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ccapi.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | self.client.send_message(&Message::text("scopes read_plot write_code")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = self.client.send_message(&Message::text("scopes read_plot write_code")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/template.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | encoder.write_all(data.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = encoder.write_all(data.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0fda5e9a554a56692a21650962db568f27b7377cdb752105690c3f0bd2d775f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fda5e9a554a56692a21650962db568f27b7377cdb752105690c3f0bd2d775f7", kill_on_drop: false }` [INFO] [stdout] 0fda5e9a554a56692a21650962db568f27b7377cdb752105690c3f0bd2d775f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f45bd28890238f5550564b10246112b3ab351cd7ee3d8f8caa880226015a27d7 [INFO] running `Command { std: "docker" "start" "-a" "f45bd28890238f5550564b10246112b3ab351cd7ee3d8f8caa880226015a27d7", kill_on_drop: false }` [INFO] [stderr] Compiling dfgit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/ccapi.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::template::{self, Template}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `fmt::format` [INFO] [stdout] --> src/template.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fmt::format, io::{BufReader, Read, Write}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ffi::OsStr` and `self` [INFO] [stdout] --> src/repo.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::OsStr, fs::{self, remove_dir_all, File}, io::{self, Write}, path::Path, process::Command}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::Str` [INFO] [stdout] --> src/repo.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::builder::Str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/repo.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::template::{self, Template}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/repo.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | if (ppath.file_name().unwrap() == ".git") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - if (ppath.file_name().unwrap() == ".git") { [INFO] [stdout] 69 + if ppath.file_name().unwrap() == ".git" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/repo.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | if (ppath.file_name().unwrap() == ".git") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - if (ppath.file_name().unwrap() == ".git") { [INFO] [stdout] 89 + if ppath.file_name().unwrap() == ".git" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/ccapi.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CCAPI { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ccapi.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | self.client.send_message(&Message::text("scopes read_plot write_code")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = self.client.send_message(&Message::text("scopes read_plot write_code")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/template.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | encoder.write_all(data.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = encoder.write_all(data.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f45bd28890238f5550564b10246112b3ab351cd7ee3d8f8caa880226015a27d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f45bd28890238f5550564b10246112b3ab351cd7ee3d8f8caa880226015a27d7", kill_on_drop: false }` [INFO] [stdout] f45bd28890238f5550564b10246112b3ab351cd7ee3d8f8caa880226015a27d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1a4f4e086076b8950aaf9d4558deafa7a8bf00cf9a26f027ac4d7c9a6b2662ed [INFO] running `Command { std: "docker" "start" "-a" "1a4f4e086076b8950aaf9d4558deafa7a8bf00cf9a26f027ac4d7c9a6b2662ed", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/ccapi.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::template::{self, Template}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BufReader` and `fmt::format` [INFO] [stderr] --> src/template.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{fmt::format, io::{BufReader, Read, Write}}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ffi::OsStr` and `self` [INFO] [stderr] --> src/repo.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{ffi::OsStr, fs::{self, remove_dir_all, File}, io::{self, Write}, path::Path, process::Command}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `clap::builder::Str` [INFO] [stderr] --> src/repo.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use clap::builder::Str; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/repo.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::template::{self, Template}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/repo.rs:69:16 [INFO] [stderr] | [INFO] [stderr] 69 | if (ppath.file_name().unwrap() == ".git") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 69 - if (ppath.file_name().unwrap() == ".git") { [INFO] [stderr] 69 + if ppath.file_name().unwrap() == ".git" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/repo.rs:89:16 [INFO] [stderr] | [INFO] [stderr] 89 | if (ppath.file_name().unwrap() == ".git") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 89 - if (ppath.file_name().unwrap() == ".git") { [INFO] [stderr] 89 + if ppath.file_name().unwrap() == ".git" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: method `close` is never used [INFO] [stderr] --> src/ccapi.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl CCAPI { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn close(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ccapi.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | self.client.send_message(&Message::text("scopes read_plot write_code")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 24 | let _ = self.client.send_message(&Message::text("scopes read_plot write_code")); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/template.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | encoder.write_all(data.as_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 21 | let _ = encoder.write_all(data.as_bytes()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `dfgit` (bin "dfgit" test) generated 10 warnings (run `cargo fix --bin "dfgit" --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dfgit-c155a38edd4b29dd) [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" "1a4f4e086076b8950aaf9d4558deafa7a8bf00cf9a26f027ac4d7c9a6b2662ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a4f4e086076b8950aaf9d4558deafa7a8bf00cf9a26f027ac4d7c9a6b2662ed", kill_on_drop: false }` [INFO] [stdout] 1a4f4e086076b8950aaf9d4558deafa7a8bf00cf9a26f027ac4d7c9a6b2662ed