[INFO] fetching crate graftpress_core 0.1.1... [INFO] testing graftpress_core-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate graftpress_core 0.1.1 into /workspace/builds/worker-4-tc2/source [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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate graftpress_core 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 194 packages to latest compatible versions [INFO] [stderr] Adding csv v1.0.7 (available: v1.3.1) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding http v0.1.21 (available: v1.3.1) [INFO] [stderr] Adding hyper v0.12.36 (available: v1.7.0) [INFO] [stderr] Adding itertools v0.7.11 (available: v0.14.0) [INFO] [stderr] Adding lazy_static v1.2.0 (available: v1.5.0) [INFO] [stderr] Adding notify v5.0.0-pre.1 (available: v5.2.0) [INFO] [stderr] Adding realm v0.1.9 (available: v0.1.23) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.7) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f3e7e5ecefb6e92e31e738c206e1b7fcf7ade3eddaf0404c4ac366027f2c6a1 [INFO] running `Command { std: "docker" "start" "-a" "3f3e7e5ecefb6e92e31e738c206e1b7fcf7ade3eddaf0404c4ac366027f2c6a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f3e7e5ecefb6e92e31e738c206e1b7fcf7ade3eddaf0404c4ac366027f2c6a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f3e7e5ecefb6e92e31e738c206e1b7fcf7ade3eddaf0404c4ac366027f2c6a1", kill_on_drop: false }` [INFO] [stdout] 3f3e7e5ecefb6e92e31e738c206e1b7fcf7ade3eddaf0404c4ac366027f2c6a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79c7515a3250739e75a2045dbb9c421e690e066df26ea47c82cfea8e80138116 [INFO] running `Command { std: "docker" "start" "-a" "79c7515a3250739e75a2045dbb9c421e690e066df26ea47c82cfea8e80138116", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling chashmap v2.2.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling entities v1.0.1 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling csv v1.0.7 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling notify v5.0.0-pre.1 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling comrak v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling graft v0.1.7 [INFO] [stderr] Compiling realm v0.1.9 [INFO] [stderr] Compiling 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] help: there is an enum variant `realm::Mode::HTML`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 78 - realm::HTML::new().title("index").render_to_response(spec) [INFO] [stdout] 78 + realm::Mode::new().title("index").render_to_response(spec) [INFO] [stdout] | [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:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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` and `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` and `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] | ----------------------------------------- ^^^ expected `&Request>`, found `Request>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&http::request::Request<_>` [INFO] [stdout] found struct `http::request::Request<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/realm-0.1.9/src/request_config.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(req: &crate::Request) -> std::result::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 3 | let input = realm::request_config::RequestConfig::new(&req)?; [INFO] [stdout] | + [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/cms.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | 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] Some errors have detailed explanations: E0308, E0425, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graftpress_core` (lib) due to 4 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "79c7515a3250739e75a2045dbb9c421e690e066df26ea47c82cfea8e80138116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79c7515a3250739e75a2045dbb9c421e690e066df26ea47c82cfea8e80138116", kill_on_drop: false }` [INFO] [stdout] 79c7515a3250739e75a2045dbb9c421e690e066df26ea47c82cfea8e80138116