[INFO] cloning repository https://github.com/XMPPwocky/legend_of_link
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/XMPPwocky/legend_of_link" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMPPwocky%2Flegend_of_link", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMPPwocky%2Flegend_of_link'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0a0105115b658a95a9e644140a65d56ee906ec1b
[INFO] documenting XMPPwocky/legend_of_link against 1.47.0 for beta-1.48-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMPPwocky%2Flegend_of_link" "/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/XMPPwocky/legend_of_link on toolchain 1.47.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/XMPPwocky/legend_of_link
[INFO] finished tweaking git repo https://github.com/XMPPwocky/legend_of_link
[INFO] tweaked toml for git repo https://github.com/XMPPwocky/legend_of_link written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/XMPPwocky/legend_of_link already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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" "+1.47.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/servo/html5ever`
[INFO] [stderr]     Updating git repository `https://github.com/servo/rust-url`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] afa96949de6353f13a245bdeebc7a2b9e82252108b1b71bbdc5a7445afdaf4a7
[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" "afa96949de6353f13a245bdeebc7a2b9e82252108b1b71bbdc5a7445afdaf4a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "afa96949de6353f13a245bdeebc7a2b9e82252108b1b71bbdc5a7445afdaf4a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "afa96949de6353f13a245bdeebc7a2b9e82252108b1b71bbdc5a7445afdaf4a7", kill_on_drop: false }`
[INFO] [stdout] afa96949de6353f13a245bdeebc7a2b9e82252108b1b71bbdc5a7445afdaf4a7
[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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 91677f22ac1a931d1d6c6c7bf9adfa556e9a59808fedcc09ee8d054b98e3f61c
[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" "91677f22ac1a931d1d6c6c7bf9adfa556e9a59808fedcc09ee8d054b98e3f61c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.79
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling siphasher v0.3.3
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]     Checking new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling syn v1.0.45
[INFO] [stderr]     Checking percent-encoding v2.1.0 (https://github.com/servo/rust-url#a46bec6e)
[INFO] [stderr]     Checking idna v0.2.0 (https://github.com/servo/rust-url#a46bec6e)
[INFO] [stderr]     Checking futf v0.1.4
[INFO] [stderr]     Checking phf_shared v0.8.0
[INFO] [stderr]     Checking form_urlencoded v1.0.0 (https://github.com/servo/rust-url#a46bec6e)
[INFO] [stderr]     Checking tendril v0.4.1
[INFO] [stderr]     Checking phf v0.8.0
[INFO] [stderr]     Checking url v2.1.1 (https://github.com/servo/rust-url#a46bec6e)
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling string_cache_codegen v0.5.1
[INFO] [stderr]    Compiling markup5ever v0.10.0 (https://github.com/servo/html5ever#36ee935f)
[INFO] [stderr]     Checking string_cache v0.8.0
[INFO] [stderr]    Compiling html5ever v0.25.1 (https://github.com/servo/html5ever#36ee935f)
[INFO] [stderr]  Documenting legend_of_link v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/main.rs:17:45
[INFO] [stdout]    |
[INFO] [stdout] 17 |     .and_then(|rooturl| Url::parse(&rooturl[]).ok());
[INFO] [stdout]    |                                             ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]    --> src/main.rs:152:44
[INFO] [stdout]     |
[INFO] [stdout] 152 |     .filter_map(|link| normalize_url(&link[], this).ok() );
[INFO] [stdout]     |                                            ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/fetch.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 |   if &url.scheme[] == "file" {
[INFO] [stdout]    |                  ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::error::FromError`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::error::FromError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `html5ever::driver::tokenize_to`, `html5ever::driver::one_input`
[INFO] [stdout]  --> src/extract.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | use html5ever::driver::{tokenize_to, one_input};
[INFO] [stdout]   |                         ^^^^^^^^^^^  ^^^^^^^^^ no `one_input` in `driver`
[INFO] [stdout]   |                         |
[INFO] [stdout]   |                         no `tokenize_to` in `driver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::IoError`, `std::io::IoErrorKind`
[INFO] [stdout]   --> src/fetch.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |   use std::io::{File, IoError, IoErrorKind};
[INFO] [stdout]    |                 ^^^^  ^^^^^^^  ^^^^^^^^^^^ no `IoErrorKind` in `io`
[INFO] [stdout]    |                 |     |
[INFO] [stdout]    |                 |     no `IoError` in `io`
[INFO] [stdout]    |                 no `File` in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 25 |   use std::io::{File, Error, IoErrorKind};
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 25 |   use std::io::{File, IoError, ErrorKind};
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Show` in this scope
[INFO] [stdout]  --> src/fetch.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Show, PartialEq)]
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Show` in this scope
[INFO] [stdout]    --> src/main.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 | #[derive(PartialEq, Show)]
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Show` in this scope
[INFO] [stdout]    --> src/main.rs:135:10
[INFO] [stdout]     |
[INFO] [stdout] 135 | #[derive(Show, PartialEq)]
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IoError` in module `std::io`
[INFO] [stdout]   --> src/fetch.rs:7:22
[INFO] [stdout]    |
[INFO] [stdout] 7  |     IoError(::std::io::IoError)
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `FetchError::IoError`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 7  |   IoError(FetchError)
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 7  |   IoError(::std::io::Error)
[INFO] [stdout]    |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/fetch.rs:16:37
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn url_to_path(url: &Url) -> Result<Path, ()> {
[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[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/fetch.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn fetch_path(path: Path) -> Result<String, FetchError> {
[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: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: Could not document `legend_of_link`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name legend_of_link src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern html5ever=/opt/rustwide/target/debug/deps/libhtml5ever-a4051c48b7483d43.rmeta --extern url=/opt/rustwide/target/debug/deps/liburl-81ad9f69bf7cd66a.rmeta --cap-lints=warn --crate-version 0.0.1` (exit code: 1)
[INFO] running `Command { std: "docker" "inspect" "91677f22ac1a931d1d6c6c7bf9adfa556e9a59808fedcc09ee8d054b98e3f61c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91677f22ac1a931d1d6c6c7bf9adfa556e9a59808fedcc09ee8d054b98e3f61c", kill_on_drop: false }`
[INFO] [stdout] 91677f22ac1a931d1d6c6c7bf9adfa556e9a59808fedcc09ee8d054b98e3f61c
