[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] checking XMPPwocky/legend_of_link against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMPPwocky%2Flegend_of_link" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/XMPPwocky/legend_of_link on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-3/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-3/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 42ec45c95ad2897da704236b46feee7ac2c3a448df2cc6ae3ca49d6718e81721 [INFO] running `Command { std: "docker" "start" "-a" "42ec45c95ad2897da704236b46feee7ac2c3a448df2cc6ae3ca49d6718e81721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42ec45c95ad2897da704236b46feee7ac2c3a448df2cc6ae3ca49d6718e81721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ec45c95ad2897da704236b46feee7ac2c3a448df2cc6ae3ca49d6718e81721", kill_on_drop: false }` [INFO] [stdout] 42ec45c95ad2897da704236b46feee7ac2c3a448df2cc6ae3ca49d6718e81721 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ddeafbdd0a8222d95fe318724325e707570fb8763521b71398f5024e15aa037 [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" "7ddeafbdd0a8222d95fe318724325e707570fb8763521b71398f5024e15aa037", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking percent-encoding v2.1.0 (https://github.com/servo/rust-url#8bede543) [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking form_urlencoded v1.0.0 (https://github.com/servo/rust-url#8bede543) [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking tendril v0.4.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking idna v0.2.0 (https://github.com/servo/rust-url#8bede543) [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Checking url v2.2.0 (https://github.com/servo/rust-url#8bede543) [INFO] [stderr] Compiling markup5ever v0.10.0 (https://github.com/servo/html5ever#5629b32f) [INFO] [stderr] Checking string_cache v0.8.1 [INFO] [stderr] Compiling html5ever v0.25.1 (https://github.com/servo/html5ever#5629b32f) [INFO] [stderr] Checking 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] warning: unknown lint: `unstable` [INFO] [stdout] --> src/main.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [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: 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] warning: unknown lint: `unstable` [INFO] [stdout] --> src/main.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [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[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/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: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: 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[E0433]: failed to resolve: could not find `UrlParser` in `url` [INFO] [stdout] --> src/main.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | let mut parser = url::UrlParser::new(); [INFO] [stdout] | ^^^^^^^^^ could not find `UrlParser` in `url` [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 { [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 { [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[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | let root = os::args().get(1) [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 6 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_exit_status` in module `os` [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | os::set_exit_status(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_exit_status` in module `os` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | os::set_exit_status(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default::Default` [INFO] [stdout] --> src/extract.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fetch.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | let path = try!(url_to_path(url).map_err(|_| FetchError::MalformedUrl)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | let contents = try!(fetch::fetch_url(this)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UrlParser` in `url` [INFO] [stdout] --> src/main.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | let mut parser = url::UrlParser::new(); [INFO] [stdout] | ^^^^^^^^^ could not find `UrlParser` in `url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | let mut abs_url = try!(parser.parse(url).map_err(|_| ())); [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 { [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 { [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[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | let root = os::args().get(1) [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 6 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_exit_status` in module `os` [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | os::set_exit_status(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_exit_status` in module `os` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | os::set_exit_status(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fetch.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | let path = try!(url_to_path(url).map_err(|_| FetchError::MalformedUrl)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | let contents = try!(fetch::fetch_url(this)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | let mut abs_url = try!(parser.parse(url).map_err(|_| ())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `legend_of_link` [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" "7ddeafbdd0a8222d95fe318724325e707570fb8763521b71398f5024e15aa037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ddeafbdd0a8222d95fe318724325e707570fb8763521b71398f5024e15aa037", kill_on_drop: false }` [INFO] [stdout] 7ddeafbdd0a8222d95fe318724325e707570fb8763521b71398f5024e15aa037