[INFO] fetching crate super-spotify-core 0.0.1... [INFO] checking super-spotify-core-0.0.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate super-spotify-core 0.0.1 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate super-spotify-core 0.0.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 268 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.5.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.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding tokio-tungstenite v0.20.1 (available: v0.27.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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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 dns-sd v0.1.3 [INFO] [stderr] Downloaded shannon v0.2.0 [INFO] [stderr] Downloaded governor v0.5.1 [INFO] [stderr] Downloaded quick-xml v0.29.0 [INFO] [stderr] Downloaded super-spotify-protocol v0.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f78f27a9d6b78d83553addb58fa0f5d0c89dc9a541d6e63a345f7f494baec2e [INFO] running `Command { std: "docker" "start" "-a" "9f78f27a9d6b78d83553addb58fa0f5d0c89dc9a541d6e63a345f7f494baec2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f78f27a9d6b78d83553addb58fa0f5d0c89dc9a541d6e63a345f7f494baec2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f78f27a9d6b78d83553addb58fa0f5d0c89dc9a541d6e63a345f7f494baec2e", kill_on_drop: false }` [INFO] [stdout] 9f78f27a9d6b78d83553addb58fa0f5d0c89dc9a541d6e63a345f7f494baec2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 970ae4c8f683fe7e085383fb13c341173c726b99fcc2a4adc260df74730ff001 [INFO] running `Command { std: "docker" "start" "-a" "970ae4c8f683fe7e085383fb13c341173c726b99fcc2a4adc260df74730ff001", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking object v0.36.7 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling vergen v8.3.2 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking nonzero_ext v0.3.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking shannon v0.2.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sysinfo v0.29.11 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking rsa v0.9.8 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking ct-logs v0.8.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 thiserror-impl v1.0.69 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling super-spotify-core v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking regex v1.11.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] Checking env_logger v0.10.2 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking governor v0.5.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling protobuf-parse v3.7.2 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking quick-xml v0.29.0 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Compiling protobuf-codegen v3.7.2 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling super-spotify-protocol v0.0.1 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking 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] [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] running `Command { std: "docker" "inspect" "970ae4c8f683fe7e085383fb13c341173c726b99fcc2a4adc260df74730ff001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "970ae4c8f683fe7e085383fb13c341173c726b99fcc2a4adc260df74730ff001", kill_on_drop: false }` [INFO] [stdout] 970ae4c8f683fe7e085383fb13c341173c726b99fcc2a4adc260df74730ff001