[INFO] updating cached repository https://github.com/homburg/gitlab-rs
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] f966f907f8d9dc16fb6cee33dd8cb7c28f95fa41
[INFO] checking homburg/gitlab-rs against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhomburg%2Fgitlab-rs" "/workspace/builds/worker-8/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/homburg/gitlab-rs on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/homburg/gitlab-rs
[INFO] finished tweaking git repo https://github.com/homburg/gitlab-rs
[INFO] tweaked toml for git repo https://github.com/homburg/gitlab-rs written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/homburg/gitlab-rs already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-8/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 `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Updating git repository `https://github.com/chris-morgan/rust-http`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 15a84a9281a06418d43989149155b5a0537130550fb407c272d06a580f006fad
[INFO] running `"docker" "start" "-a" "15a84a9281a06418d43989149155b5a0537130550fb407c272d06a580f006fad"`
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling proc-macro-hack v0.5.15
[INFO] [stderr]    Compiling standback v0.2.2
[INFO] [stderr]    Compiling openssl v0.10.29
[INFO] [stderr]    Compiling http v0.1.0-pre (https://github.com/chris-morgan/rust-http#b633b6f7)
[INFO] [stderr]    Compiling openssl-sys v0.9.55
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/status.rs:48:50
[INFO] [stderr]    |
[INFO] [stderr] 48 |         s.push_str(&self.reason_padding_spaces()[]);
[INFO] [stderr]    |                                                  ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/branchify.rs:107:48
[INFO] [stderr]     |
[INFO] [stderr] 107 |                 try!(r(writer, b, &next_prefix[], indent + 1, read_call, end, max_len, valid, unknown));
[INFO] [stderr]     |                                                ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/branchify.rs:113:107
[INFO] [stderr]     |
[INFO] [stderr] 113 | ...                   unknown.replace("{}", &format!("String::from_str(\"{}\")", next_prefix)[]))),
[INFO] [stderr]     |                                                                                               ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `std::io::File`, `std::io::Truncate`
[INFO] [stderr]  --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/main.rs:2:15
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::io::{File, Truncate, Write};
[INFO] [stderr]   |               ^^^^  ^^^^^^^^ no `Truncate` in `io`
[INFO] [stderr]   |               |
[INFO] [stderr]   |               no `File` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::io::IoResult`
[INFO] [stderr]  --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/branchify.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::io::IoResult;
[INFO] [stderr]   |     ^^^^^^^^^--------
[INFO] [stderr]   |     |        |
[INFO] [stderr]   |     |        help: a similar name exists in the module: `Result`
[INFO] [stderr]   |     no `IoResult` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::io::IoResult`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/status.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use std::io::IoResult;
[INFO] [stderr]    |     ^^^^^^^^^--------
[INFO] [stderr]    |     |        |
[INFO] [stderr]    |     |        help: a similar name exists in the module: `Result`
[INFO] [stderr]    |     no `IoResult` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::io::IoResult`
[INFO] [stderr]  --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/read_method.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::io::IoResult;
[INFO] [stderr]   |     ^^^^^^^^^--------
[INFO] [stderr]   |     |        |
[INFO] [stderr]   |     |        help: a similar name exists in the module: `Result`
[INFO] [stderr]   |     no `IoResult` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/main.rs:12:26
[INFO] [stderr]    |
[INFO] [stderr] 12 |         let output_dir = Path::new(os::getenv("OUT_DIR").unwrap());
[INFO] [stderr]    |                          ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/main.rs:16:22
[INFO] [stderr]    |
[INFO] [stderr] 16 |     let output_dir = Path::new(os::getenv("OUT_DIR").unwrap());
[INFO] [stderr]    |                      ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Writer` in this scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/branchify.rs:86:22
[INFO] [stderr]    |
[INFO] [stderr] 86 |         writer: &mut Writer,
[INFO] [stderr]    |                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Writer` in this scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/branchify.rs:95:23
[INFO] [stderr]    |
[INFO] [stderr] 95 |     fn r(writer: &mut Writer, branch: &ParseBranch, prefix: &str, indent: usize, read_call: &str,
[INFO] [stderr]    |                       ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/status.rs:80:29
[INFO] [stderr]    |
[INFO] [stderr] 80 | pub fn generate(output_dir: Path) -> IoResult<()> {
[INFO] [stderr]    |                             ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]  --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/read_method.rs:5:29
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub fn generate(output_dir: Path) -> IoResult<()> {
[INFO] [stderr]   |                             ^^^^ not found in this scope
[INFO] [stderr]   |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::path::Path;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `getenv` in module `os`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/main.rs:12:40
[INFO] [stderr]    |
[INFO] [stderr] 12 |         let output_dir = Path::new(os::getenv("OUT_DIR").unwrap());
[INFO] [stderr]    |                                        ^^^^^^ not found in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `getenv` in module `os`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/main.rs:16:36
[INFO] [stderr]    |
[INFO] [stderr] 16 |     let output_dir = Path::new(os::getenv("OUT_DIR").unwrap());
[INFO] [stderr]    |                                    ^^^^^^ not found in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/main.rs:20:35
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub fn get_writer(mut output_dir: Path, filename: &str) -> Box<Writer + 'static> {
[INFO] [stderr]    |                                   ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 2  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Writer` in this scope
[INFO] [stderr]     --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/main.rs:20:64
[INFO] [stderr]      |
[INFO] [stderr] 20   |   pub fn get_writer(mut output_dir: Path, filename: &str) -> Box<Writer + 'static> {
[INFO] [stderr]      |                                                                  ^^^^^^
[INFO] [stderr]      |
[INFO] [stderr] help: a trait with a similar name exists
[INFO] [stderr]      |
[INFO] [stderr] 20   | pub fn get_writer(mut output_dir: Path, filename: &str) -> Box<Write + 'static> {
[INFO] [stderr]      |                                                                ^^^^^
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]      |
[INFO] [stderr] 20   | pub fn get_writer<Writer>(mut output_dir: Path, filename: &str) -> Box<Writer + 'static> {
[INFO] [stderr]      |                  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0423]: expected value, found trait `Write`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/main.rs:22:50
[INFO] [stderr]    |
[INFO] [stderr] 22 |     match File::open_mode(&output_dir, Truncate, Write) {
[INFO] [stderr]    |                                                  ^^^^^ not a value
[INFO] [stderr]    |
[INFO] [stderr] help: possible better candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 2  | use std::net::Shutdown::Write;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 18 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0423, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0405`.
[INFO] [stderr] error: could not compile `http`.
[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 `"docker" "inspect" "15a84a9281a06418d43989149155b5a0537130550fb407c272d06a580f006fad"`
[INFO] running `"docker" "rm" "-f" "15a84a9281a06418d43989149155b5a0537130550fb407c272d06a580f006fad"`
[INFO] [stdout] 15a84a9281a06418d43989149155b5a0537130550fb407c272d06a580f006fad
