[INFO] fetching crate xingapi 0.2.12... [INFO] checking xingapi-0.2.12 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate xingapi 0.2.12 into /workspace/builds/worker-36/source [INFO] validating manifest of crates.io crate xingapi 0.2.12 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-36/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded packed_simd_2 v0.3.4 [INFO] [stderr] Downloaded hex-literal v0.3.1 [INFO] [stderr] Downloaded xingapi-res v0.2.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec6f1b05ef065502545db4da6204a70d052d96657e015f62617dfdd443f9f487 [INFO] running `Command { std: "docker" "start" "-a" "ec6f1b05ef065502545db4da6204a70d052d96657e015f62617dfdd443f9f487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec6f1b05ef065502545db4da6204a70d052d96657e015f62617dfdd443f9f487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec6f1b05ef065502545db4da6204a70d052d96657e015f62617dfdd443f9f487", kill_on_drop: false }` [INFO] [stdout] ec6f1b05ef065502545db4da6204a70d052d96657e015f62617dfdd443f9f487 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d34f4f3fdbeea75b4a1a4f3422a8e073ea9e897e3989be05e08904022139c1e [INFO] running `Command { std: "docker" "start" "-a" "5d34f4f3fdbeea75b4a1a4f3422a8e073ea9e897e3989be05e08904022139c1e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking array-init v1.0.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling hex-literal v0.3.1 [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 async-lock v2.4.0 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking xingapi-res v0.2.12 [INFO] [stderr] Checking xingapi v0.2.12 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (3 fixes) [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Checking ctrlc v3.1.9 [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] error: aborting due to previous error [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 [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5d34f4f3fdbeea75b4a1a4f3422a8e073ea9e897e3989be05e08904022139c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d34f4f3fdbeea75b4a1a4f3422a8e073ea9e897e3989be05e08904022139c1e", kill_on_drop: false }` [INFO] [stdout] 5d34f4f3fdbeea75b4a1a4f3422a8e073ea9e897e3989be05e08904022139c1e