[INFO] fetching crate super-spotify-core 0.0.1... [INFO] testing super-spotify-core-0.0.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate super-spotify-core 0.0.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate super-spotify-core 0.0.1 [INFO] finished tweaking crates.io crate super-spotify-core 0.0.1 [INFO] tweaked toml for crates.io crate super-spotify-core 0.0.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate super-spotify-core 0.0.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 261 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding governor v0.5.1 (available: v0.10.1) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.7.0) [INFO] [stderr] Adding hyper-rustls v0.24.2 (available: v0.27.7) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding priority-queue v1.4.0 (available: v2.7.0) [INFO] [stderr] Adding quick-xml v0.29.0 (available: v0.38.3) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding super-spotify-protocol v0.0.1 (available: v0.0.2) [INFO] [stderr] Adding sysinfo v0.29.11 (available: v0.37.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tokio-tungstenite v0.20.1 (available: v0.28.0) [INFO] [stderr] Adding vergen v8.3.2 (available: v9.0.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread-id v4.2.2 [INFO] [stderr] Downloaded priority-queue v1.4.0 [INFO] [stderr] Downloaded ct-logs v0.8.0 [INFO] [stderr] Downloaded rustls-native-certs v0.5.0 [INFO] [stderr] Downloaded governor v0.5.1 [INFO] [stderr] Downloaded quick-xml v0.29.0 [INFO] [stderr] Downloaded vergen v8.3.2 [INFO] [stderr] Downloaded headers v0.3.9 [INFO] [stderr] Downloaded super-spotify-protocol v0.0.1 [INFO] [stderr] Downloaded shannon v0.2.0 [INFO] [stderr] Downloaded dns-sd v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 563a44288bebc7c7ae3da8a0134c59b6489917ddc40df1eaa2a9d0d3fc5dfef0 [INFO] running `Command { std: "docker" "start" "-a" "563a44288bebc7c7ae3da8a0134c59b6489917ddc40df1eaa2a9d0d3fc5dfef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "563a44288bebc7c7ae3da8a0134c59b6489917ddc40df1eaa2a9d0d3fc5dfef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "563a44288bebc7c7ae3da8a0134c59b6489917ddc40df1eaa2a9d0d3fc5dfef0", kill_on_drop: false }` [INFO] [stdout] 563a44288bebc7c7ae3da8a0134c59b6489917ddc40df1eaa2a9d0d3fc5dfef0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4518d316f162777e670d774532284949ba8ad811234cfa50129036dfe7a9d1f9 [INFO] running `Command { std: "docker" "start" "-a" "4518d316f162777e670d774532284949ba8ad811234cfa50129036dfe7a9d1f9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling vergen v8.3.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling super-spotify-core v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling nonzero_ext v0.3.0 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] warning: super-spotify-core@0.0.1: not within a suitable 'git' worktree! [INFO] [stderr] warning: super-spotify-core@0.0.1: VERGEN_GIT_COMMIT_DATE set to default [INFO] [stderr] warning: super-spotify-core@0.0.1: VERGEN_GIT_SHA set to default [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling governor v0.5.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling shannon v0.2.0 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling quick-xml v0.29.0 [INFO] [stderr] Compiling protobuf-parse v3.7.2 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling protobuf-codegen v3.7.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling super-spotify-protocol v0.0.1 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-proxy v0.9.1 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/packet.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PacketType` [INFO] [stdout] 6 | pub enum PacketType { [INFO] [stdout] | ---------- `PacketType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/packet.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PacketType` [INFO] [stdout] 6 | pub enum PacketType { [INFO] [stdout] | ---------- `PacketType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4518d316f162777e670d774532284949ba8ad811234cfa50129036dfe7a9d1f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4518d316f162777e670d774532284949ba8ad811234cfa50129036dfe7a9d1f9", kill_on_drop: false }` [INFO] [stdout] 4518d316f162777e670d774532284949ba8ad811234cfa50129036dfe7a9d1f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c510ad5f564babaa90188cf87d32a0eb0f53b5a63234952689c8a4c384cf17b4 [INFO] running `Command { std: "docker" "start" "-a" "c510ad5f564babaa90188cf87d32a0eb0f53b5a63234952689c8a4c384cf17b4", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling protobuf-parse v3.7.2 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] warning: super-spotify-core@0.0.1: not within a suitable 'git' worktree! [INFO] [stderr] warning: super-spotify-core@0.0.1: VERGEN_GIT_COMMIT_DATE set to default [INFO] [stderr] warning: super-spotify-core@0.0.1: VERGEN_GIT_SHA set to default [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling hyper-proxy v0.9.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling protobuf-codegen v3.7.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling super-spotify-protocol v0.0.1 [INFO] [stderr] Compiling super-spotify-core v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/packet.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PacketType` [INFO] [stdout] 6 | pub enum PacketType { [INFO] [stdout] | ---------- `PacketType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/packet.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PacketType` [INFO] [stdout] 6 | pub enum PacketType { [INFO] [stdout] | ---------- `PacketType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `librespot_core` [INFO] [stdout] --> tests/connect.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use librespot_core::{authentication::Credentials, config::SessionConfig, session::Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `librespot_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `librespot_core`, use `cargo add librespot_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] warning: super-spotify-core@0.0.1: not within a suitable 'git' worktree! [INFO] [stderr] warning: super-spotify-core@0.0.1: VERGEN_GIT_COMMIT_DATE set to default [INFO] [stderr] warning: super-spotify-core@0.0.1: VERGEN_GIT_SHA set to default [INFO] [stderr] error: could not compile `super-spotify-core` (test "connect") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/packet.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PacketType` [INFO] [stdout] 6 | pub enum PacketType { [INFO] [stdout] | ---------- `PacketType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/packet.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PacketType` [INFO] [stdout] 6 | pub enum PacketType { [INFO] [stdout] | ---------- `PacketType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c510ad5f564babaa90188cf87d32a0eb0f53b5a63234952689c8a4c384cf17b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c510ad5f564babaa90188cf87d32a0eb0f53b5a63234952689c8a4c384cf17b4", kill_on_drop: false }` [INFO] [stdout] c510ad5f564babaa90188cf87d32a0eb0f53b5a63234952689c8a4c384cf17b4