[INFO] fetching crate spotifyrs 0.3.0-beta.5... [INFO] testing spotifyrs-0.3.0-beta.5 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate spotifyrs 0.3.0-beta.5 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate spotifyrs 0.3.0-beta.5 [INFO] finished tweaking crates.io crate spotifyrs 0.3.0-beta.5 [INFO] tweaked toml for crates.io crate spotifyrs 0.3.0-beta.5 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spotifyrs 0.3.0-beta.5 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 306 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding open v3.2.0 (available: v5.3.2) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69b41d2bcae160043a02555a86353eee7d9ec6f23ee66e5a6f6d3874e4eae3bb [INFO] running `Command { std: "docker" "start" "-a" "69b41d2bcae160043a02555a86353eee7d9ec6f23ee66e5a6f6d3874e4eae3bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69b41d2bcae160043a02555a86353eee7d9ec6f23ee66e5a6f6d3874e4eae3bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69b41d2bcae160043a02555a86353eee7d9ec6f23ee66e5a6f6d3874e4eae3bb", kill_on_drop: false }` [INFO] [stdout] 69b41d2bcae160043a02555a86353eee7d9ec6f23ee66e5a6f6d3874e4eae3bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7495c6acc00e8bb11380243c0a16d8ac1d96193b252727bcc96784fda3f1def [INFO] running `Command { std: "docker" "start" "-a" "a7495c6acc00e8bb11380243c0a16d8ac1d96193b252727bcc96784fda3f1def", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libnghttp2-sys v0.1.11+1.64.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.104 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling spinning_top v0.2.5 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling random-string v1.1.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling querystring v1.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [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 serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling web-sys v0.3.81 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling surf v2.3.2 [INFO] [stderr] Compiling spotifyrs v0.3.0-beta.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/player.rs:389:64 [INFO] [stdout] | [INFO] [stdout] 389 | url_extension.push_str(&format!("&after={}", after.timestamp_millis())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/player.rs:396:70 [INFO] [stdout] | [INFO] [stdout] 396 | url_extension.push_str(&format!("&before={}", before.timestamp_millis())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/object_formatting.rs:1283:47 [INFO] [stdout] | [INFO] [stdout] 1283 | ... Some(timestamp) => NaiveDateTime::from_timestamp_opt(timestamp / 1000, 0), // parse timestamp into NaiveDateTime (timestamp is in ms) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "a7495c6acc00e8bb11380243c0a16d8ac1d96193b252727bcc96784fda3f1def", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7495c6acc00e8bb11380243c0a16d8ac1d96193b252727bcc96784fda3f1def", kill_on_drop: false }` [INFO] [stdout] a7495c6acc00e8bb11380243c0a16d8ac1d96193b252727bcc96784fda3f1def [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a3334e5b5685f9d85bad0e11f6a3f029f1c5e48e71d17360d6da8e396f14529 [INFO] running `Command { std: "docker" "start" "-a" "2a3334e5b5685f9d85bad0e11f6a3f029f1c5e48e71d17360d6da8e396f14529", kill_on_drop: false }` [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/player.rs:389:64 [INFO] [stdout] | [INFO] [stdout] 389 | url_extension.push_str(&format!("&after={}", after.timestamp_millis())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/player.rs:396:70 [INFO] [stdout] | [INFO] [stdout] 396 | url_extension.push_str(&format!("&before={}", before.timestamp_millis())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/object_formatting.rs:1283:47 [INFO] [stdout] | [INFO] [stdout] 1283 | ... Some(timestamp) => NaiveDateTime::from_timestamp_opt(timestamp / 1000, 0), // parse timestamp into NaiveDateTime (timestamp is in ms) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling spotifyrs v0.3.0-beta.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `spotifyrs::requesturl_authorization_code` [INFO] [stdout] --> tests/general_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use spotifyrs::requesturl_authorization_code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_from_file` found for struct `Spotify` in the current scope [INFO] [stdout] --> tests/general_test.rs:20:49 [INFO] [stdout] | [INFO] [stdout] 20 | let spotify = tokio_test::block_on(Spotify::new_from_file(".saved_credentials")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Spotify` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Spotify`, consider using `Spotify::new` which returns `Spotify` [INFO] [stdout] --> /opt/rustwide/workdir/src/spotify.rs:794:5 [INFO] [stdout] | [INFO] [stdout] 794 | pub fn new() -> Spotify { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spotifyrs` (test "general_test") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/player.rs:389:64 [INFO] [stdout] | [INFO] [stdout] 389 | url_extension.push_str(&format!("&after={}", after.timestamp_millis())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/player.rs:396:70 [INFO] [stdout] | [INFO] [stdout] 396 | url_extension.push_str(&format!("&before={}", before.timestamp_millis())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/object_formatting.rs:1283:47 [INFO] [stdout] | [INFO] [stdout] 1283 | ... Some(timestamp) => NaiveDateTime::from_timestamp_opt(timestamp / 1000, 0), // parse timestamp into NaiveDateTime (timestamp is in ms) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2a3334e5b5685f9d85bad0e11f6a3f029f1c5e48e71d17360d6da8e396f14529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a3334e5b5685f9d85bad0e11f6a3f029f1c5e48e71d17360d6da8e396f14529", kill_on_drop: false }` [INFO] [stdout] 2a3334e5b5685f9d85bad0e11f6a3f029f1c5e48e71d17360d6da8e396f14529