[INFO] cloning repository https://github.com/jhance/rust-s3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jhance/rust-s3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhance%2Frust-s3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhance%2Frust-s3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84e493271baf54e9687d64575a65aa083cccb6f4 [INFO] checking jhance/rust-s3 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhance%2Frust-s3" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jhance/rust-s3 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jhance/rust-s3 [INFO] finished tweaking git repo https://github.com/jhance/rust-s3 [INFO] tweaked toml for git repo https://github.com/jhance/rust-s3 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/jhance/rust-s3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ba7fb568862b7b1c39c110ccdb2279dedce4579efecdfab6657a869fb03fbc13 [INFO] running `Command { std: "docker" "start" "-a" "ba7fb568862b7b1c39c110ccdb2279dedce4579efecdfab6657a869fb03fbc13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba7fb568862b7b1c39c110ccdb2279dedce4579efecdfab6657a869fb03fbc13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba7fb568862b7b1c39c110ccdb2279dedce4579efecdfab6657a869fb03fbc13", kill_on_drop: false }` [INFO] [stdout] ba7fb568862b7b1c39c110ccdb2279dedce4579efecdfab6657a869fb03fbc13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47b4da9c52a44e651912151a2597e14284b113e3f6830fde3fd8ca0f04d9d661 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "47b4da9c52a44e651912151a2597e14284b113e3f6830fde3fd8ca0f04d9d661", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking hyper v0.14.2 [INFO] [stderr] Checking 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] [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] [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] [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::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] [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::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::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::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] | ^^^^^^^^^^^ no `UTC` in the root [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 `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 `chrono::UTC` [INFO] [stdout] --> src/connection.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::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: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[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 `chrono::UTC` [INFO] [stdout] --> src/bucket.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::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: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[E0432]: unresolved import `chrono::UTC` [INFO] [stdout] --> src/bucket.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::UTC; [INFO] [stdout] | ^^^^^^^^^^^ no `UTC` in the root [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: cannot find macro `header` in this scope [INFO] [stdout] --> src/bucket.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | header! { (RequireTag, "If-Match") => [String] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `header` in this scope [INFO] [stdout] --> src/bucket.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | header! { (RequireNotTag, "If-None-Match") => [String] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `header` in this scope [INFO] [stdout] --> src/bucket.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | header! { (RequireModifiedSince, "If-Modified-Since") => [String] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `header` in this scope [INFO] [stdout] --> src/bucket.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | header! { (RequireNotModifiedSince, "If-Unmodified-Since") => [String] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `header` in this scope [INFO] [stdout] --> src/bucket.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | header! { (ByteRange, "Range:bytes") => [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:40:55 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get(&'a self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:52:82 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn put(&self, path: &str, source: &mut R) -> Result { [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:116:41 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn send(&self) -> Result { [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `status` in `hyper` [INFO] [stdout] --> src/bucket.rs:124:38 [INFO] [stdout] | [INFO] [stdout] 124 | if response.status == hyper::status::StatusCode::Ok { [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 134 | fn request(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `hyper` [INFO] [stdout] --> src/bucket.rs:134:63 [INFO] [stdout] | [INFO] [stdout] 134 | 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 `method` in `hyper` [INFO] [stdout] --> src/bucket.rs:136:67 [INFO] [stdout] | [INFO] [stdout] 136 | let mut request = try!(hyper::client::Request::new(hyper::method::Method::Get, url)); [INFO] [stdout] | ^^^^^^ could not find `method` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:189:44 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn send(mut self) -> Result { [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:197:44 [INFO] [stdout] | [INFO] [stdout] 197 | fn request(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `hyper` [INFO] [stdout] --> src/bucket.rs:197:67 [INFO] [stdout] | [INFO] [stdout] 197 | fn request(&mut 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 `method` in `hyper` [INFO] [stdout] --> src/bucket.rs:199:67 [INFO] [stdout] | [INFO] [stdout] 199 | let mut request = try!(hyper::client::Request::new(hyper::method::Method::Put, url)); [INFO] [stdout] | ^^^^^^ could not find `method` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `status` in `hyper` [INFO] [stdout] --> src/error.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | StatusError(hyper::status::StatusCode), [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/connection.rs:104:61 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn sign(&self, region: &str, request: &mut Request, payload: Option<&mut R>) -> Result<(), ::std::io::Error> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::Request; [INFO] [stdout] | [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:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | 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:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | 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:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | headers.set(Authorization(auth.to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/connection.rs:170:43 [INFO] [stdout] | [INFO] [stdout] 170 | fn canonical_request(&self, request: &Request, payload_hash: &str) -> String { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/connection.rs:235:42 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn send(&self, request: Request, payload: Option<&mut R>) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Url` in `hyper` [INFO] [stdout] --> src/bucket.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 135 | let url = try!(hyper::Url::parse(&self.bucket.object_url(&self.path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/http-0.2.2/src/uri/mod.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Uri { [INFO] [stdout] | -------------- similarly named struct `Uri` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 135 | let url = try!(hyper::Uri::parse(&self.bucket.object_url(&self.path))); [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use url::Url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:136:47 [INFO] [stdout] | [INFO] [stdout] 136 | let mut request = try!(hyper::client::Request::new(hyper::method::Method::Get, url)); [INFO] [stdout] | ^^^^^^^ not found in `hyper::client` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::Request; [INFO] [stdout] | [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[E0412]: cannot find type `Headers` in module `hyper::header` [INFO] [stdout] --> src/bucket.rs:144:57 [INFO] [stdout] | [INFO] [stdout] 144 | fn fill_headers(&self, headers: &mut hyper::header::Headers) { [INFO] [stdout] | ^^^^^^^ not found in `hyper::header` [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: cannot find macro `header` in this scope [INFO] [stdout] --> src/bucket.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | header! { (RequireTag, "If-Match") => [String] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `header` in this scope [INFO] [stdout] --> src/bucket.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | header! { (RequireNotTag, "If-None-Match") => [String] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RequireTag` in this scope [INFO] [stdout] --> src/bucket.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | Some(ref tag) => { headers.set(RequireTag(tag.to_string())); } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `header` in this scope [INFO] [stdout] --> src/bucket.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | header! { (RequireModifiedSince, "If-Modified-Since") => [String] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `header` in this scope [INFO] [stdout] --> src/bucket.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | header! { (RequireNotModifiedSince, "If-Unmodified-Since") => [String] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `header` in this scope [INFO] [stdout] --> src/bucket.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | header! { (ByteRange, "Range:bytes") => [String] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RequireNotTag` in this scope [INFO] [stdout] --> src/bucket.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 151 | Some(ref tag) => { headers.set(RequireNotTag(tag.to_string())); } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:40:55 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get(&'a self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:52:82 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn put(&self, path: &str, source: &mut R) -> Result { [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:116:41 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn send(&self) -> Result { [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RequireModifiedSince` in this scope [INFO] [stdout] --> src/bucket.rs:155:45 [INFO] [stdout] | [INFO] [stdout] 155 | Some(ref date) => { headers.set(RequireModifiedSince(date.to_string())); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `status` in `hyper` [INFO] [stdout] --> src/bucket.rs:124:38 [INFO] [stdout] | [INFO] [stdout] 124 | if response.status == hyper::status::StatusCode::Ok { [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 134 | fn request(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `hyper` [INFO] [stdout] --> src/bucket.rs:134:63 [INFO] [stdout] | [INFO] [stdout] 134 | fn request(&self) -> Result, Error> { [INFO] [stdout] | ^^^ could not find `net` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RequireNotModifiedSince` in this scope [INFO] [stdout] --> src/bucket.rs:159:45 [INFO] [stdout] | [INFO] [stdout] 159 | Some(ref date) => { headers.set(RequireNotModifiedSince(date.to_string())); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `method` in `hyper` [INFO] [stdout] --> src/bucket.rs:136:67 [INFO] [stdout] | [INFO] [stdout] 136 | let mut request = try!(hyper::client::Request::new(hyper::method::Method::Get, url)); [INFO] [stdout] | ^^^^^^ could not find `method` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:189:44 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn send(mut self) -> Result { [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:197:44 [INFO] [stdout] | [INFO] [stdout] 197 | fn request(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ByteRange` in this scope [INFO] [stdout] --> src/bucket.rs:163:49 [INFO] [stdout] | [INFO] [stdout] 163 | Some((start, end)) => { headers.set(ByteRange(format!("{}-{}", start, end))); } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `hyper` [INFO] [stdout] --> src/bucket.rs:197:67 [INFO] [stdout] | [INFO] [stdout] 197 | fn request(&mut 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 `method` in `hyper` [INFO] [stdout] --> src/bucket.rs:199:67 [INFO] [stdout] | [INFO] [stdout] 199 | let mut request = try!(hyper::client::Request::new(hyper::method::Method::Put, url)); [INFO] [stdout] | ^^^^^^ could not find `method` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `status` in `hyper` [INFO] [stdout] --> src/error.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | StatusError(hyper::status::StatusCode), [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/connection.rs:104:61 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn sign(&self, region: &str, request: &mut Request, payload: Option<&mut R>) -> Result<(), ::std::io::Error> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Url` in `hyper` [INFO] [stdout] --> src/bucket.rs:198:31 [INFO] [stdout] | [INFO] [stdout] 198 | let url = try!(hyper::Url::parse(&self.bucket.object_url(&self.path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/http-0.2.2/src/uri/mod.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Uri { [INFO] [stdout] | -------------- similarly named struct `Uri` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 198 | let url = try!(hyper::Uri::parse(&self.bucket.object_url(&self.path))); [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use url::Url; [INFO] [stdout] | [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:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | headers.set(XAMZHash(payload_hash.to_owned())); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:199:47 [INFO] [stdout] | [INFO] [stdout] 199 | let mut request = try!(hyper::client::Request::new(hyper::method::Method::Put, url)); [INFO] [stdout] | ^^^^^^^ not found in `hyper::client` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::Request; [INFO] [stdout] | [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:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | 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:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | headers.set(Authorization(auth.to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Headers` in module `hyper::header` [INFO] [stdout] --> src/bucket.rs:207:61 [INFO] [stdout] | [INFO] [stdout] 207 | fn fill_headers(&mut self, headers: &mut hyper::header::Headers) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ not found in `hyper::header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ContentLength` in module `hyper::header` [INFO] [stdout] --> src/bucket.rs:209:36 [INFO] [stdout] | [INFO] [stdout] 209 | headers.set(hyper::header::ContentLength(len as u64)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `hyper::header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/connection.rs:170:43 [INFO] [stdout] | [INFO] [stdout] 170 | fn canonical_request(&self, request: &Request, payload_hash: &str) -> String { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/connection.rs:235:42 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn send(&self, request: Request, payload: Option<&mut R>) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::Request; [INFO] [stdout] | [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/github.com-1ecc6299db9ec823/hyper-0.14.2/src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | mod error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/error.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | HttpError(hyper::error::Error), [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.14.2/src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | mod error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Url` in `hyper` [INFO] [stdout] --> src/bucket.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 135 | let url = try!(hyper::Url::parse(&self.bucket.object_url(&self.path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/http-0.2.2/src/uri/mod.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Uri { [INFO] [stdout] | -------------- similarly named struct `Uri` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 135 | let url = try!(hyper::Uri::parse(&self.bucket.object_url(&self.path))); [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use url::Url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/error.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl From for Error { [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.14.2/src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | mod error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/error.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | fn from(e: hyper::error::Error) -> Self { [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.14.2/src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | mod error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:136:47 [INFO] [stdout] | [INFO] [stdout] 136 | let mut request = try!(hyper::client::Request::new(hyper::method::Method::Get, url)); [INFO] [stdout] | ^^^^^^^ not found in `hyper::client` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Headers` in module `hyper::header` [INFO] [stdout] --> src/bucket.rs:144:57 [INFO] [stdout] | [INFO] [stdout] 144 | fn fill_headers(&self, headers: &mut hyper::header::Headers) { [INFO] [stdout] | ^^^^^^^ not found in `hyper::header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RequireTag` in this scope [INFO] [stdout] --> src/bucket.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | Some(ref tag) => { headers.set(RequireTag(tag.to_string())); } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RequireNotTag` in this scope [INFO] [stdout] --> src/bucket.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 151 | Some(ref tag) => { headers.set(RequireNotTag(tag.to_string())); } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RequireModifiedSince` in this scope [INFO] [stdout] --> src/bucket.rs:155:45 [INFO] [stdout] | [INFO] [stdout] 155 | Some(ref date) => { headers.set(RequireModifiedSince(date.to_string())); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RequireNotModifiedSince` in this scope [INFO] [stdout] --> src/bucket.rs:159:45 [INFO] [stdout] | [INFO] [stdout] 159 | Some(ref date) => { headers.set(RequireNotModifiedSince(date.to_string())); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ByteRange` in this scope [INFO] [stdout] --> src/bucket.rs:163:49 [INFO] [stdout] | [INFO] [stdout] 163 | Some((start, end)) => { headers.set(ByteRange(format!("{}-{}", start, end))); } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Url` in `hyper` [INFO] [stdout] --> src/bucket.rs:198:31 [INFO] [stdout] | [INFO] [stdout] 198 | let url = try!(hyper::Url::parse(&self.bucket.object_url(&self.path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/http-0.2.2/src/uri/mod.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Uri { [INFO] [stdout] | -------------- similarly named struct `Uri` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 198 | let url = try!(hyper::Uri::parse(&self.bucket.object_url(&self.path))); [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use url::Url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper` [INFO] [stdout] --> src/bucket.rs:199:47 [INFO] [stdout] | [INFO] [stdout] 199 | let mut request = try!(hyper::client::Request::new(hyper::method::Method::Put, url)); [INFO] [stdout] | ^^^^^^^ not found in `hyper::client` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Headers` in module `hyper::header` [INFO] [stdout] --> src/bucket.rs:207:61 [INFO] [stdout] | [INFO] [stdout] 207 | fn fill_headers(&mut self, headers: &mut hyper::header::Headers) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ not found in `hyper::header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ContentLength` in module `hyper::header` [INFO] [stdout] --> src/bucket.rs:209:36 [INFO] [stdout] | [INFO] [stdout] 209 | headers.set(hyper::header::ContentLength(len as u64)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `hyper::header` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | let payload_hash = try!(self.payload_hash(payload)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/github.com-1ecc6299db9ec823/hyper-0.14.2/src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | mod error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/error.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | HttpError(hyper::error::Error), [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.14.2/src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | mod error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/error.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl From for Error { [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.14.2/src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | mod error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/error.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | fn from(e: hyper::error::Error) -> Self { [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.14.2/src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | mod error; [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | let payload_hash = try!(self.payload_hash(payload)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:189:31 [INFO] [stdout] | [INFO] [stdout] 189 | Some(reader) => { try!(::std::io::copy(reader, &mut hash)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 239 | Some(s) => { try!(::std::io::copy(s, &mut srequest)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | let request = try!(self.request()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | Ok(try!(self.bucket.connection.send(request, payload))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | let mut response = try!(self.send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | try!(response.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | let url = try!(hyper::Url::parse(&self.bucket.object_url(&self.path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:136:27 [INFO] [stdout] | [INFO] [stdout] 136 | let mut request = try!(hyper::client::Request::new(hyper::method::Method::Get, url)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | try!(self.bucket.connection.sign(&self.bucket.region, &mut request, payload)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | let request = try!(self.request()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | Ok(try!(self.bucket.connection.send(request, Some(&mut self.source)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | let url = try!(hyper::Url::parse(&self.bucket.object_url(&self.path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:199:27 [INFO] [stdout] | [INFO] [stdout] 199 | let mut request = try!(hyper::client::Request::new(hyper::method::Method::Put, url)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(self.fill_headers(&mut request.headers_mut())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | try!(self.bucket.connection.sign(&self.bucket.region, &mut request, Some(&mut self.source))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | try!(self.source.seek(::std::io::SeekFrom::Start(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | let len = try!(self.source.seek(::std::io::SeekFrom::End(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | try!(self.source.seek(::std::io::SeekFrom::Start(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:189:31 [INFO] [stdout] | [INFO] [stdout] 189 | Some(reader) => { try!(::std::io::copy(reader, &mut hash)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 239 | Some(s) => { try!(::std::io::copy(s, &mut srequest)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | let request = try!(self.request()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | Ok(try!(self.bucket.connection.send(request, payload))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | let mut response = try!(self.send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | try!(response.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | let url = try!(hyper::Url::parse(&self.bucket.object_url(&self.path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:136:27 [INFO] [stdout] | [INFO] [stdout] 136 | let mut request = try!(hyper::client::Request::new(hyper::method::Method::Get, url)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | try!(self.bucket.connection.sign(&self.bucket.region, &mut request, payload)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | let request = try!(self.request()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | Ok(try!(self.bucket.connection.send(request, Some(&mut self.source)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | let url = try!(hyper::Url::parse(&self.bucket.object_url(&self.path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:199:27 [INFO] [stdout] | [INFO] [stdout] 199 | let mut request = try!(hyper::client::Request::new(hyper::method::Method::Put, url)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(self.fill_headers(&mut request.headers_mut())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | try!(self.bucket.connection.sign(&self.bucket.region, &mut request, Some(&mut self.source))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | try!(self.source.seek(::std::io::SeekFrom::Start(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | let len = try!(self.source.seek(::std::io::SeekFrom::End(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bucket.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | try!(self.source.seek(::std::io::SeekFrom::Start(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/connection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/connection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/connection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 52 previous errors; 22 warnings emitted [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/connection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 52 previous errors; 22 warnings emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "47b4da9c52a44e651912151a2597e14284b113e3f6830fde3fd8ca0f04d9d661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47b4da9c52a44e651912151a2597e14284b113e3f6830fde3fd8ca0f04d9d661", kill_on_drop: false }` [INFO] [stdout] 47b4da9c52a44e651912151a2597e14284b113e3f6830fde3fd8ca0f04d9d661