[INFO] fetching crate strange 0.9.0... [INFO] testing strange-0.9.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate strange 0.9.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate strange 0.9.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate strange 0.9.0 [INFO] finished tweaking crates.io crate strange 0.9.0 [INFO] tweaked toml for crates.io crate strange 0.9.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b29ef146ea897f591e5f272f16c82d5ee7e028148a95e0e88b69115d65ea68c7 [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" "b29ef146ea897f591e5f272f16c82d5ee7e028148a95e0e88b69115d65ea68c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b29ef146ea897f591e5f272f16c82d5ee7e028148a95e0e88b69115d65ea68c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b29ef146ea897f591e5f272f16c82d5ee7e028148a95e0e88b69115d65ea68c7", kill_on_drop: false }` [INFO] [stdout] b29ef146ea897f591e5f272f16c82d5ee7e028148a95e0e88b69115d65ea68c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] f258f76914120032c273f2049b1d21a6f52aff996fe7946b485d82cf7c5b7bad [INFO] running `Command { std: "docker" "start" "-a" "f258f76914120032c273f2049b1d21a6f52aff996fe7946b485d82cf7c5b7bad", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling slog v1.7.1 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling pest v0.3.3 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling pest v0.4.1 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling slog-extra v0.1.2 [INFO] [stderr] Compiling slog-scope v0.2.2 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling slog-stream v1.2.1 [INFO] [stderr] Compiling slog-term v1.5.0 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling handlebars v0.29.1 [INFO] [stderr] Compiling tera v0.10.10 [INFO] [stderr] Compiling strange v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | #[macro_use(o, slog_log, slog_trace, slog_debug, slog_info, slog_warn, slog_error)] [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/main.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | #[macro_use(o, slog_log, slog_trace, slog_debug, slog_info, slog_warn, slog_error)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | #[macro_use(o, slog_log, slog_trace, slog_debug, slog_info, slog_warn, slog_error)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | #[macro_use(o, slog_log, slog_trace, slog_debug, slog_info, slog_warn, slog_error)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:42:50 [INFO] [stdout] | [INFO] [stdout] 42 | #[macro_use(o, slog_log, slog_trace, slog_debug, slog_info, slog_warn, slog_error)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | #[macro_use(o, slog_log, slog_trace, slog_debug, slog_info, slog_warn, slog_error)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:42:72 [INFO] [stdout] | [INFO] [stdout] 42 | #[macro_use(o, slog_log, slog_trace, slog_debug, slog_info, slog_warn, slog_error)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:243:2 [INFO] [stdout] | [INFO] [stdout] 243 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / error_chain! { [INFO] [stdout] 20 | | errors { [INFO] [stdout] 21 | | Warning(msg: String) { [INFO] [stdout] 22 | | description("Warning") [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plugin/mod.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Plugins(Vec>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - pub struct Plugins(Vec>); [INFO] [stdout] 99 + pub struct Plugins(Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/models/file.rs:86:40 [INFO] [stdout] | [INFO] [stdout] 86 | pub page: RwLock>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - pub page: RwLock>>, [INFO] [stdout] 86 + pub page: RwLock>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plugin/mod.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | impl Serialize for PluginPageData + Send + Sync{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - impl Serialize for PluginPageData + Send + Sync{ [INFO] [stdout] 51 + impl Serialize for dyn PluginPageData + Send + Sync{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plugin/mod.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | impl Debug for PluginPageData + Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - impl Debug for PluginPageData + Send + Sync { [INFO] [stdout] 60 + impl Debug for dyn PluginPageData + Send + Sync { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/models/file.rs:431:51 [INFO] [stdout] | [INFO] [stdout] 431 | pub fn add_page_data(&self, name: &str, val: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 431 - pub fn add_page_data(&self, name: &str, val: Box) { [INFO] [stdout] 431 + pub fn add_page_data(&self, name: &str, val: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plugin/mod.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | let mut plugin_list: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 - let mut plugin_list: Vec> = Vec::new(); [INFO] [stdout] 103 + let mut plugin_list: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/tpl/engine_tera.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | format!("{}\n", l.trim_right()) [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/tpl/engine_tera.rs:247:35 [INFO] [stdout] | [INFO] [stdout] 247 | format!("{}{}\n", &indent, l.trim_right()) [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/tpl/engine_tera.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | .trim_right_matches("\n") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/tpl/engine_tera.rs:272:48 [INFO] [stdout] | [INFO] [stdout] 272 | Ok(Value::String(value.as_str().unwrap_or("").trim_left_matches(&trim_chars[..]).into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/tpl/engine_tera.rs:277:48 [INFO] [stdout] | [INFO] [stdout] 277 | Ok(Value::String(value.as_str().unwrap_or("").trim_right_matches(&trim_chars[..]).into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / error_chain! { [INFO] [stdout] 20 | | errors { [INFO] [stdout] 21 | | Warning(msg: String) { [INFO] [stdout] 22 | | description("Warning") [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/cmd/serve.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | .bind(&address, move || Ok(FileServer { path: &serve_path })) [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure is std::result::Result, std::io::Error> [INFO] [stdout] | lifetime `'1` represents this closure's body [INFO] [stdout] | [INFO] [stdout] = note: closure implements `Fn`, so references to captured variables can't escape the closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `strange` due to 2 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f258f76914120032c273f2049b1d21a6f52aff996fe7946b485d82cf7c5b7bad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f258f76914120032c273f2049b1d21a6f52aff996fe7946b485d82cf7c5b7bad", kill_on_drop: false }` [INFO] [stdout] f258f76914120032c273f2049b1d21a6f52aff996fe7946b485d82cf7c5b7bad