[INFO] updating cached repository https://github.com/zserik/zspepperbrowsa [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 253e5920692ef4d0c9abb7010edf9de3ef6a225d [INFO] testing zserik/zspepperbrowsa against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzserik%2Fzspepperbrowsa" "work/builds/worker-0/source"` [INFO] [stderr] Cloning into 'work/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zserik/zspepperbrowsa on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/zserik/zspepperbrowsa [INFO] finished tweaking git repo https://github.com/zserik/zspepperbrowsa [INFO] tweaked toml for git repo https://github.com/zserik/zspepperbrowsa written to work/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/zserik/zspepperbrowsa already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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-2019-09-28" "build" "--frozen"` [INFO] [stdout] a8667f4a0d7eb6c3e1a01be8105757fb7944bc44e1322475605d0f288a195647 [INFO] running `"docker" "start" "-a" "a8667f4a0d7eb6c3e1a01be8105757fb7944bc44e1322475605d0f288a195647"` [INFO] [stderr] Compiling syn v0.15.43 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling unindent v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling pest v2.1.1 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling filetime v0.2.6 [INFO] [stderr] Compiling pest_meta v2.1.1 [INFO] [stderr] Compiling readfilez v0.1.3 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling proc-macro-hack v0.5.8 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling indoc-impl v0.3.3 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling indoc v0.3.3 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling toml v0.5.1 [INFO] [stderr] Compiling handlebars v2.0.1 [INFO] [stderr] Compiling zspepperbrowsa v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `OpenOptions` [INFO] [stderr] --> src/main.rs:8:27 [INFO] [stderr] | [INFO] [stderr] 8 | use std::fs::{self, File, OpenOptions}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: try expression alternatives have incompatible types [INFO] [stderr] --> src/main.rs:154:40 [INFO] [stderr] | [INFO] [stderr] 154 | let mut metadata: ObjectMetadata = parse_toml_file(entname)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `ObjectMetadata`, found enum `toml::value::Value` [INFO] [stderr] | [INFO] [stderr] = note: expected type `ObjectMetadata` [INFO] [stderr] found type `toml::value::Value` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::borrow::Cow<'_, str>: std::convert::AsRef` is not satisfied [INFO] [stderr] --> src/main.rs:171:30 [INFO] [stderr] | [INFO] [stderr] 171 | let fmeta = fs::metadata(&entname)?; [INFO] [stderr] | ^^^^^^^^ the trait `std::convert::AsRef` is not implemented for `std::borrow::Cow<'_, str>` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as std::convert::AsRef> [INFO] [stderr] as std::convert::AsRef> [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::AsRef` for `&std::borrow::Cow<'_, str>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `path` found for type `std::path::PathBuf` in the current scope [INFO] [stderr] --> src/main.rs:191:26 [INFO] [stderr] | [INFO] [stderr] 191 | let path = entry.path(); [INFO] [stderr] | ^^^^ method not found in `std::path::PathBuf` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `startswith` found for type `&str` in the current scope [INFO] [stderr] --> src/main.rs:193:37 [INFO] [stderr] | [INFO] [stderr] 193 | if get_file_basename(&path).startswith(".") { [INFO] [stderr] | ^^^^^^^^^^ help: there is a method with a similar name: `starts_with` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `endswith` found for type `str` in the current scope [INFO] [stderr] --> src/main.rs:197:21 [INFO] [stderr] | [INFO] [stderr] 197 | if path.endswith(".toml") { [INFO] [stderr] | ^^^^^^^^ help: there is a method with a similar name: `ends_with` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_fmt` found for type `&mut std::fs::File` in the current scope [INFO] [stderr] --> src/main.rs:212:5 [INFO] [stderr] | [INFO] [stderr] 212 | write!(&mut fh, "{}", HB.render("page", &data).unwrap())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut std::fs::File` [INFO] [stderr] | [INFO] [stderr] = note: the method `write_fmt` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut std::fs::File : std::fmt::Write` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Write; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:213:8 [INFO] [stderr] | [INFO] [stderr] 213 | Ok(Path::new(subdir).file_name().unwrap().to_str().unwrap()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found &str [INFO] [stderr] | help: try using a conversion method: `Path::new(subdir).file_name().unwrap().to_str().unwrap().to_string()` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::string::String` [INFO] [stderr] found type `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:217:28 [INFO] [stderr] | [INFO] [stderr] 217 | let main_cfg: Config = parse_toml_file(".zspepperbrowsa.toml").expect("unable to read main config"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Config`, found enum `toml::value::Value` [INFO] [stderr] | [INFO] [stderr] = note: expected type `Config` [INFO] [stderr] found type `toml::value::Value` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `zspepperbrowsa`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a8667f4a0d7eb6c3e1a01be8105757fb7944bc44e1322475605d0f288a195647"` [INFO] running `"docker" "rm" "-f" "a8667f4a0d7eb6c3e1a01be8105757fb7944bc44e1322475605d0f288a195647"` [INFO] [stdout] a8667f4a0d7eb6c3e1a01be8105757fb7944bc44e1322475605d0f288a195647