[INFO] cloning repository https://github.com/l1x/hammer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/l1x/hammer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl1x%2Fhammer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl1x%2Fhammer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49c7d20f9a93c734390b335f77e2592979beabed [INFO] checking l1x/hammer against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl1x%2Fhammer" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/l1x/hammer on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/l1x/hammer [INFO] finished tweaking git repo https://github.com/l1x/hammer [INFO] tweaked toml for git repo https://github.com/l1x/hammer written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/l1x/hammer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] 31ca6c835f0debf88a1b2bf53ba7ea1197e960b3e8513ef1bc0a8995775247a2 [INFO] running `Command { std: "docker" "start" "-a" "31ca6c835f0debf88a1b2bf53ba7ea1197e960b3e8513ef1bc0a8995775247a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31ca6c835f0debf88a1b2bf53ba7ea1197e960b3e8513ef1bc0a8995775247a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31ca6c835f0debf88a1b2bf53ba7ea1197e960b3e8513ef1bc0a8995775247a2", kill_on_drop: false }` [INFO] [stdout] 31ca6c835f0debf88a1b2bf53ba7ea1197e960b3e8513ef1bc0a8995775247a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2128b08b736c39e779581d665e58cc71953c2d9f2384982b0d6783dc62728448 [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" "2128b08b736c39e779581d665e58cc71953c2d9f2384982b0d6783dc62728448", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking hammer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `read_to_end` found for struct `hyper::client::Response` in the current scope [INFO] [stdout] --> src/main.rs:26:69 [INFO] [stdout] | [INFO] [stdout] 26 | let res = client.get("http://localhost:8080/hello").send()?.read_to_end(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `hyper::client::Response` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `Try`) [INFO] [stdout] --> src/main.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 19 | thread::spawn(move || { [INFO] [stdout] | ___________________- [INFO] [stdout] 20 | | let client = Client::new(); [INFO] [stdout] 21 | | let mut perf = Vec::with_capacity(NREQ as usize); [INFO] [stdout] 22 | | [INFO] [stdout] ... | [INFO] [stdout] 26 | | let res = client.get("http://localhost:8080/hello").send()?.read_to_end(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 42 | | [INFO] [stdout] 43 | | }); [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_to_end` found for struct `hyper::client::Response` in the current scope [INFO] [stdout] --> src/main.rs:26:69 [INFO] [stdout] | [INFO] [stdout] 26 | let res = client.get("http://localhost:8080/hello").send()?.read_to_end(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `hyper::client::Response` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `Try`) [INFO] [stdout] --> src/main.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 19 | thread::spawn(move || { [INFO] [stdout] | ___________________- [INFO] [stdout] 20 | | let client = Client::new(); [INFO] [stdout] 21 | | let mut perf = Vec::with_capacity(NREQ as usize); [INFO] [stdout] 22 | | [INFO] [stdout] ... | [INFO] [stdout] 26 | | let res = client.get("http://localhost:8080/hello").send()?.read_to_end(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 42 | | [INFO] [stdout] 43 | | }); [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hammer` [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] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2128b08b736c39e779581d665e58cc71953c2d9f2384982b0d6783dc62728448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2128b08b736c39e779581d665e58cc71953c2d9f2384982b0d6783dc62728448", kill_on_drop: false }` [INFO] [stdout] 2128b08b736c39e779581d665e58cc71953c2d9f2384982b0d6783dc62728448