[INFO] fetching crate epubparse 0.2.1... [INFO] checking epubparse-0.2.1 against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] extracting crate epubparse 0.2.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate epubparse 0.2.1 on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate epubparse 0.2.1 [INFO] finished tweaking crates.io crate epubparse 0.2.1 [INFO] tweaked toml for crates.io crate epubparse 0.2.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f66e2c47a43d9e18a54b65aaae14068ac6cdb70ba45fea40f68cc017978d27ef [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" "f66e2c47a43d9e18a54b65aaae14068ac6cdb70ba45fea40f68cc017978d27ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f66e2c47a43d9e18a54b65aaae14068ac6cdb70ba45fea40f68cc017978d27ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66e2c47a43d9e18a54b65aaae14068ac6cdb70ba45fea40f68cc017978d27ef", kill_on_drop: false }` [INFO] [stdout] f66e2c47a43d9e18a54b65aaae14068ac6cdb70ba45fea40f68cc017978d27ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98c991ecd3ca8127cc2f7ea933599caa34b4ff33b730fee7aa12446916a1440a [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" "98c991ecd3ca8127cc2f7ea933599caa34b4ff33b730fee7aa12446916a1440a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking xmltree v0.10.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking zip v0.5.12 [INFO] [stderr] Checking epubparse v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/../../test_resources/paid_off.epub: No such file or directory (os error 2) [INFO] [stdout] --> src/parse.rs:490:35 [INFO] [stdout] | [INFO] [stdout] 490 | static EPUB_PAID_OFF: &[u8] = include_bytes!("../../test_resources/paid_off.epub"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../test_resources/shakespeares.epub: No such file or directory (os error 2) [INFO] [stdout] --> src/parse.rs:491:39 [INFO] [stdout] | [INFO] [stdout] 491 | static EPUB_SHAKESPEARES: &[u8] = include_bytes!("../../test_resources/shakespeares.epub"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../test_resources/simple.epub: No such file or directory (os error 2) [INFO] [stdout] --> src/parse.rs:492:33 [INFO] [stdout] | [INFO] [stdout] 492 | static EPUB_SIMPLE: &[u8] = include_bytes!("../../test_resources/simple.epub"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../test_resources/nested.epub: No such file or directory (os error 2) [INFO] [stdout] --> src/parse.rs:493:33 [INFO] [stdout] | [INFO] [stdout] 493 | static EPUB_NESTED: &[u8] = include_bytes!("../../test_resources/nested.epub"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../test_resources/pride_prejudice_chapter.html: No such file or directory (os error 2) [INFO] [stdout] --> src/util.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | include_str!("../../test_resources/pride_prejudice_chapter.html"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../test_resources/simple_chapter.html: No such file or directory (os error 2) [INFO] [stdout] --> src/util.rs:84:40 [INFO] [stdout] | [INFO] [stdout] 84 | static SIMPLE_CHAPTER_HTML: &str = include_str!("../../test_resources/simple_chapter.html"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../test_resources/paid_off.epub: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | static EPUB_PAID_OFF: &[u8] = include_bytes!("../../test_resources/paid_off.epub"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `epubparse` [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] warning: field is never read: `id` [INFO] [stdout] --> src/parse.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `properties` [INFO] [stdout] --> src/parse.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | properties: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `zip` [INFO] [stdout] --> src/parse.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | zip: ZipArchiveWrapper<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_filenames` [INFO] [stdout] --> src/parse.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn get_filenames(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_title` [INFO] [stdout] --> src/parse.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn get_title(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "98c991ecd3ca8127cc2f7ea933599caa34b4ff33b730fee7aa12446916a1440a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98c991ecd3ca8127cc2f7ea933599caa34b4ff33b730fee7aa12446916a1440a", kill_on_drop: false }` [INFO] [stdout] 98c991ecd3ca8127cc2f7ea933599caa34b4ff33b730fee7aa12446916a1440a