[INFO] fetching crate graftpress_core 0.1.1... [INFO] checking graftpress_core-0.1.1 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate graftpress_core 0.1.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate graftpress_core 0.1.1 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate graftpress_core 0.1.1 [INFO] finished tweaking crates.io crate graftpress_core 0.1.1 [INFO] tweaked toml for crates.io crate graftpress_core 0.1.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 89b2e3aa7ff06c06b41332f7d870f198f2aacaa12cc7e790e980598ea9855e89 [INFO] running `Command { std: "docker" "start" "-a" "89b2e3aa7ff06c06b41332f7d870f198f2aacaa12cc7e790e980598ea9855e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89b2e3aa7ff06c06b41332f7d870f198f2aacaa12cc7e790e980598ea9855e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89b2e3aa7ff06c06b41332f7d870f198f2aacaa12cc7e790e980598ea9855e89", kill_on_drop: false }` [INFO] [stdout] 89b2e3aa7ff06c06b41332f7d870f198f2aacaa12cc7e790e980598ea9855e89 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8eceb71eebb8670b324a6f9ad81a0409a086aa3347a66e89e4923c04afdbd5f4 [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" "8eceb71eebb8670b324a6f9ad81a0409a086aa3347a66e89e4923c04afdbd5f4", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking serde_yaml v0.8.21 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking csv v1.0.7 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking chashmap v2.2.2 [INFO] [stderr] Checking notify v5.0.0-pre.1 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking comrak v0.3.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking graft v0.1.7 [INFO] [stderr] Checking realm v0.1.9 [INFO] [stderr] Checking graftpress_core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `HTML` in `realm` [INFO] [stdout] --> src/cms.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | realm::HTML::new().title("index").render_to_response(spec) [INFO] [stdout] | ^^^^ could not find `HTML` in `realm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `not_found` in module `realm::utils` [INFO] [stdout] --> src/cms.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | return Ok(realm::utils::not_found()); [INFO] [stdout] | ^^^^^^^^^ not found in `realm::utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/cms.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `panic`, `path::PathBuf` [INFO] [stdout] --> src/cms.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{env, fs::{File, canonicalize}, panic, path::PathBuf}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/cms.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Maybe`, `url2path` [INFO] [stdout] --> src/reverse.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use realm::utils::{Maybe, url2path}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HTML` in `realm` [INFO] [stdout] --> src/cms.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | realm::HTML::new().title("index").render_to_response(spec) [INFO] [stdout] | ^^^^ could not find `HTML` in `realm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `not_found` in module `realm::utils` [INFO] [stdout] --> src/cms.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | return Ok(realm::utils::not_found()); [INFO] [stdout] | ^^^^^^^^^ not found in `realm::utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/cms.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `panic`, `path::PathBuf` [INFO] [stdout] --> src/cms.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{env, fs::{File, canonicalize}, panic, path::PathBuf}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/cms.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Maybe`, `url2path` [INFO] [stdout] --> src/reverse.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use realm::utils::{Maybe, url2path}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cms.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | let mut proj_dir = env::current_dir().expect("could not find current dir"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cms.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | let mut proj_dir = env::current_dir().expect("could not find current dir"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/forward.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | let input = realm::request_config::RequestConfig::new(req)?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `http::request::Request` [INFO] [stdout] | help: consider borrowing here: `&req` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&http::request::Request>` [INFO] [stdout] found struct `http::request::Request>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cms.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | let mut proj_dir = env::current_dir().expect("could not find current dir"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cms.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | let mut proj_dir = env::current_dir().expect("could not find current dir"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/forward.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | let input = realm::request_config::RequestConfig::new(req)?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `http::request::Request` [INFO] [stdout] | help: consider borrowing here: `&req` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&http::request::Request>` [INFO] [stdout] found struct `http::request::Request>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `req` on type `RequestConfig` [INFO] [stdout] --> src/forward.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | url_ => crate::cms::layout(&input.req, crate::cms::get_context("cms"), url_), [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `query`, `data`, `rest`, `url`, `path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/cms.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | println!("content {:?}", content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `ArgumentV1::<'a>::new` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graftpress_core` due to 6 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0609]: no field `req` on type `RequestConfig` [INFO] [stdout] --> src/forward.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | url_ => crate::cms::layout(&input.req, crate::cms::get_context("cms"), url_), [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `query`, `data`, `rest`, `url`, `path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/cms.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | println!("content {:?}", content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `ArgumentV1::<'a>::new` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8eceb71eebb8670b324a6f9ad81a0409a086aa3347a66e89e4923c04afdbd5f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eceb71eebb8670b324a6f9ad81a0409a086aa3347a66e89e4923c04afdbd5f4", kill_on_drop: false }` [INFO] [stdout] 8eceb71eebb8670b324a6f9ad81a0409a086aa3347a66e89e4923c04afdbd5f4