[INFO] updating cached repository XMPPwocky/legend_of_link
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/XMPPwocky/legend_of_link
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/XMPPwocky/legend_of_link" "work/ex/beta-1.38-rustdoc-1/sources/1.37.0/gh/XMPPwocky/legend_of_link"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.38-rustdoc-1/sources/1.37.0/gh/XMPPwocky/legend_of_link'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/XMPPwocky/legend_of_link" "work/ex/beta-1.38-rustdoc-1/sources/beta-2019-08-13/gh/XMPPwocky/legend_of_link"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.38-rustdoc-1/sources/beta-2019-08-13/gh/XMPPwocky/legend_of_link'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 0a0105115b658a95a9e644140a65d56ee906ec1b
[INFO] sha for GitHub repo XMPPwocky/legend_of_link: 0a0105115b658a95a9e644140a65d56ee906ec1b
[INFO] validating manifest of XMPPwocky/legend_of_link on toolchain 1.37.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of XMPPwocky/legend_of_link on toolchain beta-2019-08-13
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing XMPPwocky/legend_of_link
[INFO] finished frobbing XMPPwocky/legend_of_link
[INFO] frobbed toml for XMPPwocky/legend_of_link written to work/ex/beta-1.38-rustdoc-1/sources/1.37.0/gh/XMPPwocky/legend_of_link/Cargo.toml
[INFO] started frobbing XMPPwocky/legend_of_link
[INFO] finished frobbing XMPPwocky/legend_of_link
[INFO] frobbed toml for XMPPwocky/legend_of_link written to work/ex/beta-1.38-rustdoc-1/sources/beta-2019-08-13/gh/XMPPwocky/legend_of_link/Cargo.toml
[INFO] crate XMPPwocky/legend_of_link already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-rustdoc-1/sources/1.37.0/gh/XMPPwocky/legend_of_link/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" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Updating git repository `https://github.com/servo/html5ever`
[INFO] [stderr]     Updating git repository `https://github.com/servo/rust-url`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Updating git repository `https://github.com/servo/html5ever`
[INFO] [stderr]     Updating git repository `https://github.com/servo/rust-url`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] documenting XMPPwocky/legend_of_link against 1.37.0 for beta-1.38-rustdoc-1
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-rustdoc-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-rustdoc-1/sources/1.37.0/gh/XMPPwocky/legend_of_link:/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.37.0" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stdout] 4e63350445b64a69f0fb40505a0c07ccc96f0059f69fe70dab43a45d5af04c2b
[INFO] running `"docker" "start" "-a" "4e63350445b64a69f0fb40505a0c07ccc96f0059f69fe70dab43a45d5af04c2b"`
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]     Checking percent-encoding v2.1.0 (https://github.com/servo/rust-url#7d2c9d6c)
[INFO] [stderr]    Compiling serde v1.0.99
[INFO] [stderr]     Checking idna v0.2.0 (https://github.com/servo/rust-url#7d2c9d6c)
[INFO] [stderr]    Compiling string_cache_codegen v0.4.2
[INFO] [stderr]     Checking url v2.1.0 (https://github.com/servo/rust-url#7d2c9d6c)
[INFO] [stderr]    Compiling string_cache v0.7.3
[INFO] [stderr]    Compiling serde_json v1.0.40
[INFO] [stderr]    Compiling serde_derive v1.0.99
[INFO] [stderr]    Compiling html5ever v0.24.1 (https://github.com/servo/html5ever#44f6ee4b)
[INFO] [stderr]    Compiling markup5ever v0.9.0 (https://github.com/servo/html5ever#44f6ee4b)
[INFO] [stderr]  Documenting legend_of_link v0.0.1 (/opt/crater/workdir)
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]   --> src/fetch.rs:17:18
[INFO] [stderr]    |
[INFO] [stderr] 17 |   if &url.scheme[] == "file" {
[INFO] [stderr]    |                  ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]   --> src/main.rs:17:45
[INFO] [stderr]    |
[INFO] [stderr] 17 |     .and_then(|rooturl| Url::parse(&rooturl[]).ok());
[INFO] [stderr]    |                                             ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]    --> src/main.rs:152:44
[INFO] [stderr]     |
[INFO] [stderr] 152 |     .filter_map(|link| normalize_url(&link[], this).ok() );
[INFO] [stderr]     |                                            ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::error::FromError`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::error::FromError;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `html5ever::driver::tokenize_to`, `html5ever::driver::one_input`
[INFO] [stderr]  --> src/extract.rs:2:25
[INFO] [stderr]   |
[INFO] [stderr] 2 | use html5ever::driver::{tokenize_to, one_input};
[INFO] [stderr]   |                         ^^^^^^^^^^^  ^^^^^^^^^ no `one_input` in `driver`
[INFO] [stderr]   |                         |
[INFO] [stderr]   |                         no `tokenize_to` in `driver`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `std::io::File`, `std::io::IoError`, `std::io::IoErrorKind`
[INFO] [stderr]   --> src/fetch.rs:25:17
[INFO] [stderr]    |
[INFO] [stderr] 25 |   use std::io::{File, IoError, IoErrorKind};
[INFO] [stderr]    |                 ^^^^  ^^^^^^^  ^^^^^^^^^^^ no `IoErrorKind` in `io`
[INFO] [stderr]    |                 |     |
[INFO] [stderr]    |                 |     no `IoError` in `io`
[INFO] [stderr]    |                 no `File` in `io`
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]    |
[INFO] [stderr] 25 |   use std::io::{File, Error, IoErrorKind};
[INFO] [stderr]    |                       ^^^^^
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]    |
[INFO] [stderr] 25 |   use std::io::{File, IoError, ErrorKind};
[INFO] [stderr]    |                                ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: cannot find derive macro `Show` in this scope
[INFO] [stderr]    --> src/main.rs:122:21
[INFO] [stderr]     |
[INFO] [stderr] 122 | #[derive(PartialEq, Show)]
[INFO] [stderr]     |                     ^^^^
[INFO] [stderr] 
[INFO] [stderr] error: cannot find derive macro `Show` in this scope
[INFO] [stderr]    --> src/main.rs:135:10
[INFO] [stderr]     |
[INFO] [stderr] 135 | #[derive(Show, PartialEq)]
[INFO] [stderr]     |          ^^^^
[INFO] [stderr] 
[INFO] [stderr] error: cannot find derive macro `Show` in this scope
[INFO] [stderr]  --> src/fetch.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Show, PartialEq)]
[INFO] [stderr]   |          ^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IoError` in module `std::io`
[INFO] [stderr]  --> src/fetch.rs:7:22
[INFO] [stderr]   |
[INFO] [stderr] 7 |   IoError(::std::io::IoError)
[INFO] [stderr]   |                      ^^^^^^^
[INFO] [stderr] help: there is an enum variant `fetch::FetchError::IoError`; try using the variant's enum
[INFO] [stderr]   |
[INFO] [stderr] 7 |   IoError(fetch::FetchError)
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stderr] help: a struct with a similar name exists
[INFO] [stderr]   |
[INFO] [stderr] 7 |   IoError(::std::io::Error)
[INFO] [stderr]   |                      ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/fetch.rs:16:37
[INFO] [stderr]    |
[INFO] [stderr] 16 | fn url_to_path(url: &Url) -> Result<Path, ()> {
[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[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/fetch.rs:24:21
[INFO] [stderr]    |
[INFO] [stderr] 24 | fn fetch_path(path: Path) -> Result<String, FetchError> {
[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: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 13 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: Could not document `legend_of_link`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-name legend_of_link src/main.rs --color never -o /opt/crater/target/doc --document-private-items -L dependency=/opt/crater/target/debug/deps --extern html5ever=/opt/crater/target/debug/deps/libhtml5ever-e4009eb277eb3a9c.rmeta --extern url=/opt/crater/target/debug/deps/liburl-6a53cdfcb6bcda4d.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "4e63350445b64a69f0fb40505a0c07ccc96f0059f69fe70dab43a45d5af04c2b"`
[INFO] running `"docker" "rm" "-f" "4e63350445b64a69f0fb40505a0c07ccc96f0059f69fe70dab43a45d5af04c2b"`
[INFO] [stdout] 4e63350445b64a69f0fb40505a0c07ccc96f0059f69fe70dab43a45d5af04c2b
