[INFO] cloning repository https://github.com/homburg/gitlab-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/homburg/gitlab-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhomburg%2Fgitlab-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhomburg%2Fgitlab-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f966f907f8d9dc16fb6cee33dd8cb7c28f95fa41 [INFO] checking homburg/gitlab-rs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhomburg%2Fgitlab-rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/homburg/gitlab-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/homburg/gitlab-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/sfackler/rust-openssl.git` [INFO] [stderr] Updating git repository `https://github.com/lifthrasiir/rust-encoding` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/chris-morgan/rust-http` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72b3749d6821ed586c63356ccb11281bad8cf1d92e2ccae82a76b93832e03f1d [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" "72b3749d6821ed586c63356ccb11281bad8cf1d92e2ccae82a76b93832e03f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72b3749d6821ed586c63356ccb11281bad8cf1d92e2ccae82a76b93832e03f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72b3749d6821ed586c63356ccb11281bad8cf1d92e2ccae82a76b93832e03f1d", kill_on_drop: false }` [INFO] [stdout] 72b3749d6821ed586c63356ccb11281bad8cf1d92e2ccae82a76b93832e03f1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 436eec1905e83e3ffc9d9c798db6a30d2c2088fbc4bb2ac70f4d181a9a4499e2 [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" "436eec1905e83e3ffc9d9c798db6a30d2c2088fbc4bb2ac70f4d181a9a4499e2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling http v0.1.0-pre (https://github.com/chris-morgan/rust-http#b633b6f7) [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/status.rs:48:50 [INFO] [stdout] | [INFO] [stdout] 48 | s.push_str(&self.reason_padding_spaces()[]); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/branchify.rs:107:48 [INFO] [stdout] | [INFO] [stdout] 107 | try!(r(writer, b, &next_prefix[], indent + 1, read_call, end, max_len, valid, unknown)); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/branchify.rs:113:107 [INFO] [stdout] | [INFO] [stdout] 113 | ... unknown.replace("{}", &format!("String::from_str(\"{}\")", next_prefix)[]))), [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::Truncate` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{File, Truncate, Write}; [INFO] [stdout] | ^^^^ ^^^^^^^^ no `Truncate` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `File` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/branchify.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::IoResult; [INFO] [stdout] | ^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Result` [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/status.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::IoResult; [INFO] [stdout] | ^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Result` [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/read_method.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::IoResult; [INFO] [stdout] | ^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Result` [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/branchify.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | writer: &mut Writer, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/branchify.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | fn r(writer: &mut Writer, branch: &ParseBranch, prefix: &str, indent: usize, read_call: &str, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/status.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn generate(output_dir: Path) -> IoResult<()> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/read_method.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn generate(output_dir: Path) -> IoResult<()> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/main.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | let output_dir = Path::new(os::getenv("OUT_DIR").unwrap()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/main.rs:12:40 [INFO] [stdout] | [INFO] [stdout] 12 | let output_dir = Path::new(os::getenv("OUT_DIR").unwrap()); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use os::unix::process::sys::os::getenv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/main.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let output_dir = Path::new(os::getenv("OUT_DIR").unwrap()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/main.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | let output_dir = Path::new(os::getenv("OUT_DIR").unwrap()); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use os::unix::process::sys::os::getenv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/main.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_writer(mut output_dir: Path, filename: &str) -> Box { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/main.rs:20:64 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_writer(mut output_dir: Path, filename: &str) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_writer(mut output_dir: Path, filename: &str) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_writer(mut output_dir: Path, filename: &str) -> Box { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found trait `Write` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-http-512ca2c735548880/b633b6f/codegen/main.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | match File::open_mode(&output_dir, Truncate, Write) { [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant instead [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::Shutdown::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0423, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [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 `Command { std: "docker" "inspect" "436eec1905e83e3ffc9d9c798db6a30d2c2088fbc4bb2ac70f4d181a9a4499e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "436eec1905e83e3ffc9d9c798db6a30d2c2088fbc4bb2ac70f4d181a9a4499e2", kill_on_drop: false }` [INFO] [stdout] 436eec1905e83e3ffc9d9c798db6a30d2c2088fbc4bb2ac70f4d181a9a4499e2