[INFO] cloning repository https://github.com/gh0st-work/gh.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gh0st-work/gh.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgh0st-work%2Fgh.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgh0st-work%2Fgh.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b5094165a9dc97ddd539b15bb685cfc5942b17f [INFO] testing gh0st-work/gh.rs against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgh0st-work%2Fgh.rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gh0st-work/gh.rs on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gh0st-work/gh.rs [INFO] finished tweaking git repo https://github.com/gh0st-work/gh.rs [INFO] tweaked toml for git repo https://github.com/gh0st-work/gh.rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gh0st-work/gh.rs 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.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-0-tc1/source/src/lib.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `gh_rs` [INFO] [stderr] * `bin` target `gh` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded terminal_size v0.3.0 [INFO] [stderr] Downloaded rsa v0.9.3 [INFO] [stderr] Downloaded async-executor v1.7.2 [INFO] [stderr] Downloaded async-channel v2.1.0 [INFO] [stderr] Downloaded clap_builder v4.4.8 [INFO] [stderr] Downloaded clap v4.4.8 [INFO] [stderr] Downloaded libssh2-sys v0.3.0 [INFO] [stderr] Downloaded git2 v0.18.1 [INFO] [stderr] Downloaded snafu v0.7.5 [INFO] [stderr] Downloaded iri-string v0.7.0 [INFO] [stderr] Downloaded octocrab v0.32.0 [INFO] [stderr] Downloaded ssh-key v0.6.2 [INFO] [stderr] Downloaded event-listener-strategy v0.3.0 [INFO] [stderr] Downloaded libgit2-sys v0.16.1+1.7.1 [INFO] [stderr] Downloaded async-lock v3.1.1 [INFO] [stderr] Downloaded async-task v4.5.0 [INFO] [stderr] Downloaded futures-lite v2.0.1 [INFO] [stderr] Downloaded concurrent-queue v2.3.0 [INFO] [stderr] Downloaded snafu-derive v0.7.5 [INFO] [stderr] Downloaded value-bag v1.4.2 [INFO] [stderr] Downloaded libz-sys v1.1.12 [INFO] [stderr] Downloaded platforms v3.2.0 [INFO] [stderr] Downloaded openssl-src v300.1.6+3.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa5e8d14e8aec7d086747bb540ebece8c9b20816d30bd3fc9df9799169d66049 [INFO] running `Command { std: "docker" "start" "-a" "aa5e8d14e8aec7d086747bb540ebece8c9b20816d30bd3fc9df9799169d66049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa5e8d14e8aec7d086747bb540ebece8c9b20816d30bd3fc9df9799169d66049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa5e8d14e8aec7d086747bb540ebece8c9b20816d30bd3fc9df9799169d66049", kill_on_drop: false }` [INFO] [stdout] aa5e8d14e8aec7d086747bb540ebece8c9b20816d30bd3fc9df9799169d66049 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3c80202bce16c81778ffbbf743c8a0a0dc73e58dcc5a079903d8c5f8d003280 [INFO] running `Command { std: "docker" "start" "-a" "c3c80202bce16c81778ffbbf743c8a0a0dc73e58dcc5a079903d8c5f8d003280", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/lib.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `gh_rs` [INFO] [stderr] * `bin` target `gh` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling value-bag v1.4.2 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling concurrent-queue v2.3.0 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling event-listener v3.1.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling openssl-src v300.1.6+3.1.4 [INFO] [stderr] Compiling event-listener-strategy v0.3.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling futures-lite v2.0.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling async-lock v3.1.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling platforms v3.2.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling rustls v0.21.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling async-task v4.5.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling async-channel v2.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling libgit2-sys v0.16.1+1.7.1 [INFO] [stderr] Compiling async-executor v1.7.2 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling ssh-encoding v0.2.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling pem v3.0.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling iri-string v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling clap_builder v4.4.8 [INFO] [stderr] Compiling ssh-cipher v0.2.0 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling arc-swap v1.6.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap v4.4.8 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling async-global-executor v2.3.1 [INFO] [stderr] Compiling ed25519-dalek v2.1.0 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling ssh-key v0.6.2 [INFO] [stderr] Compiling snafu v0.7.5 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling configparser v3.0.3 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling tower-http v0.4.4 [INFO] [stderr] Compiling jsonwebtoken v9.1.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling octocrab v0.32.0 [INFO] [stderr] Compiling git2 v0.18.1 [INFO] [stderr] Compiling gh-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(r) => Some(config), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | Err(e) => None [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/async_io.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/async_io.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | Some(Err(e)) => { continue; }, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | Ok(r) => Ok(private_key), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | Ok(r) => return Ok(private_key_possible), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib.rs:200:16 [INFO] [stdout] | [INFO] [stdout] 200 | Ok(k) => Ok(private_key_possible), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:716:17 [INFO] [stdout] | [INFO] [stdout] 716 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/lib.rs:719:16 [INFO] [stdout] | [INFO] [stdout] 719 | Ok(repo) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:844:17 [INFO] [stdout] | [INFO] [stdout] 844 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gh_repo` [INFO] [stdout] --> src/lib.rs:974:9 [INFO] [stdout] | [INFO] [stdout] 974 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gh_repo` [INFO] [stdout] --> src/lib.rs:1083:9 [INFO] [stdout] | [INFO] [stdout] 1083 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/lib.rs:1123:9 [INFO] [stdout] | [INFO] [stdout] 1123 | let username = user.login.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `external_gh_repo` [INFO] [stdout] --> src/lib.rs:1124:49 [INFO] [stdout] | [INFO] [stdout] 1124 | ...xternal_repo_name, external_gh_repo) = get_external_path(&octocrab_client, external_path_raw_opt, cli_only).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_external_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/lib.rs:1138:9 [INFO] [stdout] | [INFO] [stdout] 1138 | let repo = match git2_clone( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gh_repo` [INFO] [stdout] --> src/lib.rs:1195:9 [INFO] [stdout] | [INFO] [stdout] 1195 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_external` [INFO] [stdout] --> src/lib.rs:1270:9 [INFO] [stdout] | [INFO] [stdout] 1270 | let remote_external = match repo.remote("external", &external_url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_external` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/lib.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | url: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_value` [INFO] [stdout] --> src/lib.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | let entry_value = match entry.value() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:447:15 [INFO] [stdout] | [INFO] [stdout] 447 | if let Ok(r) = repo.find_remote(name) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `got_git_path` [INFO] [stdout] --> src/lib.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | let got_git_path = repo.path(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_got_git_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/lib.rs:1303:17 [INFO] [stdout] | [INFO] [stdout] 1303 | fn ch_width(ch: char) -> usize { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `git2_add_and_commit` is never used [INFO] [stdout] --> src/lib.rs:225:10 [INFO] [stdout] | [INFO] [stdout] 225 | async fn git2_add_and_commit<'repo, 'sig>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `git2_generate_refspecs_from_globbed` is never used [INFO] [stdout] --> src/lib.rs:453:4 [INFO] [stdout] | [INFO] [stdout] 453 | fn git2_generate_refspecs_from_globbed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `styled_str_display_width` is never used [INFO] [stdout] --> src/lib.rs:1326:8 [INFO] [stdout] | [INFO] [stdout] 1326 | fn styled_str_display_width(st_str: &clap::builder::StyledStr) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_display_sync` is never used [INFO] [stdout] --> src/async_io.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn path_display_sync(path: &std_path::PathBuf) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_rel_sync` is never used [INFO] [stdout] --> src/async_io.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn path_rel_sync(parent: &std_path::Path, child: &std_path::Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_dir_filenames` is never used [INFO] [stdout] --> src/async_io.rs:278:14 [INFO] [stdout] | [INFO] [stdout] 278 | pub async fn read_dir_filenames(path: impl AsRef) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gh_rs_github_username` should have an upper case name [INFO] [stdout] --> src/lib.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const gh_rs_github_username: &str = "gh0st-work"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GH_RS_GITHUB_USERNAME` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gh_rs_github_repo_name` should have an upper case name [INFO] [stdout] --> src/lib.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const gh_rs_github_repo_name: &str = "gh.rs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GH_RS_GITHUB_REPO_NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ssh_key_name` should have an upper case name [INFO] [stdout] --> src/lib.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const ssh_key_name: &str = "gh_rs_ed25519.pem"; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `SSH_KEY_NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(r) => Some(config), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | Err(e) => None [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/async_io.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/async_io.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | Some(Err(e)) => { continue; }, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | Ok(r) => Ok(private_key), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | Ok(r) => return Ok(private_key_possible), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib.rs:200:16 [INFO] [stdout] | [INFO] [stdout] 200 | Ok(k) => Ok(private_key_possible), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:716:17 [INFO] [stdout] | [INFO] [stdout] 716 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/lib.rs:719:16 [INFO] [stdout] | [INFO] [stdout] 719 | Ok(repo) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:844:17 [INFO] [stdout] | [INFO] [stdout] 844 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gh_repo` [INFO] [stdout] --> src/lib.rs:974:9 [INFO] [stdout] | [INFO] [stdout] 974 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gh_repo` [INFO] [stdout] --> src/lib.rs:1083:9 [INFO] [stdout] | [INFO] [stdout] 1083 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/lib.rs:1123:9 [INFO] [stdout] | [INFO] [stdout] 1123 | let username = user.login.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `external_gh_repo` [INFO] [stdout] --> src/lib.rs:1124:49 [INFO] [stdout] | [INFO] [stdout] 1124 | ...xternal_repo_name, external_gh_repo) = get_external_path(&octocrab_client, external_path_raw_opt, cli_only).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_external_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/lib.rs:1138:9 [INFO] [stdout] | [INFO] [stdout] 1138 | let repo = match git2_clone( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gh_repo` [INFO] [stdout] --> src/lib.rs:1195:9 [INFO] [stdout] | [INFO] [stdout] 1195 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_external` [INFO] [stdout] --> src/lib.rs:1270:9 [INFO] [stdout] | [INFO] [stdout] 1270 | let remote_external = match repo.remote("external", &external_url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_external` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/lib.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | url: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_value` [INFO] [stdout] --> src/lib.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | let entry_value = match entry.value() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:447:15 [INFO] [stdout] | [INFO] [stdout] 447 | if let Ok(r) = repo.find_remote(name) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `got_git_path` [INFO] [stdout] --> src/lib.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | let got_git_path = repo.path(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_got_git_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/lib.rs:1303:17 [INFO] [stdout] | [INFO] [stdout] 1303 | fn ch_width(ch: char) -> usize { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `git2_add_and_commit` is never used [INFO] [stdout] --> src/lib.rs:225:10 [INFO] [stdout] | [INFO] [stdout] 225 | async fn git2_add_and_commit<'repo, 'sig>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `git2_generate_refspecs_from_globbed` is never used [INFO] [stdout] --> src/lib.rs:453:4 [INFO] [stdout] | [INFO] [stdout] 453 | fn git2_generate_refspecs_from_globbed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `styled_str_display_width` is never used [INFO] [stdout] --> src/lib.rs:1326:8 [INFO] [stdout] | [INFO] [stdout] 1326 | fn styled_str_display_width(st_str: &clap::builder::StyledStr) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_display_sync` is never used [INFO] [stdout] --> src/async_io.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn path_display_sync(path: &std_path::PathBuf) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_rel_sync` is never used [INFO] [stdout] --> src/async_io.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn path_rel_sync(parent: &std_path::Path, child: &std_path::Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_dir_filenames` is never used [INFO] [stdout] --> src/async_io.rs:278:14 [INFO] [stdout] | [INFO] [stdout] 278 | pub async fn read_dir_filenames(path: impl AsRef) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gh_rs_github_username` should have an upper case name [INFO] [stdout] --> src/lib.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const gh_rs_github_username: &str = "gh0st-work"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GH_RS_GITHUB_USERNAME` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gh_rs_github_repo_name` should have an upper case name [INFO] [stdout] --> src/lib.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const gh_rs_github_repo_name: &str = "gh.rs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GH_RS_GITHUB_REPO_NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ssh_key_name` should have an upper case name [INFO] [stdout] --> src/lib.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const ssh_key_name: &str = "gh_rs_ed25519.pem"; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `SSH_KEY_NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 57s [INFO] running `Command { std: "docker" "inspect" "c3c80202bce16c81778ffbbf743c8a0a0dc73e58dcc5a079903d8c5f8d003280", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3c80202bce16c81778ffbbf743c8a0a0dc73e58dcc5a079903d8c5f8d003280", kill_on_drop: false }` [INFO] [stdout] c3c80202bce16c81778ffbbf743c8a0a0dc73e58dcc5a079903d8c5f8d003280 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 829dff4219c4fb622ffd1039d0cba29e2ae335113fa6b7eab4d0190be7557b59 [INFO] running `Command { std: "docker" "start" "-a" "829dff4219c4fb622ffd1039d0cba29e2ae335113fa6b7eab4d0190be7557b59", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/lib.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `gh_rs` [INFO] [stderr] * `bin` target `gh` [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(r) => Some(config), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | Err(e) => None [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/async_io.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/async_io.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | Some(Err(e)) => { continue; }, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | Ok(r) => Ok(private_key), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | Ok(r) => return Ok(private_key_possible), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib.rs:200:16 [INFO] [stdout] | [INFO] [stdout] 200 | Ok(k) => Ok(private_key_possible), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:716:17 [INFO] [stdout] | [INFO] [stdout] 716 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gh-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/lib.rs:719:16 [INFO] [stdout] | [INFO] [stdout] 719 | Ok(repo) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:844:17 [INFO] [stdout] | [INFO] [stdout] 844 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gh_repo` [INFO] [stdout] --> src/lib.rs:974:9 [INFO] [stdout] | [INFO] [stdout] 974 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gh_repo` [INFO] [stdout] --> src/lib.rs:1083:9 [INFO] [stdout] | [INFO] [stdout] 1083 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/lib.rs:1123:9 [INFO] [stdout] | [INFO] [stdout] 1123 | let username = user.login.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `external_gh_repo` [INFO] [stdout] --> src/lib.rs:1124:49 [INFO] [stdout] | [INFO] [stdout] 1124 | ...xternal_repo_name, external_gh_repo) = get_external_path(&octocrab_client, external_path_raw_opt, cli_only).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_external_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/lib.rs:1138:9 [INFO] [stdout] | [INFO] [stdout] 1138 | let repo = match git2_clone( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gh_repo` [INFO] [stdout] --> src/lib.rs:1195:9 [INFO] [stdout] | [INFO] [stdout] 1195 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_external` [INFO] [stdout] --> src/lib.rs:1270:9 [INFO] [stdout] | [INFO] [stdout] 1270 | let remote_external = match repo.remote("external", &external_url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_external` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/lib.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | url: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_value` [INFO] [stdout] --> src/lib.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | let entry_value = match entry.value() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:447:15 [INFO] [stdout] | [INFO] [stdout] 447 | if let Ok(r) = repo.find_remote(name) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `got_git_path` [INFO] [stdout] --> src/lib.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | let got_git_path = repo.path(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_got_git_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/lib.rs:1303:17 [INFO] [stdout] | [INFO] [stdout] 1303 | fn ch_width(ch: char) -> usize { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `git2_add_and_commit` is never used [INFO] [stdout] --> src/lib.rs:225:10 [INFO] [stdout] | [INFO] [stdout] 225 | async fn git2_add_and_commit<'repo, 'sig>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `git2_generate_refspecs_from_globbed` is never used [INFO] [stdout] --> src/lib.rs:453:4 [INFO] [stdout] | [INFO] [stdout] 453 | fn git2_generate_refspecs_from_globbed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `styled_str_display_width` is never used [INFO] [stdout] --> src/lib.rs:1326:8 [INFO] [stdout] | [INFO] [stdout] 1326 | fn styled_str_display_width(st_str: &clap::builder::StyledStr) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_display_sync` is never used [INFO] [stdout] --> src/async_io.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn path_display_sync(path: &std_path::PathBuf) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_rel_sync` is never used [INFO] [stdout] --> src/async_io.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn path_rel_sync(parent: &std_path::Path, child: &std_path::Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_dir_filenames` is never used [INFO] [stdout] --> src/async_io.rs:278:14 [INFO] [stdout] | [INFO] [stdout] 278 | pub async fn read_dir_filenames(path: impl AsRef) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gh_rs_github_username` should have an upper case name [INFO] [stdout] --> src/lib.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const gh_rs_github_username: &str = "gh0st-work"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GH_RS_GITHUB_USERNAME` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gh_rs_github_repo_name` should have an upper case name [INFO] [stdout] --> src/lib.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const gh_rs_github_repo_name: &str = "gh.rs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GH_RS_GITHUB_REPO_NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ssh_key_name` should have an upper case name [INFO] [stdout] --> src/lib.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const ssh_key_name: &str = "gh_rs_ed25519.pem"; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `SSH_KEY_NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(r) => Some(config), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | Err(e) => None [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(r) => Some(config), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | Err(e) => None [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/async_io.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/async_io.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | Some(Err(e)) => { continue; }, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/async_io.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/async_io.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | Some(Err(e)) => { continue; }, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | Ok(r) => Ok(private_key), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | Ok(r) => Ok(private_key), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | Ok(r) => return Ok(private_key_possible), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib.rs:200:16 [INFO] [stdout] | [INFO] [stdout] 200 | Ok(k) => Ok(private_key_possible), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | Ok(r) => return Ok(private_key_possible), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib.rs:200:16 [INFO] [stdout] | [INFO] [stdout] 200 | Ok(k) => Ok(private_key_possible), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:716:17 [INFO] [stdout] | [INFO] [stdout] 716 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/lib.rs:719:16 [INFO] [stdout] | [INFO] [stdout] 719 | Ok(repo) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:716:17 [INFO] [stdout] | [INFO] [stdout] 716 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/lib.rs:719:16 [INFO] [stdout] | [INFO] [stdout] 719 | Ok(repo) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:844:17 [INFO] [stdout] | [INFO] [stdout] 844 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:844:17 [INFO] [stdout] | [INFO] [stdout] 844 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gh_repo` [INFO] [stdout] --> src/lib.rs:974:9 [INFO] [stdout] | [INFO] [stdout] 974 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gh_repo` [INFO] [stdout] --> src/lib.rs:1083:9 [INFO] [stdout] | [INFO] [stdout] 1083 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gh_repo` [INFO] [stdout] --> src/lib.rs:974:9 [INFO] [stdout] | [INFO] [stdout] 974 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/lib.rs:1123:9 [INFO] [stdout] | [INFO] [stdout] 1123 | let username = user.login.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `external_gh_repo` [INFO] [stdout] --> src/lib.rs:1124:49 [INFO] [stdout] | [INFO] [stdout] 1124 | ...xternal_repo_name, external_gh_repo) = get_external_path(&octocrab_client, external_path_raw_opt, cli_only).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_external_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/lib.rs:1138:9 [INFO] [stdout] | [INFO] [stdout] 1138 | let repo = match git2_clone( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gh_repo` [INFO] [stdout] --> src/lib.rs:1083:9 [INFO] [stdout] | [INFO] [stdout] 1083 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gh_repo` [INFO] [stdout] --> src/lib.rs:1195:9 [INFO] [stdout] | [INFO] [stdout] 1195 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_external` [INFO] [stdout] --> src/lib.rs:1270:9 [INFO] [stdout] | [INFO] [stdout] 1270 | let remote_external = match repo.remote("external", &external_url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_external` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/lib.rs:1123:9 [INFO] [stdout] | [INFO] [stdout] 1123 | let username = user.login.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `external_gh_repo` [INFO] [stdout] --> src/lib.rs:1124:49 [INFO] [stdout] | [INFO] [stdout] 1124 | ...xternal_repo_name, external_gh_repo) = get_external_path(&octocrab_client, external_path_raw_opt, cli_only).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_external_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/lib.rs:1138:9 [INFO] [stdout] | [INFO] [stdout] 1138 | let repo = match git2_clone( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gh_repo` [INFO] [stdout] --> src/lib.rs:1195:9 [INFO] [stdout] | [INFO] [stdout] 1195 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_external` [INFO] [stdout] --> src/lib.rs:1270:9 [INFO] [stdout] | [INFO] [stdout] 1270 | let remote_external = match repo.remote("external", &external_url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_external` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/lib.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | url: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_value` [INFO] [stdout] --> src/lib.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | let entry_value = match entry.value() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:447:15 [INFO] [stdout] | [INFO] [stdout] 447 | if let Ok(r) = repo.find_remote(name) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `got_git_path` [INFO] [stdout] --> src/lib.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | let got_git_path = repo.path(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_got_git_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/lib.rs:1303:17 [INFO] [stdout] | [INFO] [stdout] 1303 | fn ch_width(ch: char) -> usize { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/lib.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | url: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_value` [INFO] [stdout] --> src/lib.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | let entry_value = match entry.value() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:447:15 [INFO] [stdout] | [INFO] [stdout] 447 | if let Ok(r) = repo.find_remote(name) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `got_git_path` [INFO] [stdout] --> src/lib.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | let got_git_path = repo.path(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_got_git_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/lib.rs:1303:17 [INFO] [stdout] | [INFO] [stdout] 1303 | fn ch_width(ch: char) -> usize { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `git2_add_and_commit` is never used [INFO] [stdout] --> src/lib.rs:225:10 [INFO] [stdout] | [INFO] [stdout] 225 | async fn git2_add_and_commit<'repo, 'sig>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `git2_generate_refspecs_from_globbed` is never used [INFO] [stdout] --> src/lib.rs:453:4 [INFO] [stdout] | [INFO] [stdout] 453 | fn git2_generate_refspecs_from_globbed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `styled_str_display_width` is never used [INFO] [stdout] --> src/lib.rs:1326:8 [INFO] [stdout] | [INFO] [stdout] 1326 | fn styled_str_display_width(st_str: &clap::builder::StyledStr) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_display_sync` is never used [INFO] [stdout] --> src/async_io.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn path_display_sync(path: &std_path::PathBuf) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_rel_sync` is never used [INFO] [stdout] --> src/async_io.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn path_rel_sync(parent: &std_path::Path, child: &std_path::Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_dir_filenames` is never used [INFO] [stdout] --> src/async_io.rs:278:14 [INFO] [stdout] | [INFO] [stdout] 278 | pub async fn read_dir_filenames(path: impl AsRef) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gh_rs_github_username` should have an upper case name [INFO] [stdout] --> src/lib.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const gh_rs_github_username: &str = "gh0st-work"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GH_RS_GITHUB_USERNAME` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gh_rs_github_repo_name` should have an upper case name [INFO] [stdout] --> src/lib.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const gh_rs_github_repo_name: &str = "gh.rs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GH_RS_GITHUB_REPO_NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ssh_key_name` should have an upper case name [INFO] [stdout] --> src/lib.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const ssh_key_name: &str = "gh_rs_ed25519.pem"; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `SSH_KEY_NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `git2_add_and_commit` is never used [INFO] [stdout] --> src/lib.rs:225:10 [INFO] [stdout] | [INFO] [stdout] 225 | async fn git2_add_and_commit<'repo, 'sig>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `git2_generate_refspecs_from_globbed` is never used [INFO] [stdout] --> src/lib.rs:453:4 [INFO] [stdout] | [INFO] [stdout] 453 | fn git2_generate_refspecs_from_globbed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `styled_str_display_width` is never used [INFO] [stdout] --> src/lib.rs:1326:8 [INFO] [stdout] | [INFO] [stdout] 1326 | fn styled_str_display_width(st_str: &clap::builder::StyledStr) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_display_sync` is never used [INFO] [stdout] --> src/async_io.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn path_display_sync(path: &std_path::PathBuf) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_rel_sync` is never used [INFO] [stdout] --> src/async_io.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn path_rel_sync(parent: &std_path::Path, child: &std_path::Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_dir_filenames` is never used [INFO] [stdout] --> src/async_io.rs:278:14 [INFO] [stdout] | [INFO] [stdout] 278 | pub async fn read_dir_filenames(path: impl AsRef) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gh_rs_github_username` should have an upper case name [INFO] [stdout] --> src/lib.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const gh_rs_github_username: &str = "gh0st-work"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GH_RS_GITHUB_USERNAME` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gh_rs_github_repo_name` should have an upper case name [INFO] [stdout] --> src/lib.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const gh_rs_github_repo_name: &str = "gh.rs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GH_RS_GITHUB_REPO_NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ssh_key_name` should have an upper case name [INFO] [stdout] --> src/lib.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const ssh_key_name: &str = "gh_rs_ed25519.pem"; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `SSH_KEY_NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.69s [INFO] running `Command { std: "docker" "inspect" "829dff4219c4fb622ffd1039d0cba29e2ae335113fa6b7eab4d0190be7557b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "829dff4219c4fb622ffd1039d0cba29e2ae335113fa6b7eab4d0190be7557b59", kill_on_drop: false }` [INFO] [stdout] 829dff4219c4fb622ffd1039d0cba29e2ae335113fa6b7eab4d0190be7557b59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 16930f79eb9490b4fa2b7b86609ed31514e2ccd3a75eebb097774ab9e5ffd30a [INFO] running `Command { std: "docker" "start" "-a" "16930f79eb9490b4fa2b7b86609ed31514e2ccd3a75eebb097774ab9e5ffd30a", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/lib.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `gh_rs` [INFO] [stderr] * `bin` target `gh` [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/lib.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 74 | Ok(r) => Some(config), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/lib.rs:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | Err(e) => None [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/async_io.rs:254:13 [INFO] [stderr] | [INFO] [stderr] 254 | Err(e) => return None, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/async_io.rs:267:22 [INFO] [stderr] | [INFO] [stderr] 267 | Some(Err(e)) => { continue; }, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/lib.rs:135:13 [INFO] [stderr] | [INFO] [stderr] 135 | Err(e) => return None, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/lib.rs:139:13 [INFO] [stderr] | [INFO] [stderr] 139 | Err(e) => return None, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/lib.rs:150:12 [INFO] [stderr] | [INFO] [stderr] 150 | Ok(r) => Ok(private_key), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/lib.rs:187:16 [INFO] [stderr] | [INFO] [stderr] 187 | Ok(r) => return Ok(private_key_possible), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k` [INFO] [stderr] --> src/lib.rs:200:16 [INFO] [stderr] | [INFO] [stderr] 200 | Ok(k) => Ok(private_key_possible), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/lib.rs:716:17 [INFO] [stderr] | [INFO] [stderr] 716 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `repo` [INFO] [stderr] --> src/lib.rs:719:16 [INFO] [stderr] | [INFO] [stderr] 719 | Ok(repo) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/lib.rs:844:17 [INFO] [stderr] | [INFO] [stderr] 844 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `gh_repo` [INFO] [stderr] --> src/lib.rs:974:9 [INFO] [stderr] | [INFO] [stderr] 974 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `gh_repo` [INFO] [stderr] --> src/lib.rs:1083:9 [INFO] [stderr] | [INFO] [stderr] 1083 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `username` [INFO] [stderr] --> src/lib.rs:1123:9 [INFO] [stderr] | [INFO] [stderr] 1123 | let username = user.login.clone(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `external_gh_repo` [INFO] [stderr] --> src/lib.rs:1124:49 [INFO] [stderr] | [INFO] [stderr] 1124 | ...xternal_repo_name, external_gh_repo) = get_external_path(&octocrab_client, external_path_raw_opt, cli_only).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_external_gh_repo` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `repo` [INFO] [stderr] --> src/lib.rs:1138:9 [INFO] [stderr] | [INFO] [stderr] 1138 | let repo = match git2_clone( [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `gh_repo` [INFO] [stderr] --> src/lib.rs:1195:9 [INFO] [stderr] | [INFO] [stderr] 1195 | let gh_repo: octocrab::models::Repository = match octocrab_repos_create( [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gh_repo` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `remote_external` [INFO] [stderr] --> src/lib.rs:1270:9 [INFO] [stderr] | [INFO] [stderr] 1270 | let remote_external = match repo.remote("external", &external_url) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_external` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `url` [INFO] [stderr] --> src/lib.rs:318:5 [INFO] [stderr] | [INFO] [stderr] 318 | url: &str, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `entry_value` [INFO] [stderr] --> src/lib.rs:359:17 [INFO] [stderr] | [INFO] [stderr] 359 | let entry_value = match entry.value() { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/lib.rs:447:15 [INFO] [stderr] | [INFO] [stderr] 447 | if let Ok(r) = repo.find_remote(name) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `got_git_path` [INFO] [stderr] --> src/lib.rs:467:13 [INFO] [stderr] | [INFO] [stderr] 467 | let got_git_path = repo.path(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_got_git_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ch` [INFO] [stderr] --> src/lib.rs:1303:17 [INFO] [stderr] | [INFO] [stderr] 1303 | fn ch_width(ch: char) -> usize { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stderr] [INFO] [stderr] warning: function `git2_add_and_commit` is never used [INFO] [stderr] --> src/lib.rs:225:10 [INFO] [stderr] | [INFO] [stderr] 225 | async fn git2_add_and_commit<'repo, 'sig>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `git2_generate_refspecs_from_globbed` is never used [INFO] [stderr] --> src/lib.rs:453:4 [INFO] [stderr] | [INFO] [stderr] 453 | fn git2_generate_refspecs_from_globbed( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `styled_str_display_width` is never used [INFO] [stderr] --> src/lib.rs:1326:8 [INFO] [stderr] | [INFO] [stderr] 1326 | fn styled_str_display_width(st_str: &clap::builder::StyledStr) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `path_display_sync` is never used [INFO] [stderr] --> src/async_io.rs:70:8 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn path_display_sync(path: &std_path::PathBuf) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `path_rel_sync` is never used [INFO] [stderr] --> src/async_io.rs:124:8 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn path_rel_sync(parent: &std_path::Path, child: &std_path::Path) -> io::Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_dir_filenames` is never used [INFO] [stderr] --> src/async_io.rs:278:14 [INFO] [stderr] | [INFO] [stderr] 278 | pub async fn read_dir_filenames(path: impl AsRef) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `gh_rs_github_username` should have an upper case name [INFO] [stderr] --> src/lib.rs:16:7 [INFO] [stderr] | [INFO] [stderr] 16 | const gh_rs_github_username: &str = "gh0st-work"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GH_RS_GITHUB_USERNAME` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `gh_rs_github_repo_name` should have an upper case name [INFO] [stderr] --> src/lib.rs:17:7 [INFO] [stderr] | [INFO] [stderr] 17 | const gh_rs_github_repo_name: &str = "gh.rs"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GH_RS_GITHUB_REPO_NAME` [INFO] [stderr] [INFO] [stderr] warning: constant `ssh_key_name` should have an upper case name [INFO] [stderr] --> src/lib.rs:24:7 [INFO] [stderr] | [INFO] [stderr] 24 | const ssh_key_name: &str = "gh_rs_ed25519.pem"; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `SSH_KEY_NAME` [INFO] [stderr] [INFO] [stderr] warning: `gh-rs` (lib) generated 33 warnings [INFO] [stderr] warning: `gh-rs` (lib test) generated 33 warnings (33 duplicates) [INFO] [stderr] warning: `gh-rs` (bin "gh" test) generated 33 warnings (33 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gh_rs-01041e4509ad4972) [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gh-78697c3126628439) [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] [stderr] Doc-tests gh_rs [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" "16930f79eb9490b4fa2b7b86609ed31514e2ccd3a75eebb097774ab9e5ffd30a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16930f79eb9490b4fa2b7b86609ed31514e2ccd3a75eebb097774ab9e5ffd30a", kill_on_drop: false }` [INFO] [stdout] 16930f79eb9490b4fa2b7b86609ed31514e2ccd3a75eebb097774ab9e5ffd30a