[INFO] cloning repository https://github.com/XMPPwocky/legend_of_link [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMPPwocky%2Flegend_of_link'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0a0105115b658a95a9e644140a65d56ee906ec1b [INFO] testing XMPPwocky/legend_of_link against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMPPwocky%2Flegend_of_link" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/XMPPwocky/legend_of_link on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-6/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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/servo/html5ever` [INFO] [stderr] Updating git repository `https://github.com/servo/rust-url` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cb225995820d12f664a4bc49b292f8ca910aca8e9944129f73ca7ac10fa8d756 [INFO] running `"docker" "start" "-a" "cb225995820d12f664a4bc49b292f8ca910aca8e9944129f73ca7ac10fa8d756"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 (https://github.com/servo/rust-url#28314752) [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling idna v0.2.0 (https://github.com/servo/rust-url#28314752) [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 url v2.1.1 (https://github.com/servo/rust-url#28314752) [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#ecdfe696) [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling html5ever v0.25.1 (https://github.com/servo/html5ever#ecdfe696) [INFO] [stderr] Compiling legend_of_link v0.0.1 (/opt/rustwide/workdir) [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] warning: unknown lint: `unstable` [INFO] [stderr] --> src/main.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #![allow(unstable)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [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[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] | [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/fetch.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Show, PartialEq)] [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[E0433]: failed to resolve: could not find `UrlParser` in `url` [INFO] [stderr] --> src/main.rs:180:25 [INFO] [stderr] | [INFO] [stderr] 180 | let mut parser = url::UrlParser::new(); [INFO] [stderr] | ^^^^^^^^^ could not find `UrlParser` in `url` [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] | [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 { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [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 { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [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 `args` in module `os` [INFO] [stderr] --> src/main.rs:16:18 [INFO] [stderr] | [INFO] [stderr] 16 | let root = os::args().get(1) [INFO] [stderr] | ^^^^ not found in `os` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `set_exit_status` in module `os` [INFO] [stderr] --> src/main.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | os::set_exit_status(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `os` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `set_exit_status` in module `os` [INFO] [stderr] --> src/main.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | os::set_exit_status(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `os` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/fetch.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | let path = try!(url_to_path(url).map_err(|_| FetchError::MalformedUrl)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:146:18 [INFO] [stderr] | [INFO] [stderr] 146 | let contents = try!(fetch::fetch_url(this)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:183:21 [INFO] [stderr] | [INFO] [stderr] 183 | let mut abs_url = try!(parser.parse(url).map_err(|_| ())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `legend_of_link`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "cb225995820d12f664a4bc49b292f8ca910aca8e9944129f73ca7ac10fa8d756"` [INFO] running `"docker" "rm" "-f" "cb225995820d12f664a4bc49b292f8ca910aca8e9944129f73ca7ac10fa8d756"` [INFO] [stdout] cb225995820d12f664a4bc49b292f8ca910aca8e9944129f73ca7ac10fa8d756