[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhnxin%2Ftext4kindlegen" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhnxin/text4kindlegen on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-14/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded encodingbufreader v0.1.1 [INFO] [stderr] Downloaded rust-embed-impl v5.1.0 [INFO] [stderr] Downloaded rust-embed v5.1.0 [INFO] [stderr] Downloaded handlebars v2.0.1 [INFO] running `Command { std: "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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4ef1c91f65950ee37ff77ece684042bf2cb73108ffc556d29d1011723fe93a0 [INFO] running `Command { std: "docker" "start" "-a" "b4ef1c91f65950ee37ff77ece684042bf2cb73108ffc556d29d1011723fe93a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4ef1c91f65950ee37ff77ece684042bf2cb73108ffc556d29d1011723fe93a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ef1c91f65950ee37ff77ece684042bf2cb73108ffc556d29d1011723fe93a0", kill_on_drop: false }` [INFO] [stdout] b4ef1c91f65950ee37ff77ece684042bf2cb73108ffc556d29d1011723fe93a0 [INFO] running `Command { std: "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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3e1c7a2ed732140c3b698b05662de5a43a99a27d32b1b712b239a76e2a9836a [INFO] running `Command { std: "docker" "start" "-a" "d3e1c7a2ed732140c3b698b05662de5a43a99a27d32b1b712b239a76e2a9836a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [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 memchr v2.2.1 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.5 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking utf8-ranges v1.0.3 [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-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking regex-syntax v0.6.10 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking pest v2.1.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rust-embed-utils v5.0.0 [INFO] [stderr] Compiling pest_meta v2.1.1 [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] Checking regex v1.2.0 [INFO] [stderr] Compiling rust-embed-impl v5.1.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 hashbrown v0.5.0 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking toml v0.5.1 [INFO] [stderr] Checking handlebars v2.0.1 [INFO] [stderr] Checking txt4k v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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: '/tmp/fixit' [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] [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: '/tmp/fixit' [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `txt4k` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "d3e1c7a2ed732140c3b698b05662de5a43a99a27d32b1b712b239a76e2a9836a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3e1c7a2ed732140c3b698b05662de5a43a99a27d32b1b712b239a76e2a9836a", kill_on_drop: false }` [INFO] [stdout] d3e1c7a2ed732140c3b698b05662de5a43a99a27d32b1b712b239a76e2a9836a