[INFO] updating cached repository l1x/hammer [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/l1x/hammer [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/l1x/hammer" "work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/l1x/hammer"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/l1x/hammer'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/l1x/hammer" "work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/l1x/hammer"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/l1x/hammer'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 49c7d20f9a93c734390b335f77e2592979beabed [INFO] sha for GitHub repo l1x/hammer: 49c7d20f9a93c734390b335f77e2592979beabed [INFO] validating manifest of l1x/hammer on toolchain master#0f88167f89fffe321590c5148f21b7d51d44388d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of l1x/hammer on toolchain try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing l1x/hammer [INFO] finished frobbing l1x/hammer [INFO] frobbed toml for l1x/hammer written to work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/l1x/hammer/Cargo.toml [INFO] started frobbing l1x/hammer [INFO] finished frobbing l1x/hammer [INFO] frobbed toml for l1x/hammer written to work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/l1x/hammer/Cargo.toml [INFO] crate l1x/hammer already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/l1x/hammer/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking l1x/hammer against try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b for pr-58948 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58948/worker-3/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/l1x/hammer:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d38672267422895122e0d5e2a6b4647373ad0cfbea260ada83ae5def46f4b478 [INFO] running `"docker" "start" "-a" "d38672267422895122e0d5e2a6b4647373ad0cfbea260ada83ae5def46f4b478"` [INFO] [stderr] Checking hammer v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0599]: no method named `read_to_end` found for type `hyper::client::Response` in the current scope [INFO] [stderr] --> src/main.rs:26:69 [INFO] [stderr] | [INFO] [stderr] 26 | let res = client.get("http://localhost:8080/hello").send()?.read_to_end(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::Read; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_to_end` found for type `hyper::client::Response` in the current scope [INFO] [stderr] --> src/main.rs:26:69 [INFO] [stderr] | [INFO] [stderr] 26 | let res = client.get("http://localhost:8080/hello").send()?.read_to_end(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::Read; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | let res = client.get("http://localhost:8080/hello").send()?.read_to_end(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | let res = client.get("http://localhost:8080/hello").send()?.read_to_end(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `hammer`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `hammer`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d38672267422895122e0d5e2a6b4647373ad0cfbea260ada83ae5def46f4b478"` [INFO] running `"docker" "rm" "-f" "d38672267422895122e0d5e2a6b4647373ad0cfbea260ada83ae5def46f4b478"` [INFO] [stdout] d38672267422895122e0d5e2a6b4647373ad0cfbea260ada83ae5def46f4b478