[INFO] updating cached repository zemlanin/writers [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/zemlanin/writers [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/zemlanin/writers" "work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/zemlanin/writers"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/zemlanin/writers'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/zemlanin/writers" "work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/zemlanin/writers"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/zemlanin/writers'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0983986084cddae0a9d80369e6e338c222477211 [INFO] sha for GitHub repo zemlanin/writers: 0983986084cddae0a9d80369e6e338c222477211 [INFO] validating manifest of zemlanin/writers on toolchain master#435236b8877cdb98c82eaebfb7887782277265c5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of zemlanin/writers on toolchain try#b5c7f157c20453dde8d47371abe73b32351b4e7f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing zemlanin/writers [INFO] finished frobbing zemlanin/writers [INFO] frobbed toml for zemlanin/writers written to work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/zemlanin/writers/Cargo.toml [INFO] started frobbing zemlanin/writers [INFO] finished frobbing zemlanin/writers [INFO] frobbed toml for zemlanin/writers written to work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/zemlanin/writers/Cargo.toml [INFO] crate zemlanin/writers already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/zemlanin/writers/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/nickel-org/rust-mustache.git` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/nickel-org/rust-mustache.git` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking zemlanin/writers against try#b5c7f157c20453dde8d47371abe73b32351b4e7f for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-0/try#b5c7f157c20453dde8d47371abe73b32351b4e7f:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/zemlanin/writers:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 8fa4cf16af6bda2e0a69fe75d366c0b26ef8197ab63173651d089c013811dfb5 [INFO] running `"docker" "start" "-a" "8fa4cf16af6bda2e0a69fe75d366c0b26ef8197ab63173651d089c013811dfb5"` [INFO] [stderr] Compiling log v0.4.8 [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/crater/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] error[E0599]: no method named `relative_from` found for type `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] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `PageData: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> src/main.rs:103:29 [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 type `&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] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `relative_from` found for type `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] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `PageData: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> src/main.rs:103:29 [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 type `&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] | ^^^^^^^^^^^^^ [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 type `mustache::Template` [INFO] [stderr] found type `std::result::Result` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [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] warning: build failed, waiting for other jobs to finish... [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 type `mustache::Template` [INFO] [stderr] found type `std::result::Result` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [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" "8fa4cf16af6bda2e0a69fe75d366c0b26ef8197ab63173651d089c013811dfb5"` [INFO] running `"docker" "rm" "-f" "8fa4cf16af6bda2e0a69fe75d366c0b26ef8197ab63173651d089c013811dfb5"` [INFO] [stdout] 8fa4cf16af6bda2e0a69fe75d366c0b26ef8197ab63173651d089c013811dfb5