[INFO] cloning repository https://github.com/pindell-matt/hyper_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pindell-matt/hyper_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpindell-matt%2Fhyper_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpindell-matt%2Fhyper_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4eb99c2c9cf9a7b57fbc9763a8f3664796ee4acf [INFO] testing pindell-matt/hyper_test against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpindell-matt%2Fhyper_test" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pindell-matt/hyper_test on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pindell-matt/hyper_test [INFO] finished tweaking git repo https://github.com/pindell-matt/hyper_test [INFO] tweaked toml for git repo https://github.com/pindell-matt/hyper_test written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/pindell-matt/hyper_test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/servo/rust-url` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] ba50c78855cf6d14e0f6bcd296c457d03058fbd02b4271d7ce6eaef2ac6421e6 [INFO] running `Command { std: "docker" "start" "-a" "ba50c78855cf6d14e0f6bcd296c457d03058fbd02b4271d7ce6eaef2ac6421e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba50c78855cf6d14e0f6bcd296c457d03058fbd02b4271d7ce6eaef2ac6421e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba50c78855cf6d14e0f6bcd296c457d03058fbd02b4271d7ce6eaef2ac6421e6", kill_on_drop: false }` [INFO] [stdout] ba50c78855cf6d14e0f6bcd296c457d03058fbd02b4271d7ce6eaef2ac6421e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 378fee76baa47e8258f09771c6a3568f92cfd1a26c5a5dfb2eb096bdf1b1c5b1 [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" "378fee76baa47e8258f09771c6a3568f92cfd1a26c5a5dfb2eb096bdf1b1c5b1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 (https://github.com/servo/rust-url#c2f92279) [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling tracing-core v0.1.11 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.0 (https://github.com/servo/rust-url#c2f92279) [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling tracing v0.1.17 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling idna v0.2.0 (https://github.com/servo/rust-url#c2f92279) [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling url v2.1.1 (https://github.com/servo/rust-url#c2f92279) [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling hyper_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | let mut response = try!(client.get(url).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | try!(response.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/main.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | let mut response = try!(client.post(url).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | try!(response.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustc_serialize::Encodable` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rustc_serialize::Encodable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Encoder` [INFO] [stdout] --> src/main.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use rustc_serialize::json::{self, Encoder}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::form_urlencoded` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use url::form_urlencoded; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | let mut response = try!(client.get(url).send()); [INFO] [stdout] | ^^^ expected struct `hyper::Uri`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send` found for struct `hyper::client::ResponseFuture` in the current scope [INFO] [stdout] --> src/main.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | let mut response = try!(client.get(url).send()); [INFO] [stdout] | ^^^^ method not found in `hyper::client::ResponseFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `post` found for struct `hyper::Client` in the current scope [INFO] [stdout] --> src/main.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | let mut response = try!(client.post(url).send()); [INFO] [stdout] | ^^^^ method not found in `hyper::Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hyper_test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "378fee76baa47e8258f09771c6a3568f92cfd1a26c5a5dfb2eb096bdf1b1c5b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "378fee76baa47e8258f09771c6a3568f92cfd1a26c5a5dfb2eb096bdf1b1c5b1", kill_on_drop: false }` [INFO] [stdout] 378fee76baa47e8258f09771c6a3568f92cfd1a26c5a5dfb2eb096bdf1b1c5b1