[INFO] fetching crate amethyst_assets 0.15.3... [INFO] checking amethyst_assets-0.15.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate amethyst_assets 0.15.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate amethyst_assets 0.15.3 [INFO] finished tweaking crates.io crate amethyst_assets 0.15.3 [INFO] tweaked toml for crates.io crate amethyst_assets 0.15.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate amethyst_assets 0.15.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate amethyst_assets 0.15.3 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 406a57dc9a3848d020c3a53c452eaff0e58a0344963ca494a3e0808de1197ec4 [INFO] running `Command { std: "docker" "start" "-a" "406a57dc9a3848d020c3a53c452eaff0e58a0344963ca494a3e0808de1197ec4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "406a57dc9a3848d020c3a53c452eaff0e58a0344963ca494a3e0808de1197ec4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "406a57dc9a3848d020c3a53c452eaff0e58a0344963ca494a3e0808de1197ec4", kill_on_drop: false }` [INFO] [stdout] 406a57dc9a3848d020c3a53c452eaff0e58a0344963ca494a3e0808de1197ec4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3448ece859596a6d1e5cc173c2a31ec9be8b7cc05fb4900da28afd387184f882 [INFO] running `Command { std: "docker" "start" "-a" "3448ece859596a6d1e5cc173c2a31ec9be8b7cc05fb4900da28afd387184f882", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling rustversion v1.0.3 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking tynm v0.1.4 [INFO] [stderr] Checking miniz_oxide v0.4.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Checking shrev v1.1.1 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Checking tuple_utils v0.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Compiling inventory v0.1.8 [INFO] [stderr] Checking mint v0.5.5 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling edit-distance v2.1.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking objekt v0.1.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling proc_macro_roids v0.7.0 [INFO] [stderr] Checking amethyst_error v0.15.3 [INFO] [stderr] Compiling shred-derive v0.6.2 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling alga_derive v0.9.2 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling inventory-impl v0.1.8 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling getset v0.0.9 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Checking shred v0.10.2 [INFO] [stderr] Compiling ctor v0.1.15 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Checking specs v0.16.1 [INFO] [stderr] Checking specs-hierarchy v0.6.0 [INFO] [stderr] Checking erased-serde v0.3.12 [INFO] [stderr] Checking ron v0.5.1 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking nalgebra v0.19.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling amethyst_derive v0.15.3 [INFO] [stderr] Checking amethyst_core v0.15.3 [INFO] [stderr] Checking amethyst_assets v0.15.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/dyn_format.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ no external crate `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dyn_format.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | let mut erased = erased_serde::Deserializer::erase(deserializer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | #![warn(missing_docs, rust_2018_idioms, rust_2018_compatibility)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 | let mut erased = ::erase(deserializer); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dyn_format.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | let mut erased = erased_serde::Deserializer::erase(deserializer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | #![warn(missing_docs, rust_2018_idioms, rust_2018_compatibility)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 | let mut erased = ::erase(deserializer); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `amethyst_assets` (lib test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `JsonFormat` is never constructed [INFO] [stdout] --> src/formats.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct JsonFormat; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3448ece859596a6d1e5cc173c2a31ec9be8b7cc05fb4900da28afd387184f882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3448ece859596a6d1e5cc173c2a31ec9be8b7cc05fb4900da28afd387184f882", kill_on_drop: false }` [INFO] [stdout] 3448ece859596a6d1e5cc173c2a31ec9be8b7cc05fb4900da28afd387184f882