[INFO] cloning repository https://github.com/yaojianpin/mock-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yaojianpin/mock-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyaojianpin%2Fmock-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyaojianpin%2Fmock-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ab8df9d834a916c8cd9fd7fa90ff15d0b4a588e [INFO] building yaojianpin/mock-server against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyaojianpin%2Fmock-server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yaojianpin/mock-server [INFO] finished tweaking git repo https://github.com/yaojianpin/mock-server [INFO] tweaked toml for git repo https://github.com/yaojianpin/mock-server written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yaojianpin/mock-server on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yaojianpin/mock-server 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9003afe9964c0f2557cfff4ddf70fd138bb16bc0bef740a4644a6dd83241138 [INFO] running `Command { std: "docker" "start" "-a" "a9003afe9964c0f2557cfff4ddf70fd138bb16bc0bef740a4644a6dd83241138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9003afe9964c0f2557cfff4ddf70fd138bb16bc0bef740a4644a6dd83241138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9003afe9964c0f2557cfff4ddf70fd138bb16bc0bef740a4644a6dd83241138", kill_on_drop: false }` [INFO] [stdout] a9003afe9964c0f2557cfff4ddf70fd138bb16bc0bef740a4644a6dd83241138 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a8ab84b98d70922101e7124a9510c6430057733465f717498183874b21f41d3 [INFO] running `Command { std: "docker" "start" "-a" "0a8ab84b98d70922101e7124a9510c6430057733465f717498183874b21f41d3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling axum v0.6.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.15 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling clap_derive v3.2.17 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling clap v3.2.17 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling axum-core v0.2.7 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling axum v0.5.13 [INFO] [stderr] Compiling axum-streams v0.9.1 [INFO] [stderr] Compiling mock-server v1.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/models/named_query.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NamedQuery { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `NamedQuery` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mapping` is never read [INFO] [stdout] --> src/models/data_config.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DataConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub mapping: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.20s [INFO] running `Command { std: "docker" "inspect" "0a8ab84b98d70922101e7124a9510c6430057733465f717498183874b21f41d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a8ab84b98d70922101e7124a9510c6430057733465f717498183874b21f41d3", kill_on_drop: false }` [INFO] [stdout] 0a8ab84b98d70922101e7124a9510c6430057733465f717498183874b21f41d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ce1c6beabf9b775dbd5860a0fd8f82b91869f1c847cd88258eed857c244d079 [INFO] running `Command { std: "docker" "start" "-a" "3ce1c6beabf9b775dbd5860a0fd8f82b91869f1c847cd88258eed857c244d079", kill_on_drop: false }` [INFO] [stderr] Compiling mock-server v1.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/models/named_query.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NamedQuery { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `NamedQuery` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mapping` is never read [INFO] [stdout] --> src/models/data_config.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DataConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub mapping: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.46s [INFO] running `Command { std: "docker" "inspect" "3ce1c6beabf9b775dbd5860a0fd8f82b91869f1c847cd88258eed857c244d079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ce1c6beabf9b775dbd5860a0fd8f82b91869f1c847cd88258eed857c244d079", kill_on_drop: false }` [INFO] [stdout] 3ce1c6beabf9b775dbd5860a0fd8f82b91869f1c847cd88258eed857c244d079