[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl1x%2Fhammer" "/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/l1x/hammer 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/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-2/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] 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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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" "+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-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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 802eb7f2eb4529c6d541686b26f115fac12f0052e3d59c91b1780e2cfa1a85e9 [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" "802eb7f2eb4529c6d541686b26f115fac12f0052e3d59c91b1780e2cfa1a85e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "802eb7f2eb4529c6d541686b26f115fac12f0052e3d59c91b1780e2cfa1a85e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "802eb7f2eb4529c6d541686b26f115fac12f0052e3d59c91b1780e2cfa1a85e9", kill_on_drop: false }` [INFO] [stdout] 802eb7f2eb4529c6d541686b26f115fac12f0052e3d59c91b1780e2cfa1a85e9 [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 249f30872f76c4ae39c69f19c7e64739481ada3976b28fdec5b353d8423c72a0 [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" "249f30872f76c4ae39c69f19c7e64739481ada3976b28fdec5b353d8423c72a0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [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[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: 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[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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "249f30872f76c4ae39c69f19c7e64739481ada3976b28fdec5b353d8423c72a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "249f30872f76c4ae39c69f19c7e64739481ada3976b28fdec5b353d8423c72a0", kill_on_drop: false }` [INFO] [stdout] 249f30872f76c4ae39c69f19c7e64739481ada3976b28fdec5b353d8423c72a0