[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhance%2Frust-s3" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jhance/rust-s3 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-2/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cc7f0af45616816a942f092a4b889ee278ac58e71089de304e3b773bdf33e67 [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" "7cc7f0af45616816a942f092a4b889ee278ac58e71089de304e3b773bdf33e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cc7f0af45616816a942f092a4b889ee278ac58e71089de304e3b773bdf33e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cc7f0af45616816a942f092a4b889ee278ac58e71089de304e3b773bdf33e67", kill_on_drop: false }` [INFO] [stdout] 7cc7f0af45616816a942f092a4b889ee278ac58e71089de304e3b773bdf33e67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4957c40703855f1b1fa028d86793c5c4092ef92a77393e1b0a79b503e9a2f56b [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" "4957c40703855f1b1fa028d86793c5c4092ef92a77393e1b0a79b503e9a2f56b", kill_on_drop: false }` [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking openssl-sys v0.9.58 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking openssl v0.10.30 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking sss v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hyper::client::request` [INFO] [stdout] --> src/connection.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::client::request::Request; [INFO] [stdout] | ^^^^^^^ could not find `request` in `client` [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] | ^^^^^^^^^^^ 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[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 `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 `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[E0432]: unresolved import `hyper::client::request` [INFO] [stdout] --> src/connection.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::client::request::Request; [INFO] [stdout] | ^^^^^^^ could not find `request` in `client` [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] | ^^^^^^^^^^^ 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[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[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[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[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.1/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[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/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 `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.1/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[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[E0603]: struct `Response` is private [INFO] [stdout] --> src/connection.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::client::Response; [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/bucket.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get(&'a self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/bucket.rs:52:90 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn put(&self, path: &str, source: &mut R) -> Result { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/bucket.rs:116:49 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn send(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Request` is private [INFO] [stdout] --> src/bucket.rs:134:48 [INFO] [stdout] | [INFO] [stdout] 134 | fn request(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Request` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Request` is private [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] | ^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Request` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/bucket.rs:189:52 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn send(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Request` is private [INFO] [stdout] --> src/bucket.rs:197:52 [INFO] [stdout] | [INFO] [stdout] 197 | fn request(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Request` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Request` is private [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] | ^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Request` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^ [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: 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 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] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/bucket.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get(&'a self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/bucket.rs:52:75 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn put(&self, path: &str, source: &mut R) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/bucket.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn send(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/bucket.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn send(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [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] [stderr] error: could not compile `sss` [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] [stderr] [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] [stderr] To learn more, run the command again with --verbose. [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] [stderr] warning: build failed, waiting for other jobs to finish... [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[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[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.1/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[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.1/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[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[E0603]: struct `Response` is private [INFO] [stdout] --> src/connection.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::client::Response; [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/bucket.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get(&'a self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/bucket.rs:52:90 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn put(&self, path: &str, source: &mut R) -> Result { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/bucket.rs:116:49 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn send(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Request` is private [INFO] [stdout] --> src/bucket.rs:134:48 [INFO] [stdout] | [INFO] [stdout] 134 | fn request(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Request` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Request` is private [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] | ^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Request` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/bucket.rs:189:52 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn send(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Request` is private [INFO] [stdout] --> src/bucket.rs:197:52 [INFO] [stdout] | [INFO] [stdout] 197 | fn request(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Request` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Request` is private [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] | ^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Request` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.9/src/client/mod.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^ [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: 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 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] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/bucket.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get(&'a self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/bucket.rs:52:75 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn put(&self, path: &str, source: &mut R) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/bucket.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn send(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/bucket.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn send(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4957c40703855f1b1fa028d86793c5c4092ef92a77393e1b0a79b503e9a2f56b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4957c40703855f1b1fa028d86793c5c4092ef92a77393e1b0a79b503e9a2f56b", kill_on_drop: false }` [INFO] [stdout] 4957c40703855f1b1fa028d86793c5c4092ef92a77393e1b0a79b503e9a2f56b