[INFO] updating cached repository homburg/gitlab-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/homburg/gitlab-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/homburg/gitlab-rs" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/homburg/gitlab-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/homburg/gitlab-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/homburg/gitlab-rs" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/homburg/gitlab-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/homburg/gitlab-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f966f907f8d9dc16fb6cee33dd8cb7c28f95fa41 [INFO] sha for GitHub repo homburg/gitlab-rs: f966f907f8d9dc16fb6cee33dd8cb7c28f95fa41 [INFO] validating manifest of homburg/gitlab-rs on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of homburg/gitlab-rs on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing homburg/gitlab-rs [INFO] finished frobbing homburg/gitlab-rs [INFO] frobbed toml for homburg/gitlab-rs written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/homburg/gitlab-rs/Cargo.toml [INFO] started frobbing homburg/gitlab-rs [INFO] finished frobbing homburg/gitlab-rs [INFO] frobbed toml for homburg/gitlab-rs written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/homburg/gitlab-rs/Cargo.toml [INFO] crate homburg/gitlab-rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/homburg/gitlab-rs/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" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/chris-morgan/rust-http` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/chris-morgan/rust-http` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] checking homburg/gitlab-rs against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-1/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/homburg/gitlab-rs:/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" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 6c46902d365e666495c3eee1786f463f21c27ba4661fc19ccaada90bada6c5af [INFO] running `"docker" "start" "-a" "6c46902d365e666495c3eee1786f463f21c27ba4661fc19ccaada90bada6c5af"` [INFO] [stderr] Compiling http v0.1.0-pre (https://github.com/chris-morgan/rust-http#b633b6f7) [INFO] [stderr] error: expected expression, found `]` [INFO] [stderr] --> /opt/crater/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/crater/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/crater/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/crater/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/crater/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/crater/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/crater/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/crater/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/crater/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/crater/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/crater/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/crater/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] 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/crater/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] 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/crater/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/crater/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/crater/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 { [INFO] [stderr] | ^^^^ not found in this scope [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/crater/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 { [INFO] [stderr] | ^^^^^^ help: a trait with a similar name exists: `Write` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found trait `Write` [INFO] [stderr] --> /opt/crater/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] 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] running `"docker" "inspect" "6c46902d365e666495c3eee1786f463f21c27ba4661fc19ccaada90bada6c5af"` [INFO] running `"docker" "rm" "-f" "6c46902d365e666495c3eee1786f463f21c27ba4661fc19ccaada90bada6c5af"` [INFO] [stdout] 6c46902d365e666495c3eee1786f463f21c27ba4661fc19ccaada90bada6c5af