[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] checking zemlanin/writers against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzemlanin%2Fwriters" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zemlanin/writers on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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-14/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating git submodule `https://github.com/mustache/spec` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/nickel-org/rust-mustache.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=forbid" "-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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b0c6ccb10b2829cc6eae0632cf9dc648da506ffcae01e9b3220637e2faf0ead9 [INFO] running `"docker" "start" "-a" "b0c6ccb10b2829cc6eae0632cf9dc648da506ffcae01e9b3220637e2faf0ead9"` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mustache v0.9.0 (https://github.com/nickel-org/rust-mustache.git#d60f4515) [INFO] [stderr] Checking 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[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] 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] 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[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 5 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [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: could not compile `writers`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0432, 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" "b0c6ccb10b2829cc6eae0632cf9dc648da506ffcae01e9b3220637e2faf0ead9"` [INFO] running `"docker" "rm" "-f" "b0c6ccb10b2829cc6eae0632cf9dc648da506ffcae01e9b3220637e2faf0ead9"` [INFO] [stdout] b0c6ccb10b2829cc6eae0632cf9dc648da506ffcae01e9b3220637e2faf0ead9