[INFO] cloning repository https://github.com/MathiasStadler/rust_genpdf_horizontally_lines [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MathiasStadler/rust_genpdf_horizontally_lines" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasStadler%2Frust_genpdf_horizontally_lines", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasStadler%2Frust_genpdf_horizontally_lines'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb33106618288c21c9aa6dc5bfc7be81a7e6d8dc [INFO] checking MathiasStadler/rust_genpdf_horizontally_lines against try#723ab942d877517caf445dafde0416803ef56501 for pr-143857 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasStadler%2Frust_genpdf_horizontally_lines" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MathiasStadler/rust_genpdf_horizontally_lines [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/MathiasStadler/rust_genpdf_horizontally_lines [INFO] tweaked toml for git repo https://github.com/MathiasStadler/rust_genpdf_horizontally_lines written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MathiasStadler/rust_genpdf_horizontally_lines on toolchain 723ab942d877517caf445dafde0416803ef56501 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MathiasStadler/rust_genpdf_horizontally_lines already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.177 [INFO] [stderr] Downloaded pom v3.3.0 [INFO] [stderr] Downloaded genpdf v0.2.0 [INFO] [stderr] Downloaded serde_derive v1.0.177 [INFO] [stderr] Downloaded printpdf v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4c83d6f9d73c342c4ff8bcacf252b2c5aa40a5a0617a07040dca20f17864cf0 [INFO] running `Command { std: "docker" "start" "-a" "c4c83d6f9d73c342c4ff8bcacf252b2c5aa40a5a0617a07040dca20f17864cf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4c83d6f9d73c342c4ff8bcacf252b2c5aa40a5a0617a07040dca20f17864cf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4c83d6f9d73c342c4ff8bcacf252b2c5aa40a5a0617a07040dca20f17864cf0", kill_on_drop: false }` [INFO] [stdout] c4c83d6f9d73c342c4ff8bcacf252b2c5aa40a5a0617a07040dca20f17864cf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f44470947d15b6b4e62db9565bee3fb99c0336e01d25ceb99139ef5f6acb64b [INFO] running `Command { std: "docker" "start" "-a" "2f44470947d15b6b4e62db9565bee3fb99c0336e01d25ceb99139ef5f6acb64b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking regex-automata v0.3.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking bstr v1.6.0 [INFO] [stderr] Checking pom v3.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking lopdf v0.26.0 [INFO] [stderr] Checking printpdf v0.3.4 [INFO] [stderr] Checking genpdf v0.2.0 [INFO] [stderr] Checking rust_genpdf_horizontally_lines v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `images` [INFO] [stdout] --> examples/demo_t2.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | #[cfg(feature = "images")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `images` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `images` [INFO] [stdout] --> examples/demo_only_table.rs:307:7 [INFO] [stdout] | [INFO] [stdout] 307 | #[cfg(feature = "images")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `images` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hyphenation` [INFO] [stdout] --> examples/demo_only_table.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg(feature = "hyphenation")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `hyphenation` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `images` [INFO] [stdout] --> examples/demo_only_table.rs:213:11 [INFO] [stdout] | [INFO] [stdout] 213 | #[cfg(feature = "images")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `images` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `images` [INFO] [stdout] --> examples/demo_t1.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | #[cfg(feature = "images")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `images` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `images` [INFO] [stdout] --> examples/demo.rs:307:7 [INFO] [stdout] | [INFO] [stdout] 307 | #[cfg(feature = "images")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `images` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `genpdf::elements::TableLayout` [INFO] [stdout] --> examples/first_create_pdf_with_simple_table.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | doc.push(genpdf::elements::TableLayout(table)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/genpdf-0.2.0/src/elements.rs:1143:1 [INFO] [stdout] | [INFO] [stdout] 1143 | pub struct TableLayout { [INFO] [stdout] | ---------------------- `genpdf::elements::TableLayout` defined here [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the `new` associated function [INFO] [stdout] | [INFO] [stdout] 112 | doc.push(genpdf::elements::TableLayout::new(table)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hyphenation` [INFO] [stdout] --> examples/demo.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg(feature = "hyphenation")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `hyphenation` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `images` [INFO] [stdout] --> examples/demo.rs:213:11 [INFO] [stdout] | [INFO] [stdout] 213 | #[cfg(feature = "images")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `images` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> examples/simple_pdf.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | let font_family = genpdf::fonts::from_files("./fonts", "LiberationSans", None) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_genpdf_horizontally_lines` (example "simple_pdf") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition value: `images` [INFO] [stdout] --> examples/demo_simple_table.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg(feature = "images")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `images` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hyphenation` [INFO] [stdout] --> examples/demo_simple_table.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg(feature = "hyphenation")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `hyphenation` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_genpdf_horizontally_lines` (example "first_create_pdf_with_simple_table") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "2f44470947d15b6b4e62db9565bee3fb99c0336e01d25ceb99139ef5f6acb64b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f44470947d15b6b4e62db9565bee3fb99c0336e01d25ceb99139ef5f6acb64b", kill_on_drop: false }` [INFO] [stdout] 2f44470947d15b6b4e62db9565bee3fb99c0336e01d25ceb99139ef5f6acb64b