[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhnxin%2Ftext4kindlegen" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhnxin/text4kindlegen on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-10/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b22e73e30efcafa743f099d7bb4fac123ab74bc11c8cee6d19888c4dd0777095 [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" "b22e73e30efcafa743f099d7bb4fac123ab74bc11c8cee6d19888c4dd0777095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b22e73e30efcafa743f099d7bb4fac123ab74bc11c8cee6d19888c4dd0777095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b22e73e30efcafa743f099d7bb4fac123ab74bc11c8cee6d19888c4dd0777095", kill_on_drop: false }` [INFO] [stdout] b22e73e30efcafa743f099d7bb4fac123ab74bc11c8cee6d19888c4dd0777095 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c93ed69a77f93c46f5ca5001a4d0ecb703c53f16921654e0e124734aedccf293 [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" "c93ed69a77f93c46f5ca5001a4d0ecb703c53f16921654e0e124734aedccf293", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Checking ucd-util v0.1.5 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Compiling pest v2.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rust-embed-utils v5.0.0 [INFO] [stderr] Checking encodingbufreader v0.1.1 [INFO] [stderr] Checking regex-syntax v0.6.10 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking aho-corasick v0.7.4 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [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 v1.0.97 [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: `SliceIndex` [INFO] [stdout] candidate #2: `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: `SliceIndex` [INFO] [stdout] candidate #2: `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: `SliceIndex` [INFO] [stdout] candidate #2: `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: `SliceIndex` [INFO] [stdout] candidate #2: `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: `SliceIndex` [INFO] [stdout] candidate #2: `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: `SliceIndex` [INFO] [stdout] candidate #2: `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: `SliceIndex` [INFO] [stdout] candidate #2: `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: `SliceIndex` [INFO] [stdout] candidate #2: `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" "c93ed69a77f93c46f5ca5001a4d0ecb703c53f16921654e0e124734aedccf293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c93ed69a77f93c46f5ca5001a4d0ecb703c53f16921654e0e124734aedccf293", kill_on_drop: false }` [INFO] [stdout] c93ed69a77f93c46f5ca5001a4d0ecb703c53f16921654e0e124734aedccf293