[INFO] updating cached repository https://github.com/TheNeikos/rust-gallery [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] aea1f4bacd44d1d1d47bf8e8187fb9da4c581799 [INFO] checking TheNeikos/rust-gallery against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheNeikos%2Frust-gallery" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheNeikos/rust-gallery on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/TheNeikos/rust-gallery already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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 `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/servo/rust-url` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "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" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c47c5eded0063ae7c30fe3aff1e9b4880a51a8b136a2e5d5994ebd5791e48ce7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "c47c5eded0063ae7c30fe3aff1e9b4880a51a8b136a2e5d5994ebd5791e48ce7"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking percent-encoding v2.1.0 (https://github.com/servo/rust-url#28314752) [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking idna v0.2.0 (https://github.com/servo/rust-url#28314752) [INFO] [stderr] Checking url v2.1.1 (https://github.com/servo/rust-url#28314752) [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Checking pin-project v0.4.9 [INFO] [stderr] Checking hyper v0.13.5 [INFO] [stderr] Checking gallery v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `hyper::server::Request` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use hyper::server::Request; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ no `Request` in `server` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::server::Response` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use hyper::server::Response; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Response` in `server` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::uri` [INFO] [stderr] --> src/main.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | use hyper::uri::RequestUri; [INFO] [stderr] | ^^^ could not find `uri` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `status` in `hyper` [INFO] [stderr] --> src/main.rs:34:32 [INFO] [stderr] | [INFO] [stderr] 34 | *res.status_mut() = hyper::status::StatusCode::NotFound; [INFO] [stderr] | ^^^^^^ could not find `status` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0603]: crate `percent_encoding` is private [INFO] [stderr] --> src/main.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | use url::percent_encoding::percent_decode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ private crate [INFO] [stderr] | [INFO] [stderr] note: the crate `percent_encoding` is defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/rust-url-3ddac0958e207dae/2831475/src/lib.rs:113:1 [INFO] [stderr] | [INFO] [stderr] 113 | extern crate percent_encoding; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::server::Request` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use hyper::server::Request; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ no `Request` in `server` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::server::Response` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use hyper::server::Response; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Response` in `server` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::uri` [INFO] [stderr] --> src/main.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | use hyper::uri::RequestUri; [INFO] [stderr] | ^^^ could not find `uri` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `status` in `hyper` [INFO] [stderr] --> src/main.rs:34:32 [INFO] [stderr] | [INFO] [stderr] 34 | *res.status_mut() = hyper::status::StatusCode::NotFound; [INFO] [stderr] | ^^^^^^ could not find `status` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0603]: crate `percent_encoding` is private [INFO] [stderr] --> src/main.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | use url::percent_encoding::percent_decode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ private crate [INFO] [stderr] | [INFO] [stderr] note: the crate `percent_encoding` is defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/rust-url-3ddac0958e207dae/2831475/src/lib.rs:113:1 [INFO] [stderr] | [INFO] [stderr] 113 | extern crate percent_encoding; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:27:31 [INFO] [stderr] | [INFO] [stderr] 27 | String::from_utf8(percent_decode(st.as_bytes())).or(Err(())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `percent_encoding::PercentDecode` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::vec::Vec` [INFO] [stderr] found struct `percent_encoding::PercentDecode<'_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:27:31 [INFO] [stderr] | [INFO] [stderr] 27 | String::from_utf8(percent_decode(st.as_bytes())).or(Err(())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `percent_encoding::PercentDecode` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::vec::Vec` [INFO] [stderr] found struct `percent_encoding::PercentDecode<'_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `http` found for struct `hyper::Server<_, _, _>` in the current scope [INFO] [stderr] --> src/main.rs:223:17 [INFO] [stderr] | [INFO] [stderr] 223 | Server::http(&format!("{}:{}", interface, port)[..]).unwrap().handle(gallery_handle).unwrap(); [INFO] [stderr] | ^^^^ function or associated item not found in `hyper::Server<_, _, _>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `http` found for struct `hyper::Server<_, _, _>` in the current scope [INFO] [stderr] --> src/main.rs:225:17 [INFO] [stderr] | [INFO] [stderr] 225 | Server::http(&format!("{}:{}", interface, port)[..]).unwrap().handle(handle).unwrap(); [INFO] [stderr] | ^^^^ function or associated item not found in `hyper::Server<_, _, _>` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/main.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | use std::io::{Read, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0433, E0599, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [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] [stderr] error[E0599]: no function or associated item named `http` found for struct `hyper::Server<_, _, _>` in the current scope [INFO] [stderr] --> src/main.rs:223:17 [INFO] [stderr] | [INFO] [stderr] 223 | Server::http(&format!("{}:{}", interface, port)[..]).unwrap().handle(gallery_handle).unwrap(); [INFO] [stderr] | ^^^^ function or associated item not found in `hyper::Server<_, _, _>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `http` found for struct `hyper::Server<_, _, _>` in the current scope [INFO] [stderr] --> src/main.rs:225:17 [INFO] [stderr] | [INFO] [stderr] 225 | Server::http(&format!("{}:{}", interface, port)[..]).unwrap().handle(handle).unwrap(); [INFO] [stderr] | ^^^^ function or associated item not found in `hyper::Server<_, _, _>` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/main.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | use std::io::{Read, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0433, E0599, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `gallery`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c47c5eded0063ae7c30fe3aff1e9b4880a51a8b136a2e5d5994ebd5791e48ce7"` [INFO] running `"docker" "rm" "-f" "c47c5eded0063ae7c30fe3aff1e9b4880a51a8b136a2e5d5994ebd5791e48ce7"` [INFO] [stdout] c47c5eded0063ae7c30fe3aff1e9b4880a51a8b136a2e5d5994ebd5791e48ce7