[INFO] fetching crate dbang 0.1.7... [INFO] building dbang-0.1.7 against try#8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 for pr-94962 [INFO] extracting crate dbang 0.1.7 into /workspace/builds/worker-94/source [INFO] validating manifest of crates.io crate dbang 0.1.7 on toolchain 8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-94/source/rust-toolchain.toml [INFO] started tweaking crates.io crate dbang 0.1.7 [INFO] finished tweaking crates.io crate dbang 0.1.7 [INFO] tweaked toml for crates.io crate dbang 0.1.7 written to /workspace/builds/worker-94/source/Cargo.toml [INFO] crate crates.io crate dbang 0.1.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d091bf56c600bd0df5b38f7d489175614eaff8c42785c27eb0da6fb7924f6ea [INFO] running `Command { std: "docker" "start" "-a" "8d091bf56c600bd0df5b38f7d489175614eaff8c42785c27eb0da6fb7924f6ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d091bf56c600bd0df5b38f7d489175614eaff8c42785c27eb0da6fb7924f6ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d091bf56c600bd0df5b38f7d489175614eaff8c42785c27eb0da6fb7924f6ea", kill_on_drop: false }` [INFO] [stdout] 8d091bf56c600bd0df5b38f7d489175614eaff8c42785c27eb0da6fb7924f6ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55f9c1602d66ebd31c1d4607dd09cdff7a4c16ad36a8b2519e45c28a9ee23f39 [INFO] running `Command { std: "docker" "start" "-a" "55f9c1602d66ebd31c1d4607dd09cdff7a4c16ad36a8b2519e45c28a9ee23f39", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling symlink v0.1.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling clap v3.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling clap_complete v3.0.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling colored_json v2.1.0 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.8 [INFO] [stderr] Compiling dbang v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `find_script_name_by_alias` [INFO] [stdout] --> src/aliases.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn find_script_name_by_alias(alias: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `github_auth_token` [INFO] [stdout] --> src/dbang_utils.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn github_auth_token() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `open_url` [INFO] [stdout] --> src/dbang_utils.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn open_url(url: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save` [INFO] [stdout] --> src/aliases.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn save(aliases: &HashMap) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [INFO] [stdout] --> src/aliases.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add(alias: String, script_name: String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `remove` [INFO] [stdout] --> src/aliases.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn remove(alias: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `remove_by_repo_name` [INFO] [stdout] --> src/aliases.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn remove_by_repo_name(repo_name: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_target_compatible` [INFO] [stdout] --> src/catalog.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn is_target_compatible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cache_artifacts` [INFO] [stdout] --> src/catalog.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn cache_artifacts(&self, github_user: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch_from_github` [INFO] [stdout] --> src/catalog.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn fetch_from_github(repo_name: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/catalog.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn save(&self, repo_name: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `local_exists` [INFO] [stdout] --> src/catalog.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn local_exists(repo_name: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/catalog.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn delete(repo_name: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_local` [INFO] [stdout] --> src/catalog.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn list_local() -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save_remote_nbang_catalog` [INFO] [stdout] --> src/catalog.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn save_remote_nbang_catalog(repo_name: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_dbang_catalog_url_on_github` [INFO] [stdout] --> src/catalog.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn get_dbang_catalog_url_on_github(catalog_full_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_local` [INFO] [stdout] --> src/deno_cli.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_local(artifact: &Artifact, args: &[&str], verbose: bool) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cache` [INFO] [stdout] --> src/deno_cli.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn cache(deno_bin_path: &str, script_name: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `list` [INFO] [stdout] --> src/deno_versions.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn list() -> anyhow::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `link_as_default` [INFO] [stdout] --> src/deno_versions.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn link_as_default(version: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete` [INFO] [stdout] --> src/deno_versions.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn delete(version: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "55f9c1602d66ebd31c1d4607dd09cdff7a4c16ad36a8b2519e45c28a9ee23f39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55f9c1602d66ebd31c1d4607dd09cdff7a4c16ad36a8b2519e45c28a9ee23f39", kill_on_drop: false }` [INFO] [stdout] 55f9c1602d66ebd31c1d4607dd09cdff7a4c16ad36a8b2519e45c28a9ee23f39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd345d0831c3d6c75816b1fbbdeaef8cef4209f69b049c217726c3f278b0c5e4 [INFO] running `Command { std: "docker" "start" "-a" "fd345d0831c3d6c75816b1fbbdeaef8cef4209f69b049c217726c3f278b0c5e4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling dbang v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `github_auth_token` [INFO] [stdout] --> src/dbang_utils.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn github_auth_token() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `open_url` [INFO] [stdout] --> src/dbang_utils.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn open_url(url: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save` [INFO] [stdout] --> src/aliases.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn save(aliases: &HashMap) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [INFO] [stdout] --> src/aliases.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add(alias: String, script_name: String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `remove` [INFO] [stdout] --> src/aliases.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn remove(alias: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `remove_by_repo_name` [INFO] [stdout] --> src/aliases.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn remove_by_repo_name(repo_name: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_target_compatible` [INFO] [stdout] --> src/catalog.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn is_target_compatible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cache_artifacts` [INFO] [stdout] --> src/catalog.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn cache_artifacts(&self, github_user: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch_from_github` [INFO] [stdout] --> src/catalog.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn fetch_from_github(repo_name: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/catalog.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn save(&self, repo_name: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `local_exists` [INFO] [stdout] --> src/catalog.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn local_exists(repo_name: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/catalog.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn delete(repo_name: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_local` [INFO] [stdout] --> src/catalog.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn list_local() -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save_remote_nbang_catalog` [INFO] [stdout] --> src/catalog.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn save_remote_nbang_catalog(repo_name: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_dbang_catalog_url_on_github` [INFO] [stdout] --> src/catalog.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn get_dbang_catalog_url_on_github(catalog_full_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_local` [INFO] [stdout] --> src/deno_cli.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_local(artifact: &Artifact, args: &[&str], verbose: bool) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cache` [INFO] [stdout] --> src/deno_cli.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn cache(deno_bin_path: &str, script_name: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `list` [INFO] [stdout] --> src/deno_versions.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn list() -> anyhow::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `link_as_default` [INFO] [stdout] --> src/deno_versions.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn link_as_default(version: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete` [INFO] [stdout] --> src/deno_versions.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn delete(version: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_script_name_by_alias` [INFO] [stdout] --> src/aliases.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn find_script_name_by_alias(alias: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> tests/reqwest_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/catalog.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | let mut artifact = Artifact { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `open_url` [INFO] [stdout] --> src/dbang_utils.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn open_url(url: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `remove` [INFO] [stdout] --> src/aliases.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn remove(alias: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `remove_by_repo_name` [INFO] [stdout] --> src/aliases.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn remove_by_repo_name(repo_name: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cache_artifacts` [INFO] [stdout] --> src/catalog.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn cache_artifacts(&self, github_user: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/catalog.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn delete(repo_name: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_local` [INFO] [stdout] --> src/deno_cli.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_local(artifact: &Artifact, args: &[&str], verbose: bool) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cache` [INFO] [stdout] --> src/deno_cli.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn cache(deno_bin_path: &str, script_name: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `link_as_default` [INFO] [stdout] --> src/deno_versions.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn link_as_default(version: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/catalog.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | let mut artifact = Artifact { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 33.02s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/dbang-364e1cb8dfa47831) [INFO] [stderr] Executable unittests src/dbang-shim.rs (/opt/rustwide/target/debug/deps/dbang_shim-46178515e7292d7a) [INFO] [stderr] Executable tests/reqwest_tests.rs (/opt/rustwide/target/debug/deps/reqwest_tests-cd6fcc61441d5519) [INFO] running `Command { std: "docker" "inspect" "fd345d0831c3d6c75816b1fbbdeaef8cef4209f69b049c217726c3f278b0c5e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd345d0831c3d6c75816b1fbbdeaef8cef4209f69b049c217726c3f278b0c5e4", kill_on_drop: false }` [INFO] [stdout] fd345d0831c3d6c75816b1fbbdeaef8cef4209f69b049c217726c3f278b0c5e4