[INFO] cloning repository https://github.com/zemlanin/writers [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zemlanin/writers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzemlanin%2Fwriters"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzemlanin%2Fwriters'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0983986084cddae0a9d80369e6e338c222477211 [INFO] testing zemlanin/writers against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzemlanin%2Fwriters" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zemlanin/writers on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/zemlanin/writers [INFO] finished tweaking git repo https://github.com/zemlanin/writers [INFO] tweaked toml for git repo https://github.com/zemlanin/writers written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/zemlanin/writers already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/nickel-org/rust-mustache.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "+1.44.0" "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] 185c6bfbff98e3cc4ca6cfa8c3dba7a2e0850c9f15a212ff5e404d0ccce55e1a [INFO] running `"docker" "start" "-a" "185c6bfbff98e3cc4ca6cfa8c3dba7a2e0850c9f15a212ff5e404d0ccce55e1a"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling mustache v0.9.0 (https://github.com/nickel-org/rust-mustache.git#d60f4515) [INFO] [stderr] Compiling writers v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `std::ffi::AsOsStr` [INFO] [stderr] --> src/main.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | use std::ffi::AsOsStr; [INFO] [stderr] | ^^^^^^^^^^------- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `OsStr` [INFO] [stderr] | no `AsOsStr` in `ffi` [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(core)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(std_misc)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #![feature(path_ext)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #![feature(slice_patterns)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #![feature(path_relative_from)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:157:21 [INFO] [stderr] | [INFO] [stderr] 157 | let mut f = try!(File::open(template_path.as_os_str())); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:159:9 [INFO] [stderr] | [INFO] [stderr] 159 | try!(f.read_to_string(&mut s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `relative_from` found for struct `std::path::PathBuf` in the current scope [INFO] [stderr] --> src/main.rs:96:46 [INFO] [stderr] | [INFO] [stderr] 96 | let relative_path_md = absolute_path.relative_from(&input_path).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ method not found in `std::path::PathBuf` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `PageData: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> src/main.rs:103:48 [INFO] [stderr] | [INFO] [stderr] 103 | try_print!(template.render(&mut bytes, &page)); [INFO] [stderr] | ^^^^^ the trait `serde::ser::Serialize` is not implemented for `PageData` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `relative_from` found for reference `&std::path::Path` in the current scope [INFO] [stderr] --> src/main.rs:142:42 [INFO] [stderr] | [INFO] [stderr] 142 | let relative_path = input_target.relative_from(input_path).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ method not found in `&std::path::Path` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:161:12 [INFO] [stderr] | [INFO] [stderr] 161 | Ok(mustache::compile_str(&s)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `mustache::Template`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `mustache::Template` [INFO] [stderr] found enum `std::result::Result` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0432, E0554, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `writers`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "185c6bfbff98e3cc4ca6cfa8c3dba7a2e0850c9f15a212ff5e404d0ccce55e1a"` [INFO] running `"docker" "rm" "-f" "185c6bfbff98e3cc4ca6cfa8c3dba7a2e0850c9f15a212ff5e404d0ccce55e1a"` [INFO] [stdout] 185c6bfbff98e3cc4ca6cfa8c3dba7a2e0850c9f15a212ff5e404d0ccce55e1a