[INFO] fetching crate super-spotify-core 0.0.1... [INFO] checking super-spotify-core-0.0.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate super-spotify-core 0.0.1 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate super-spotify-core 0.0.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 264 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.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.6.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.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding super-spotify-protocol v0.0.1 (available: v0.0.2) [INFO] [stderr] Adding sysinfo v0.29.11 (available: v0.35.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shannon v0.2.0 [INFO] [stderr] Downloaded dns-sd v0.1.3 [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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05df455f6eeb560d7d568f1ffb503812388c925d8a7182cfdb421202f8ff183c [INFO] running `Command { std: "docker" "start" "-a" "05df455f6eeb560d7d568f1ffb503812388c925d8a7182cfdb421202f8ff183c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05df455f6eeb560d7d568f1ffb503812388c925d8a7182cfdb421202f8ff183c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05df455f6eeb560d7d568f1ffb503812388c925d8a7182cfdb421202f8ff183c", kill_on_drop: false }` [INFO] [stdout] 05df455f6eeb560d7d568f1ffb503812388c925d8a7182cfdb421202f8ff183c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5aa89b7da48e50183f0b59312aaac6aa68fce5c0074d8b2a649fc9bc05b287ce [INFO] running `Command { std: "docker" "start" "-a" "5aa89b7da48e50183f0b59312aaac6aa68fce5c0074d8b2a649fc9bc05b287ce", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling vergen v8.3.2 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking nonzero_ext v0.3.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking shannon v0.2.0 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking sysinfo v0.29.11 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking rsa v0.9.8 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling super-spotify-core v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [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] 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 tokio v1.45.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [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 idna v1.0.3 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking quick-xml v0.29.0 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Compiling protobuf-parse v3.7.2 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling protobuf-codegen v3.7.2 [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" "5aa89b7da48e50183f0b59312aaac6aa68fce5c0074d8b2a649fc9bc05b287ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aa89b7da48e50183f0b59312aaac6aa68fce5c0074d8b2a649fc9bc05b287ce", kill_on_drop: false }` [INFO] [stdout] 5aa89b7da48e50183f0b59312aaac6aa68fce5c0074d8b2a649fc9bc05b287ce