[INFO] cloning repository https://github.com/fffzlfk/clashup-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fffzlfk/clashup-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffffzlfk%2Fclashup-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffffzlfk%2Fclashup-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97ad7751ce67d63949b4614d12659992a8e5df0f [INFO] checking fffzlfk/clashup-rs against master#21de280cccb4eb02ead6bf0af40e2355a9136d6f for pr-100043-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffffzlfk%2Fclashup-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fffzlfk/clashup-rs on toolchain 21de280cccb4eb02ead6bf0af40e2355a9136d6f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+21de280cccb4eb02ead6bf0af40e2355a9136d6f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fffzlfk/clashup-rs [INFO] finished tweaking git repo https://github.com/fffzlfk/clashup-rs [INFO] tweaked toml for git repo https://github.com/fffzlfk/clashup-rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/fffzlfk/clashup-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+21de280cccb4eb02ead6bf0af40e2355a9136d6f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.15 [INFO] [stderr] Downloaded ryu v1.0.9 [INFO] [stderr] Downloaded itoa v1.0.1 [INFO] [stderr] Downloaded anyhow v1.0.53 [INFO] [stderr] Downloaded proc-macro2 v1.0.36 [INFO] [stderr] Downloaded syn v1.0.86 [INFO] [stderr] Downloaded serde_derive v1.0.136 [INFO] [stderr] Downloaded serde_json v1.0.78 [INFO] [stderr] Downloaded serde v1.0.136 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+21de280cccb4eb02ead6bf0af40e2355a9136d6f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df3178ff92de04c534392033bd446136969b995b8b15f9b77fc32ccfcc12bd01 [INFO] running `Command { std: "docker" "start" "-a" "df3178ff92de04c534392033bd446136969b995b8b15f9b77fc32ccfcc12bd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df3178ff92de04c534392033bd446136969b995b8b15f9b77fc32ccfcc12bd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df3178ff92de04c534392033bd446136969b995b8b15f9b77fc32ccfcc12bd01", kill_on_drop: false }` [INFO] [stdout] df3178ff92de04c534392033bd446136969b995b8b15f9b77fc32ccfcc12bd01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "RUSTDOCFLAGS=--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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+21de280cccb4eb02ead6bf0af40e2355a9136d6f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cc2454fdc6e8f3a5727843d73ece10830eea19d1ae448f0e2979f7edb31c080 [INFO] running `Command { std: "docker" "start" "-a" "7cc2454fdc6e8f3a5727843d73ece10830eea19d1ae448f0e2979f7edb31c080", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking clashup-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `clash_conf_path`, `clash_conf_old_path`, `cache_file_path`, `mmdb_version_file_path`, `mmdb_file_path` and `config` are never read [INFO] [stdout] --> src/main.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | struct ClashUp<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 64 | clash_conf_path: &'a Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | clash_conf_old_path: &'a Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | cache_file_path: &'a Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | mmdb_version_file_path: &'a Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | mmdb_file_path: &'a Path, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 69 | config: config::Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `ClashUp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `clash_conf_path`, `clash_conf_old_path`, `cache_file_path`, `mmdb_version_file_path`, `mmdb_file_path` and `config` are never read [INFO] [stdout] --> src/main.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | struct ClashUp<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 64 | clash_conf_path: &'a Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | clash_conf_old_path: &'a Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | cache_file_path: &'a Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | mmdb_version_file_path: &'a Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | mmdb_file_path: &'a Path, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 69 | config: config::Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `ClashUp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXAMPLE_CONF` is never used [INFO] [stdout] --> src/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | const EXAMPLE_CONF: &'static str = r#"{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 24 | http_port: Port, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | socks5_port: Port, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | redir_port: Port, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | mixed_port: Port, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | allow_lan: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | external_controller: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | subscribe_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | is_subscribe_banned: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | custom_rules: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 33 | mmdb_file_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 34 | mmdb_version_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | periodically_update: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_path` is never used [INFO] [stdout] --> src/main.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_path(conf_file_path: &std::path::Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 24 | http_port: Port, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | socks5_port: Port, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | redir_port: Port, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | mixed_port: Port, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | allow_lan: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | external_controller: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | subscribe_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | is_subscribe_banned: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | custom_rules: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 33 | mmdb_file_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 34 | mmdb_version_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | periodically_update: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.90s [INFO] running `Command { std: "docker" "inspect" "7cc2454fdc6e8f3a5727843d73ece10830eea19d1ae448f0e2979f7edb31c080", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cc2454fdc6e8f3a5727843d73ece10830eea19d1ae448f0e2979f7edb31c080", kill_on_drop: false }` [INFO] [stdout] 7cc2454fdc6e8f3a5727843d73ece10830eea19d1ae448f0e2979f7edb31c080