[INFO] updating cached repository foobar27/rust-html-experiments [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/foobar27/rust-html-experiments [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/foobar27/rust-html-experiments" "work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/foobar27/rust-html-experiments"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/foobar27/rust-html-experiments'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/foobar27/rust-html-experiments" "work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/foobar27/rust-html-experiments"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/foobar27/rust-html-experiments'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e9362647af4ba6c32533b606063d40e358fd7268 [INFO] sha for GitHub repo foobar27/rust-html-experiments: e9362647af4ba6c32533b606063d40e358fd7268 [INFO] validating manifest of foobar27/rust-html-experiments 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 foobar27/rust-html-experiments 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 foobar27/rust-html-experiments [INFO] finished frobbing foobar27/rust-html-experiments [INFO] frobbed toml for foobar27/rust-html-experiments written to work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/foobar27/rust-html-experiments/Cargo.toml [INFO] started frobbing foobar27/rust-html-experiments [INFO] finished frobbing foobar27/rust-html-experiments [INFO] frobbed toml for foobar27/rust-html-experiments written to work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/foobar27/rust-html-experiments/Cargo.toml [INFO] crate foobar27/rust-html-experiments 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] error: the lock file /mnt/big/crater/work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/foobar27/rust-html-experiments/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 foobar27/rust-html-experiments against try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b for pr-58948 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58948/worker-2/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/foobar27/rust-html-experiments:/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] 1f2e8a3cf20cf08a804a2b27415bbb9b1f211c6827b97d1f50215441b2fe664d [INFO] running `"docker" "start" "-a" "1f2e8a3cf20cf08a804a2b27415bbb9b1f211c6827b97d1f50215441b2fe664d"` [INFO] [stderr] Checking html-experiments v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `self::hyper::header::Connection` [INFO] [stderr] --> src/download.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use self::hyper::header::Connection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Connection` in `header` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `html5ever::rcdom::Document`, `html5ever::rcdom::Doctype`, `html5ever::rcdom::Text`, `html5ever::rcdom::Comment`, `html5ever::rcdom::Element` [INFO] [stderr] --> src/main.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | use html5ever::rcdom::{Document, Doctype, Text, Comment, Element, RcDom, Handle}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^ no `Element` in `rcdom` [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `Comment` in `rcdom` [INFO] [stderr] | | | no `Text` in `rcdom` [INFO] [stderr] | | no `Doctype` in `rcdom` [INFO] [stderr] | no `Document` in `rcdom` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `ns!` in this scope [INFO] [stderr] --> src/main.rs:65:32 [INFO] [stderr] | [INFO] [stderr] 65 | assert!(name.ns == ns!(html)); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `ns!` in this scope [INFO] [stderr] --> src/main.rs:68:41 [INFO] [stderr] | [INFO] [stderr] 68 | assert!(attr.name.ns == ns!()); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/cache.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::hyper::header::Connection` [INFO] [stderr] --> src/download.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use self::hyper::header::Connection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/main.rs:21:15 [INFO] [stderr] | [INFO] [stderr] 21 | use std::io::{self, Read}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Document` [INFO] [stderr] --> src/main.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | use html5ever::rcdom::{Document, Doctype, Text, Comment, Element, RcDom, Handle}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::hyper::header::Connection` [INFO] [stderr] --> src/download.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use self::hyper::header::Connection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Connection` in `header` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `html5ever::rcdom::Document`, `html5ever::rcdom::Doctype`, `html5ever::rcdom::Text`, `html5ever::rcdom::Comment`, `html5ever::rcdom::Element` [INFO] [stderr] --> src/main.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | use html5ever::rcdom::{Document, Doctype, Text, Comment, Element, RcDom, Handle}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^ no `Element` in `rcdom` [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `Comment` in `rcdom` [INFO] [stderr] | | | no `Text` in `rcdom` [INFO] [stderr] | | no `Doctype` in `rcdom` [INFO] [stderr] | no `Document` in `rcdom` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `ns!` in this scope [INFO] [stderr] --> src/main.rs:65:32 [INFO] [stderr] | [INFO] [stderr] 65 | assert!(name.ns == ns!(html)); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `ns!` in this scope [INFO] [stderr] --> src/main.rs:68:41 [INFO] [stderr] | [INFO] [stderr] 68 | assert!(attr.name.ns == ns!()); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/cache.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::hyper::header::Connection` [INFO] [stderr] --> src/download.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use self::hyper::header::Connection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/main.rs:21:15 [INFO] [stderr] | [INFO] [stderr] 21 | use std::io::{self, Read}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Document` [INFO] [stderr] --> src/main.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | use html5ever::rcdom::{Document, Doctype, Text, Comment, Element, RcDom, Handle}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `borrow` found for type `std::rc::Rc` in the current scope [INFO] [stderr] --> src/main.rs:48:23 [INFO] [stderr] | [INFO] [stderr] 48 | let node = handle.borrow(); [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] 15 | use std::borrow::Borrow; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `borrow` found for type `std::rc::Rc` in the current scope [INFO] [stderr] --> src/main.rs:48:23 [INFO] [stderr] | [INFO] [stderr] 48 | let node = handle.borrow(); [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] 15 | use std::borrow::Borrow; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/download.rs:10:30 [INFO] [stderr] | [INFO] [stderr] 10 | let mut res = client.get(url) [INFO] [stderr] | ^^^ expected struct `download::hyper::Uri`, found &str [INFO] [stderr] | [INFO] [stderr] = note: expected type `download::hyper::Uri` [INFO] [stderr] found type `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send` found for type `download::hyper::client::ResponseFuture` in the current scope [INFO] [stderr] --> src/download.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | .send().unwrap(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0308, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `html-experiments`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/download.rs:10:30 [INFO] [stderr] | [INFO] [stderr] 10 | let mut res = client.get(url) [INFO] [stderr] | ^^^ expected struct `download::hyper::Uri`, found &str [INFO] [stderr] | [INFO] [stderr] = note: expected type `download::hyper::Uri` [INFO] [stderr] found type `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send` found for type `download::hyper::client::ResponseFuture` in the current scope [INFO] [stderr] --> src/download.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | .send().unwrap(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0308, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `html-experiments`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1f2e8a3cf20cf08a804a2b27415bbb9b1f211c6827b97d1f50215441b2fe664d"` [INFO] running `"docker" "rm" "-f" "1f2e8a3cf20cf08a804a2b27415bbb9b1f211c6827b97d1f50215441b2fe664d"` [INFO] [stdout] 1f2e8a3cf20cf08a804a2b27415bbb9b1f211c6827b97d1f50215441b2fe664d