[INFO] cloning repository https://github.com/YushunXiang/ninc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YushunXiang/ninc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYushunXiang%2Fninc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYushunXiang%2Fninc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed14284b6719414de0d5ecf2f4d9445d50a08747 [INFO] checking YushunXiang/ninc against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYushunXiang%2Fninc" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/YushunXiang/ninc [INFO] finished tweaking git repo https://github.com/YushunXiang/ninc [INFO] tweaked toml for git repo https://github.com/YushunXiang/ninc written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/YushunXiang/ninc on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/YushunXiang/ninc 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v3.2.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8e0e664ce83582c0f7e1c3cbbc9cee578508fd542638fbe53ef6e37669a8b09 [INFO] running `Command { std: "docker" "start" "-a" "d8e0e664ce83582c0f7e1c3cbbc9cee578508fd542638fbe53ef6e37669a8b09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8e0e664ce83582c0f7e1c3cbbc9cee578508fd542638fbe53ef6e37669a8b09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8e0e664ce83582c0f7e1c3cbbc9cee578508fd542638fbe53ef6e37669a8b09", kill_on_drop: false }` [INFO] [stdout] d8e0e664ce83582c0f7e1c3cbbc9cee578508fd542638fbe53ef6e37669a8b09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e79f10fc82fea996f328e03f4e0d6abb6c4eba3426ca9db3697ddf4a390e7d47 [INFO] running `Command { std: "docker" "start" "-a" "e79f10fc82fea996f328e03f4e0d6abb6c4eba3426ca9db3697ddf4a390e7d47", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking indexmap v1.9.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking httparse v1.7.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking clap v3.2.8 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking ninc v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/commands/edu/eval.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | let resp = client.get(EDU_EVAL_SEME); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/edu/eval.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | EvalCommands::List(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 65 | EduCommands::Eval(eval_cmd) => { [INFO] [stdout] | --------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 70 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EDU_EVAL_SEME` is never used [INFO] [stdout] --> src/data/consts.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const EDU_EVAL_SEME: &str = "https://jwxt.nwpu.edu.cn/evaluation-student-backend/api/v1/evaluation/get-enable-semesters"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seme` is never used [INFO] [stdout] --> src/commands/edu/eval.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | async fn seme() -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/commands/edu/eval.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | let resp = client.get(EDU_EVAL_SEME); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/edu/eval.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | EvalCommands::List(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 65 | EduCommands::Eval(eval_cmd) => { [INFO] [stdout] | --------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 70 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EDU_EVAL_SEME` is never used [INFO] [stdout] --> src/data/consts.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const EDU_EVAL_SEME: &str = "https://jwxt.nwpu.edu.cn/evaluation-student-backend/api/v1/evaluation/get-enable-semesters"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seme` is never used [INFO] [stdout] --> src/commands/edu/eval.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | async fn seme() -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.27s [INFO] running `Command { std: "docker" "inspect" "e79f10fc82fea996f328e03f4e0d6abb6c4eba3426ca9db3697ddf4a390e7d47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e79f10fc82fea996f328e03f4e0d6abb6c4eba3426ca9db3697ddf4a390e7d47", kill_on_drop: false }` [INFO] [stdout] e79f10fc82fea996f328e03f4e0d6abb6c4eba3426ca9db3697ddf4a390e7d47