[INFO] fetching crate xingapi 0.2.12... [INFO] checking xingapi-0.2.12 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate xingapi 0.2.12 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate xingapi 0.2.12 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xingapi 0.2.12 [INFO] finished tweaking crates.io crate xingapi 0.2.12 [INFO] tweaked toml for crates.io crate xingapi 0.2.12 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate xingapi 0.2.12 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 91114aabea65db0d84c5d2eb76738088c58bbb6787cfd355eed9bd1f76436386 [INFO] running `Command { std: "docker" "start" "-a" "91114aabea65db0d84c5d2eb76738088c58bbb6787cfd355eed9bd1f76436386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91114aabea65db0d84c5d2eb76738088c58bbb6787cfd355eed9bd1f76436386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91114aabea65db0d84c5d2eb76738088c58bbb6787cfd355eed9bd1f76436386", kill_on_drop: false }` [INFO] [stdout] 91114aabea65db0d84c5d2eb76738088c58bbb6787cfd355eed9bd1f76436386 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a4270e2df98686da3ed731530daf170236a2bfe547fc475dd1753cf20368c633 [INFO] running `Command { std: "docker" "start" "-a" "a4270e2df98686da3ed731530daf170236a2bfe547fc475dd1753cf20368c633", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking array-init v1.0.0 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking xingapi-res v0.2.12 [INFO] [stderr] Checking xingapi v0.2.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `LoginResponse`, `QueryResponse`, `RealResponse`, `data::Data`, `error::Error` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | data::Data, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | response::{LoginResponse, QueryResponse, RealResponse}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::Path`, `sync::Arc` [INFO] [stdout] --> src/lib.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | use std::{path::Path, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xingapi_res::TrLayout` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use xingapi_res::TrLayout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode` [INFO] [stdout] --> src/data/mod.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) fn decode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode_block` [INFO] [stdout] --> src/data/mod.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | pub(crate) fn decode_block( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode_array_block` [INFO] [stdout] --> src/data/mod.rs:205:15 [INFO] [stdout] | [INFO] [stdout] 205 | pub(crate) fn decode_array_block( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode_non_block` [INFO] [stdout] --> src/data/mod.rs:238:15 [INFO] [stdout] | [INFO] [stdout] 238 | pub(crate) fn decode_non_block(tr_layout: &TrLayout, raw_data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode_str` [INFO] [stdout] --> src/data/mod.rs:303:4 [INFO] [stdout] | [INFO] [stdout] 303 | fn decode_str(data: &[u8]) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode` [INFO] [stdout] --> src/data/mod.rs:323:15 [INFO] [stdout] | [INFO] [stdout] 323 | pub(crate) fn encode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode_block` [INFO] [stdout] --> src/data/mod.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn encode_block( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/response.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn new(code: &str, message: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/response.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/response.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | pub(crate) fn new(key: String, reg_key: String, data: Result) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode_ptr` [INFO] [stdout] --> src/euckr.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub unsafe fn decode_ptr(data: *const u8) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode` [INFO] [stdout] --> src/euckr.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn decode(data: &[u8]) -> Cow { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode` [INFO] [stdout] --> src/euckr.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn encode(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ctrlc v3.1.9 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stdout] error[E0425]: cannot find function `load` in crate `xingapi_res` [INFO] [stdout] --> src/data/tests.rs:14:69 [INFO] [stdout] | [INFO] [stdout] 14 | static ref LAYOUT_MAP: HashMap = xingapi_res::load().unwrap(); [INFO] [stdout] | ^^^^ not found in `xingapi_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LoginResponse`, `QueryResponse`, `RealResponse`, `data::Data`, `error::Error` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | data::Data, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | response::{LoginResponse, QueryResponse, RealResponse}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::Path`, `sync::Arc` [INFO] [stdout] --> src/lib.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | use std::{path::Path, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xingapi_res::TrLayout` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use xingapi_res::TrLayout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xingapi` due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a4270e2df98686da3ed731530daf170236a2bfe547fc475dd1753cf20368c633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4270e2df98686da3ed731530daf170236a2bfe547fc475dd1753cf20368c633", kill_on_drop: false }` [INFO] [stdout] a4270e2df98686da3ed731530daf170236a2bfe547fc475dd1753cf20368c633