[INFO] cloning repository https://github.com/zhnxin/text4kindlegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhnxin/text4kindlegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhnxin%2Ftext4kindlegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhnxin%2Ftext4kindlegen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 057c9e033371bd09a45d99b8b1ddbab33cb93a31 [INFO] checking zhnxin/text4kindlegen against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhnxin%2Ftext4kindlegen" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhnxin/text4kindlegen on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhnxin/text4kindlegen [INFO] finished tweaking git repo https://github.com/zhnxin/text4kindlegen [INFO] tweaked toml for git repo https://github.com/zhnxin/text4kindlegen written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/zhnxin/text4kindlegen already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d7d105248dccc9c71cad775138d30463e5d8f266563dd4dc25d09a1f5cd0bf0 [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" "3d7d105248dccc9c71cad775138d30463e5d8f266563dd4dc25d09a1f5cd0bf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d7d105248dccc9c71cad775138d30463e5d8f266563dd4dc25d09a1f5cd0bf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d7d105248dccc9c71cad775138d30463e5d8f266563dd4dc25d09a1f5cd0bf0", kill_on_drop: false }` [INFO] [stdout] 3d7d105248dccc9c71cad775138d30463e5d8f266563dd4dc25d09a1f5cd0bf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8cef6a89aeda424b85f5fb2539d4b822fa0821ddf2e40ae0a441ac8c49998ae [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" "b8cef6a89aeda424b85f5fb2539d4b822fa0821ddf2e40ae0a441ac8c49998ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling serde v1.0.97 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking ucd-util v0.1.5 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking regex-syntax v0.6.10 [INFO] [stderr] Compiling pest v2.1.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking rust-embed-utils v5.0.0 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking aho-corasick v0.7.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking encodingbufreader v0.1.1 [INFO] [stderr] Compiling pest_meta v2.1.1 [INFO] [stderr] Compiling rust-embed-impl v5.1.0 [INFO] [stderr] Checking regex v1.2.0 [INFO] [stderr] Checking rust-embed v5.1.0 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.97 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Checking toml v0.5.1 [INFO] [stderr] Checking handlebars v2.0.1 [INFO] [stderr] Checking txt4k v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(RustEmbed)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: #[derive(RustEmbed)] folder 'templates/' does not exist. cwd: '/opt/rustwide/workdir' [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(RustEmbed)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: #[derive(RustEmbed)] folder 'templates/' does not exist. cwd: '/opt/rustwide/workdir' [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Templates` in the current scope [INFO] [stdout] --> src/main.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 10 | struct Templates; [INFO] [stdout] | ----------------- function or associated item `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 44 | std::str::from_utf8(Templates::get("book.opf").unwrap().as_ref())?, [INFO] [stdout] | ^^^ function or associated item not found in `Templates` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::panic::BoxMeUp` [INFO] [stdout] candidate #2: `std::slice::SliceIndex` [INFO] [stdout] candidate #3: `rust_embed::RustEmbed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Templates` in the current scope [INFO] [stdout] --> src/main.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 10 | struct Templates; [INFO] [stdout] | ----------------- function or associated item `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 48 | std::str::from_utf8(Templates::get("index.html").unwrap().as_ref())?, [INFO] [stdout] | ^^^ function or associated item not found in `Templates` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::panic::BoxMeUp` [INFO] [stdout] candidate #2: `std::slice::SliceIndex` [INFO] [stdout] candidate #3: `rust_embed::RustEmbed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Templates` in the current scope [INFO] [stdout] --> src/main.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 10 | struct Templates; [INFO] [stdout] | ----------------- function or associated item `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 44 | std::str::from_utf8(Templates::get("book.opf").unwrap().as_ref())?, [INFO] [stdout] | ^^^ function or associated item not found in `Templates` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::panic::BoxMeUp` [INFO] [stdout] candidate #2: `std::slice::SliceIndex` [INFO] [stdout] candidate #3: `rust_embed::RustEmbed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Templates` in the current scope [INFO] [stdout] --> src/main.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 10 | struct Templates; [INFO] [stdout] | ----------------- function or associated item `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 52 | std::str::from_utf8(Templates::get("toc.ncx").unwrap().as_ref())?, [INFO] [stdout] | ^^^ function or associated item not found in `Templates` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::panic::BoxMeUp` [INFO] [stdout] candidate #2: `std::slice::SliceIndex` [INFO] [stdout] candidate #3: `rust_embed::RustEmbed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Templates` in the current scope [INFO] [stdout] --> src/main.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 10 | struct Templates; [INFO] [stdout] | ----------------- function or associated item `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 56 | std::str::from_utf8(Templates::get("toc.xhtml").unwrap().as_ref())?, [INFO] [stdout] | ^^^ function or associated item not found in `Templates` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::panic::BoxMeUp` [INFO] [stdout] candidate #2: `std::slice::SliceIndex` [INFO] [stdout] candidate #3: `rust_embed::RustEmbed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Templates` in the current scope [INFO] [stdout] --> src/main.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 10 | struct Templates; [INFO] [stdout] | ----------------- function or associated item `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 48 | std::str::from_utf8(Templates::get("index.html").unwrap().as_ref())?, [INFO] [stdout] | ^^^ function or associated item not found in `Templates` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::panic::BoxMeUp` [INFO] [stdout] candidate #2: `std::slice::SliceIndex` [INFO] [stdout] candidate #3: `rust_embed::RustEmbed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Templates` in the current scope [INFO] [stdout] --> src/main.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 10 | struct Templates; [INFO] [stdout] | ----------------- function or associated item `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 52 | std::str::from_utf8(Templates::get("toc.ncx").unwrap().as_ref())?, [INFO] [stdout] | ^^^ function or associated item not found in `Templates` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::panic::BoxMeUp` [INFO] [stdout] candidate #2: `std::slice::SliceIndex` [INFO] [stdout] candidate #3: `rust_embed::RustEmbed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Templates` in the current scope [INFO] [stdout] --> src/main.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 10 | struct Templates; [INFO] [stdout] | ----------------- function or associated item `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 56 | std::str::from_utf8(Templates::get("toc.xhtml").unwrap().as_ref())?, [INFO] [stdout] | ^^^ function or associated item not found in `Templates` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `core::panic::BoxMeUp` [INFO] [stdout] candidate #2: `std::slice::SliceIndex` [INFO] [stdout] candidate #3: `rust_embed::RustEmbed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `txt4k`. [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] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b8cef6a89aeda424b85f5fb2539d4b822fa0821ddf2e40ae0a441ac8c49998ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8cef6a89aeda424b85f5fb2539d4b822fa0821ddf2e40ae0a441ac8c49998ae", kill_on_drop: false }` [INFO] [stdout] b8cef6a89aeda424b85f5fb2539d4b822fa0821ddf2e40ae0a441ac8c49998ae