[INFO] cloning repository https://github.com/j16r/ota [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/j16r/ota" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj16r%2Fota", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj16r%2Fota'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ec58d03d312dbdd8724ffc1fbfa1596689a78b5 [INFO] checking j16r/ota against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj16r%2Fota" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/j16r/ota on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/j16r/ota [INFO] finished tweaking git repo https://github.com/j16r/ota [INFO] tweaked toml for git repo https://github.com/j16r/ota written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/j16r/ota already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded handlebars v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a017e3f9b9a0f94a2846e54d59debb58ecf64a7bc7cae26816be1a381a33d82c [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" "a017e3f9b9a0f94a2846e54d59debb58ecf64a7bc7cae26816be1a381a33d82c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a017e3f9b9a0f94a2846e54d59debb58ecf64a7bc7cae26816be1a381a33d82c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a017e3f9b9a0f94a2846e54d59debb58ecf64a7bc7cae26816be1a381a33d82c", kill_on_drop: false }` [INFO] [stdout] a017e3f9b9a0f94a2846e54d59debb58ecf64a7bc7cae26816be1a381a33d82c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc5fe40ee2ea44f4366c003d904a69c144f2d6aa884b0fc1173d575c5df46642 [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" "dc5fe40ee2ea44f4366c003d904a69c144f2d6aa884b0fc1173d575c5df46642", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.5 [INFO] [stderr] Compiling rocket v0.4.5 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling aead v0.2.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Checking ghash v0.2.3 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking aes-gcm v0.5.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.5 [INFO] [stderr] Checking rocket_contrib v0.4.5 [INFO] [stderr] Checking ota v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::templates::render_admin` [INFO] [stdout] --> src/main.rs:25:46 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::templates::{render, render_index, render_admin}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `render_admin` in `templates` [INFO] [stdout] | help: a similar name exists in the module: `render_inline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::templates::render_admin` [INFO] [stdout] --> src/main.rs:25:46 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::templates::{render, render_index, render_admin}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `render_admin` in `templates` [INFO] [stdout] | help: a similar name exists in the module: `render_inline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NamedFile` in this scope [INFO] [stdout] --> src/main.rs:64:58 [INFO] [stdout] | [INFO] [stdout] 64 | fn serve_static_assets(file: PathBuf) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 | use rocket::response::NamedFile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NamedFile` [INFO] [stdout] --> src/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | NamedFile::open(Path::new("site/").join(file)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 | use rocket::response::NamedFile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | NamedFile::open(Path::new("site/").join(file)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 17 | use crate::articles::Path; [INFO] [stdout] | [INFO] [stdout] 17 | use rocket::http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 17 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NamedFile` in this scope [INFO] [stdout] --> src/main.rs:64:58 [INFO] [stdout] | [INFO] [stdout] 64 | fn serve_static_assets(file: PathBuf) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 | use rocket::response::NamedFile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NamedFile` [INFO] [stdout] --> src/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | NamedFile::open(Path::new("site/").join(file)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 | use rocket::response::NamedFile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | NamedFile::open(Path::new("site/").join(file)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 17 | use crate::articles::Path; [INFO] [stdout] | [INFO] [stdout] 17 | use rocket::http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 17 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReadDir`, `create_dir_all`, `read_dir` [INFO] [stdout] --> src/templates.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::{File, create_dir_all, read_dir, ReadDir}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReadDir`, `create_dir_all`, `read_dir` [INFO] [stdout] --> src/templates.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::{File, create_dir_all, read_dir, ReadDir}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ota` [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 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dc5fe40ee2ea44f4366c003d904a69c144f2d6aa884b0fc1173d575c5df46642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc5fe40ee2ea44f4366c003d904a69c144f2d6aa884b0fc1173d575c5df46642", kill_on_drop: false }` [INFO] [stdout] dc5fe40ee2ea44f4366c003d904a69c144f2d6aa884b0fc1173d575c5df46642