[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a0105115b658a95a9e644140a65d56ee906ec1b [INFO] testing XMPPwocky/legend_of_link against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMPPwocky%2Flegend_of_link" "/workspace/builds/worker-6/source", kill_on_drop: false }` [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 beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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" "+beta-2020-07-24" "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-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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04efaba0bcadbf41545654d7735a9de2abb5a576aacc7df067fa3e662ebde7cf [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" "04efaba0bcadbf41545654d7735a9de2abb5a576aacc7df067fa3e662ebde7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04efaba0bcadbf41545654d7735a9de2abb5a576aacc7df067fa3e662ebde7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04efaba0bcadbf41545654d7735a9de2abb5a576aacc7df067fa3e662ebde7cf", kill_on_drop: false }` [INFO] [stdout] 04efaba0bcadbf41545654d7735a9de2abb5a576aacc7df067fa3e662ebde7cf [INFO] running `Command { std: "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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9539e6b379ba297303222a144f5f452f61004c67dafec18e246420a784f2a1ba [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" "9539e6b379ba297303222a144f5f452f61004c67dafec18e246420a784f2a1ba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 (https://github.com/servo/rust-url#0a92c73a) [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 (https://github.com/servo/rust-url#0a92c73a) [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling quote v1.0.7 [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 idna v0.2.0 (https://github.com/servo/rust-url#0a92c73a) [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v2.1.1 (https://github.com/servo/rust-url#0a92c73a) [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] Compiling markup5ever v0.10.0 (https://github.com/servo/html5ever#36ee935f) [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling html5ever v0.25.1 (https://github.com/servo/html5ever#36ee935f) [INFO] [stderr] Compiling 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[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[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: use of deprecated item '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 item '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 item '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; 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] [stderr] error: could not compile `legend_of_link`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9539e6b379ba297303222a144f5f452f61004c67dafec18e246420a784f2a1ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9539e6b379ba297303222a144f5f452f61004c67dafec18e246420a784f2a1ba", kill_on_drop: false }` [INFO] [stdout] 9539e6b379ba297303222a144f5f452f61004c67dafec18e246420a784f2a1ba