[INFO] cloning repository https://github.com/TheNeikos/rust-gallery [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheNeikos/rust-gallery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheNeikos%2Frust-gallery", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheNeikos%2Frust-gallery'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aea1f4bacd44d1d1d47bf8e8187fb9da4c581799 [INFO] checking TheNeikos/rust-gallery against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheNeikos%2Frust-gallery" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheNeikos/rust-gallery on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheNeikos/rust-gallery [INFO] finished tweaking git repo https://github.com/TheNeikos/rust-gallery [INFO] tweaked toml for git repo https://github.com/TheNeikos/rust-gallery written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/TheNeikos/rust-gallery already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "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-0/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" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "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/rust-url` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac598b4a09abce92d0d6fdeab657e7b931beb28fa9ff0cb9b262a1c65b3242f9 [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" "ac598b4a09abce92d0d6fdeab657e7b931beb28fa9ff0cb9b262a1c65b3242f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac598b4a09abce92d0d6fdeab657e7b931beb28fa9ff0cb9b262a1c65b3242f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac598b4a09abce92d0d6fdeab657e7b931beb28fa9ff0cb9b262a1c65b3242f9", kill_on_drop: false }` [INFO] [stdout] ac598b4a09abce92d0d6fdeab657e7b931beb28fa9ff0cb9b262a1c65b3242f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 290061b3cd5479b2daff6037d61c9b3f6c7e90e1d6e7555f2d8ab5d826c11f53 [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" "290061b3cd5479b2daff6037d61c9b3f6c7e90e1d6e7555f2d8ab5d826c11f53", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 (https://github.com/servo/rust-url#c2f92279) [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking tracing-core v0.1.11 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Checking libc v0.2.74 [INFO] [stderr] Checking idna v0.2.0 (https://github.com/servo/rust-url#c2f92279) [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Checking httparse v1.3.4 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking form_urlencoded v1.0.0 (https://github.com/servo/rust-url#c2f92279) [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking tracing v0.1.17 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking url v2.1.1 (https://github.com/servo/rust-url#c2f92279) [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking hyper v0.13.7 [INFO] [stderr] Checking gallery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hyper::server::Request` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use hyper::server::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `Request` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::server::Response` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use hyper::server::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Response` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::uri` [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use hyper::uri::RequestUri; [INFO] [stdout] | ^^^ could not find `uri` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `status` in `hyper` [INFO] [stdout] --> src/main.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | *res.status_mut() = hyper::status::StatusCode::NotFound; [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: crate `percent_encoding` is private [INFO] [stdout] --> src/main.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | use url::percent_encoding::percent_decode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private crate [INFO] [stdout] | [INFO] [stdout] note: the crate `percent_encoding` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-url-3ddac0958e207dae/c2f9227/src/lib.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | extern crate percent_encoding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::server::Request` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use hyper::server::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `Request` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::server::Response` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use hyper::server::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Response` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::uri` [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use hyper::uri::RequestUri; [INFO] [stdout] | ^^^ could not find `uri` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `status` in `hyper` [INFO] [stdout] --> src/main.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | *res.status_mut() = hyper::status::StatusCode::NotFound; [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: crate `percent_encoding` is private [INFO] [stdout] --> src/main.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | use url::percent_encoding::percent_decode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private crate [INFO] [stdout] | [INFO] [stdout] note: the crate `percent_encoding` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-url-3ddac0958e207dae/c2f9227/src/lib.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | extern crate percent_encoding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | String::from_utf8(percent_decode(st.as_bytes())).or(Err(())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `percent_encoding::PercentDecode` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::vec::Vec` [INFO] [stdout] found struct `percent_encoding::PercentDecode<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | String::from_utf8(percent_decode(st.as_bytes())).or(Err(())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `percent_encoding::PercentDecode` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::vec::Vec` [INFO] [stdout] found struct `percent_encoding::PercentDecode<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `http` found for struct `hyper::Server<_, _, _>` in the current scope [INFO] [stdout] --> src/main.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | Server::http(&format!("{}:{}", interface, port)[..]).unwrap().handle(gallery_handle).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `hyper::Server<_, _, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `http` found for struct `hyper::Server<_, _, _>` in the current scope [INFO] [stdout] --> src/main.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | Server::http(&format!("{}:{}", interface, port)[..]).unwrap().handle(handle).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `hyper::Server<_, _, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `http` found for struct `hyper::Server<_, _, _>` in the current scope [INFO] [stdout] --> src/main.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | Server::http(&format!("{}:{}", interface, port)[..]).unwrap().handle(gallery_handle).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `hyper::Server<_, _, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `http` found for struct `hyper::Server<_, _, _>` in the current scope [INFO] [stdout] --> src/main.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | Server::http(&format!("{}:{}", interface, port)[..]).unwrap().handle(handle).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `hyper::Server<_, _, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gallery`. [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] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "290061b3cd5479b2daff6037d61c9b3f6c7e90e1d6e7555f2d8ab5d826c11f53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "290061b3cd5479b2daff6037d61c9b3f6c7e90e1d6e7555f2d8ab5d826c11f53", kill_on_drop: false }` [INFO] [stdout] 290061b3cd5479b2daff6037d61c9b3f6c7e90e1d6e7555f2d8ab5d826c11f53