[INFO] crate graftpress_core 0.1.1 is already in cache [INFO] testing graftpress_core-0.1.1 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate graftpress_core 0.1.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate graftpress_core 0.1.1 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c92876875fdc7c6d12eb66ee5648f6bf65bf331fabe8598253896ee9f168ab90 [INFO] running `"docker" "start" "-a" "c92876875fdc7c6d12eb66ee5648f6bf65bf331fabe8598253896ee9f168ab90"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling rgb v0.8.18 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling entities v1.0.1 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling hmac-sha1 v0.1.3 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling serde_yaml v0.8.12 [INFO] [stderr] Compiling csv v1.0.7 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling blowfish v0.4.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling bcrypt v0.5.0 [INFO] [stderr] Compiling chashmap v2.2.2 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling winconsole v0.10.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling colored v1.8.0 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling notify v5.0.0-pre.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling comrak v0.3.1 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling onig_sys v69.5.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling signed_cookies v0.1.2 [INFO] [stderr] Compiling graft v0.1.7 [INFO] [stderr] Compiling diesel v1.4.4 [INFO] [stderr] Compiling onig v5.0.0 [INFO] [stderr] Compiling syntect v3.3.0 [INFO] [stderr] Compiling r2d2-diesel v1.0.0 [INFO] [stderr] Compiling realm v0.1.18 [INFO] [stderr] Compiling graftpress_core v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `HTML` in `realm` [INFO] [stderr] --> src/cms.rs:78:12 [INFO] [stderr] | [INFO] [stderr] 78 | realm::HTML::new().title("index").render_to_response(spec) [INFO] [stderr] | ^^^^ could not find `HTML` in `realm` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `not_found` in module `realm::utils` [INFO] [stderr] --> src/cms.rs:61:37 [INFO] [stderr] | [INFO] [stderr] 61 | return Ok(realm::utils::not_found()); [INFO] [stderr] | ^^^^^^^^^ not found in `realm::utils` [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/cms.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `panic`, `path::PathBuf` [INFO] [stderr] --> src/cms.rs:5:42 [INFO] [stderr] | [INFO] [stderr] 5 | use std::{env, fs::{File, canonicalize}, panic, path::PathBuf}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/cms.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Maybe`, `url2path` [INFO] [stderr] --> src/reverse.rs:2:20 [INFO] [stderr] | [INFO] [stderr] 2 | use realm::utils::{Maybe, url2path}; [INFO] [stderr] | ^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/cms.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | let mut proj_dir = env::current_dir().expect("could not find current dir"); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/cms.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | let mut proj_dir = env::current_dir().expect("could not find current dir"); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/forward.rs:3:59 [INFO] [stderr] | [INFO] [stderr] 3 | let input = realm::request_config::RequestConfig::new(req)?; [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | expected reference, found struct `http::request::Request` [INFO] [stderr] | help: consider borrowing here: `&req` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&http::request::Request>` [INFO] [stderr] found struct `http::request::Request>` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `req` on type `realm::request_config::RequestConfig` [INFO] [stderr] --> src/forward.rs:5:43 [INFO] [stderr] | [INFO] [stderr] 5 | url_ => crate::cms::layout(&input.req, crate::cms::get_context("cms"), url_), [INFO] [stderr] | ^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `query`, `data`, `rest`, `path` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/cms.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | println!("content {:?}", content); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0425, E0433, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `graftpress_core`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c92876875fdc7c6d12eb66ee5648f6bf65bf331fabe8598253896ee9f168ab90"` [INFO] running `"docker" "rm" "-f" "c92876875fdc7c6d12eb66ee5648f6bf65bf331fabe8598253896ee9f168ab90"` [INFO] [stdout] c92876875fdc7c6d12eb66ee5648f6bf65bf331fabe8598253896ee9f168ab90