[INFO] fetching crate sss 0.0.0... [INFO] testing sss-0.0.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate sss 0.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate sss 0.0.0 [INFO] finished tweaking crates.io crate sss 0.0.0 [INFO] tweaked toml for crates.io crate sss 0.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sss 0.0.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 85 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92f09482f8c28532613a8870ad2111bdee551f9442f49e2893c7f0b46b97d645 [INFO] running `Command { std: "docker" "start" "-a" "92f09482f8c28532613a8870ad2111bdee551f9442f49e2893c7f0b46b97d645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92f09482f8c28532613a8870ad2111bdee551f9442f49e2893c7f0b46b97d645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92f09482f8c28532613a8870ad2111bdee551f9442f49e2893c7f0b46b97d645", kill_on_drop: false }` [INFO] [stdout] 92f09482f8c28532613a8870ad2111bdee551f9442f49e2893c7f0b46b97d645 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90e51a96a88c33479a88d884b82715a11aebe4cadbcc2346c80633fe41dd1083 [INFO] running `Command { std: "docker" "start" "-a" "90e51a96a88c33479a88d884b82715a11aebe4cadbcc2346c80633fe41dd1083", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling sss v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/connection.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::client::request::Request; [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.7.0/src/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 130 | #![feature = "client"] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 131 | [INFO] [stdout] 132 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::client` [INFO] [stdout] --> src/connection.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::client::Response; [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.7.0/src/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 130 | #![feature = "client"] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 131 | [INFO] [stdout] 132 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::header::Headers` [INFO] [stdout] --> src/connection.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::header::Headers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `Headers` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::header::HeaderView` [INFO] [stdout] --> src/connection.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper::header::HeaderView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `HeaderView` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::net` [INFO] [stdout] --> src/connection.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use hyper::net::Fresh; [INFO] [stdout] | ^^^ could not find `net` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::Url` [INFO] [stdout] --> src/connection.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper::Url; [INFO] [stdout] | ^^^^^^^--- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Uri` [INFO] [stdout] | no `Url` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono::UTC` [INFO] [stdout] --> src/connection.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::UTC; [INFO] [stdout] | ^^^^^^^^--- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Utc` [INFO] [stdout] | no `UTC` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openssl::crypto` [INFO] [stdout] --> src/connection.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use openssl::crypto::hash; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openssl::crypto` [INFO] [stdout] --> src/connection.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use openssl::crypto::hmac; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `header` in this scope [INFO] [stdout] --> src/connection.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | header! { (XAMZHash, "x-amz-content-sha256") => [String] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `header` in this scope [INFO] [stdout] --> src/connection.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | header! { (XAMZDate, "x-amz-date") => [String] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `header` in this scope [INFO] [stdout] --> src/connection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | header! { (Authorization, "Authorization") => [String] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn send(&self) -> Result { [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.7.0/src/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 130 | #![feature = "client"] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 131 | [INFO] [stdout] 132 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:77:40 [INFO] [stdout] | [INFO] [stdout] 77 | fn request(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.7.0/src/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 130 | #![feature = "client"] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 131 | [INFO] [stdout] 132 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `hyper` [INFO] [stdout] --> src/bucket.rs:77:63 [INFO] [stdout] | [INFO] [stdout] 77 | fn request(&self) -> Result, Error> { [INFO] [stdout] | ^^^ could not find `net` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Url` in `hyper` [INFO] [stdout] --> src/bucket.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | let url = hyper::Url::parse(&self.bucket.object_url(&self.path)) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | could not find `Url` in `hyper` [INFO] [stdout] | help: a struct with a similar name exists: `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `status` in `hyper` [INFO] [stdout] --> src/bucket.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | if response.status == hyper::status::StatusCode::Ok { [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 63 - if response.status == hyper::status::StatusCode::Ok { [INFO] [stdout] 63 + if response.status == StatusCode::Ok { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | let mut request = hyper::client::Request::new(hyper::method::Method::Get, url).ok().expect("could not create request"); [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.7.0/src/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 130 | #![feature = "client"] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 131 | [INFO] [stdout] 132 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::Request; [INFO] [stdout] | [INFO] [stdout] help: if you import `Request`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 80 - let mut request = hyper::client::Request::new(hyper::method::Method::Get, url).ok().expect("could not create request"); [INFO] [stdout] 80 + let mut request = Request::new(hyper::method::Method::Get, url).ok().expect("could not create request"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `method` in `hyper` [INFO] [stdout] --> src/bucket.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | let mut request = hyper::client::Request::new(hyper::method::Method::Get, url).ok().expect("could not create request"); [INFO] [stdout] | ^^^^^^ could not find `method` in `hyper` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::Method; [INFO] [stdout] | [INFO] [stdout] help: if you import `Method`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 80 - let mut request = hyper::client::Request::new(hyper::method::Method::Get, url).ok().expect("could not create request"); [INFO] [stdout] 80 + let mut request = hyper::client::Request::new(Method::Get, url).ok().expect("could not create request"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Headers` in module `hyper::header` [INFO] [stdout] --> src/bucket.rs:86:57 [INFO] [stdout] | [INFO] [stdout] 86 | fn fill_headers(&self, headers: &mut hyper::header::Headers) { [INFO] [stdout] | ^^^^^^^ not found in `hyper::header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/connection.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use hyper::error; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.7.0/src/lib.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | mod error; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/bucket.rs:56:66 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn send(&self) -> Result { [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.7.0/src/lib.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | mod error; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 56 - pub fn send(&self) -> Result { [INFO] [stdout] 56 + pub fn send(&self) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/connection.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XAMZHash` in this scope [INFO] [stdout] --> src/connection.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | headers.set(XAMZHash(payload_hash.to_owned())); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XAMZDate` in this scope [INFO] [stdout] --> src/connection.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | headers.set(XAMZDate(self.timestamp(&dt))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Authorization` in this scope [INFO] [stdout] --> src/connection.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | headers.set(Authorization(auth.to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/bucket.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn to_file(&self, path: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sss` (lib) due to 25 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "90e51a96a88c33479a88d884b82715a11aebe4cadbcc2346c80633fe41dd1083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90e51a96a88c33479a88d884b82715a11aebe4cadbcc2346c80633fe41dd1083", kill_on_drop: false }` [INFO] [stdout] 90e51a96a88c33479a88d884b82715a11aebe4cadbcc2346c80633fe41dd1083