[INFO] fetching crate eparser 0.0.0... [INFO] checking eparser-0.0.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate eparser 0.0.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate eparser 0.0.0 [INFO] finished tweaking crates.io crate eparser 0.0.0 [INFO] tweaked toml for crates.io crate eparser 0.0.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate eparser 0.0.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate eparser 0.0.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7fb22d768a26b42552e872982132ca42345f6253fb5c987a8f3e0728e081884 [INFO] running `Command { std: "docker" "start" "-a" "d7fb22d768a26b42552e872982132ca42345f6253fb5c987a8f3e0728e081884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7fb22d768a26b42552e872982132ca42345f6253fb5c987a8f3e0728e081884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7fb22d768a26b42552e872982132ca42345f6253fb5c987a8f3e0728e081884", kill_on_drop: false }` [INFO] [stdout] d7fb22d768a26b42552e872982132ca42345f6253fb5c987a8f3e0728e081884 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfbf2a3c95f32a5518ba85903ad54dc689a7675c4ba3d5c0656187ac3ffdd7c6 [INFO] running `Command { std: "docker" "start" "-a" "cfbf2a3c95f32a5518ba85903ad54dc689a7675c4ba3d5c0656187ac3ffdd7c6", kill_on_drop: false }` [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking eparser v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::url::ParseError::RelativeUrlWithoutBase` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ::url::ParseError::RelativeUrlWithoutBase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/media_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::url::ParseError::RelativeUrlWithoutBase` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ::url::ParseError::RelativeUrlWithoutBase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/media_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MediaType` is never constructed [INFO] [stdout] --> src/media_type.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MediaType(String); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_core_media_type` is never used [INFO] [stdout] --> src/media_type.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl MediaType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 34 | /// Check if the media type is a core media type [INFO] [stdout] 35 | fn is_core_media_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GIF` is never used [INFO] [stdout] --> src/media_type.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | pub static GIF: Lazy = Lazy::new(|| MediaType("image/gif".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `JPG` is never used [INFO] [stdout] --> src/media_type.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | pub static JPG: Lazy = Lazy::new(|| MediaType("image/jpeg".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PNG` is never used [INFO] [stdout] --> src/media_type.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | pub static PNG: Lazy = Lazy::new(|| MediaType("image/png".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SVG` is never used [INFO] [stdout] --> src/media_type.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | pub static SVG: Lazy = Lazy::new(|| MediaType("image/svg+xml".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `WEBP` is never used [INFO] [stdout] --> src/media_type.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | pub static WEBP: Lazy = Lazy::new(|| MediaType("image/webp".to_string())); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MP3` is never used [INFO] [stdout] --> src/media_type.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub static MP3: Lazy = Lazy::new(|| MediaType("audio/mpeg".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MP4` is never used [INFO] [stdout] --> src/media_type.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | pub static MP4: Lazy = Lazy::new(|| MediaType("video/mp4".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OGG` is never used [INFO] [stdout] --> src/media_type.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | pub static OGG: Lazy = Lazy::new(|| MediaType("audio/ogg; codecs=opus".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CSS` is never used [INFO] [stdout] --> src/media_type.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub static CSS: Lazy = Lazy::new(|| MediaType("text/css".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TTF` is never used [INFO] [stdout] --> src/media_type.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub static TTF: Lazy = Lazy::new(|| MediaType("font/ttf".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OTF` is never used [INFO] [stdout] --> src/media_type.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | pub static OTF: Lazy = Lazy::new(|| MediaType("font/otf".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `WOFF` is never used [INFO] [stdout] --> src/media_type.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | pub static WOFF: Lazy = Lazy::new(|| MediaType("font/woff".to_string())); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `WOFF2` is never used [INFO] [stdout] --> src/media_type.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub static WOFF2: Lazy = Lazy::new(|| MediaType("font/woff2".to_string())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SFNT` is never used [INFO] [stdout] --> src/media_type.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub static SFNT: Lazy = Lazy::new(|| MediaType("application/font-sfnt".to_string())); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `VND_MS` is never used [INFO] [stdout] --> src/media_type.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | pub static VND_MS: Lazy = Lazy::new(|| MediaType("application/vnd.ms-opentype".to_string())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `APP_WOFF` is never used [INFO] [stdout] --> src/media_type.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | pub static APP_WOFF: Lazy = Lazy::new(|| MediaType("application/font-woff".to_string())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `XHTML` is never used [INFO] [stdout] --> src/media_type.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | pub static XHTML: Lazy = Lazy::new(|| MediaType("application/xhtml+xml".to_string())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TEXT_JAVASCRIPT` is never used [INFO] [stdout] --> src/media_type.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | pub static TEXT_JAVASCRIPT: Lazy = Lazy::new(|| MediaType("text/javascript".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `APP_JAVASCRIPT` is never used [INFO] [stdout] --> src/media_type.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | pub static APP_JAVASCRIPT: Lazy = Lazy::new(|| MediaType("application/javascript".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ECMASCRIPT` is never used [INFO] [stdout] --> src/media_type.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | pub static ECMASCRIPT: Lazy = Lazy::new(|| MediaType("application/ecmascript".to_string())); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NCX` is never used [INFO] [stdout] --> src/media_type.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub static NCX: Lazy = Lazy::new(|| MediaType("application/x-dtbncx+xml".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SMIL` is never used [INFO] [stdout] --> src/media_type.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub static SMIL: Lazy = Lazy::new(|| MediaType("application/smil+xml".to_string())); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ALL_CORE_MEDIA_TYPES` is never used [INFO] [stdout] --> src/media_type.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | pub static ALL_CORE_MEDIA_TYPES: [&Lazy; 22] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EPUB` is never used [INFO] [stdout] --> src/media_type.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | pub static EPUB: Lazy = Lazy::new(|| MediaType("application/epub+zip".to_string())); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OEBPS` is never used [INFO] [stdout] --> src/media_type.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | pub static OEBPS: Lazy = Lazy::new(|| MediaType("application/oebps-package+xml".to_string())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Prefix` is never constructed [INFO] [stdout] --> src/property.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Prefix(String, Url); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_string`, and `is_reserved` are never used [INFO] [stdout] --> src/property.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Prefix { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 20 | /// Create a new Prefix [INFO] [stdout] 21 | fn new(prefix: &str, url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn from_string(string: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn is_reserved(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PrefixReference` is never used [INFO] [stdout] --> src/property.rs:125:6 [INFO] [stdout] | [INFO] [stdout] 125 | enum PrefixReference { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_string` are never used [INFO] [stdout] --> src/property.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl PrefixReference { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 134 | /// Create a new PrefixReference [INFO] [stdout] 135 | pub fn new(prefix: Option<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn from_string(string: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Property` is never constructed [INFO] [stdout] --> src/property.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | struct Property(PrefixReference, String); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_string` are never used [INFO] [stdout] --> src/property.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 189 | impl Property { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 190 | /// Create a new Property [INFO] [stdout] 191 | pub fn new(prefix: PrefixReference, reference: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn from_string(string: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Properties` is never constructed [INFO] [stdout] --> src/property.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | struct Properties(Vec); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_string` are never used [INFO] [stdout] --> src/property.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 227 | impl Properties { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 228 | /// Create a new Properties [INFO] [stdout] 229 | pub fn new(properties: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn from_string(string: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PropertyParseError` is never constructed [INFO] [stdout] --> src/property.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 256 | struct PropertyParseError(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `A11Y` is never used [INFO] [stdout] --> src/property.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | pub static A11Y: Lazy = Lazy::new(|| Prefix::new("a11y", "http://www.idpf.org/epub/vocab/package/a11y/#")); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DCTERMS` is never used [INFO] [stdout] --> src/property.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | pub static DCTERMS: Lazy = Lazy::new(|| Prefix::new("dcterms", "http://purl.org/dc/terms/")); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MARC` is never used [INFO] [stdout] --> src/property.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | pub static MARC: Lazy = Lazy::new(|| Prefix::new("marc", "http://id.loc.gov/vocabulary/")); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MEDIA` is never used [INFO] [stdout] --> src/property.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | pub static MEDIA: Lazy = Lazy::new(|| Prefix::new("media", "http://www.idpf.org/epub/vocab/overlays/#")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ONIX` is never used [INFO] [stdout] --> src/property.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | pub static ONIX: Lazy = Lazy::new(|| Prefix::new("onix", "http://www.editeur.org/ONIX/book/codelists/current.html#")); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RENDITION` is never used [INFO] [stdout] --> src/property.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | pub static RENDITION: Lazy = Lazy::new(|| Prefix::new("rendition", "http://www.idpf.org/vocab/rendition/#")); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SCHEMA` is never used [INFO] [stdout] --> src/property.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | pub static SCHEMA: Lazy = Lazy::new(|| Prefix::new("schema", "http://schema.org/")); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `XSD` is never used [INFO] [stdout] --> src/property.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | pub static XSD: Lazy = Lazy::new(|| Prefix::new("xsd", "http://www.w3.org/2001/XMLSchema#")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ALL_RESERVED_PREFIXES` is never used [INFO] [stdout] --> src/property.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | pub static ALL_RESERVED_PREFIXES: [&Lazy; 8] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RelativeUrl` is never constructed [INFO] [stdout] --> src/url.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct RelativeUrl { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Url` is never used [INFO] [stdout] --> src/url.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Url { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EPUB` is never used [INFO] [stdout] --> src/media_type.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | pub static EPUB: Lazy = Lazy::new(|| MediaType("application/epub+zip".to_string())); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OEBPS` is never used [INFO] [stdout] --> src/media_type.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | pub static OEBPS: Lazy = Lazy::new(|| MediaType("application/oebps-package+xml".to_string())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Prefix` is never constructed [INFO] [stdout] --> src/property.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Prefix(String, Url); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_string`, and `is_reserved` are never used [INFO] [stdout] --> src/property.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Prefix { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 20 | /// Create a new Prefix [INFO] [stdout] 21 | fn new(prefix: &str, url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn from_string(string: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn is_reserved(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PrefixReference` is never used [INFO] [stdout] --> src/property.rs:125:6 [INFO] [stdout] | [INFO] [stdout] 125 | enum PrefixReference { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_string` are never used [INFO] [stdout] --> src/property.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl PrefixReference { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 134 | /// Create a new PrefixReference [INFO] [stdout] 135 | pub fn new(prefix: Option<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn from_string(string: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Property` is never constructed [INFO] [stdout] --> src/property.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | struct Property(PrefixReference, String); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_string` are never used [INFO] [stdout] --> src/property.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 189 | impl Property { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 190 | /// Create a new Property [INFO] [stdout] 191 | pub fn new(prefix: PrefixReference, reference: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn from_string(string: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Properties` is never constructed [INFO] [stdout] --> src/property.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | struct Properties(Vec); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_string` are never used [INFO] [stdout] --> src/property.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 227 | impl Properties { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 228 | /// Create a new Properties [INFO] [stdout] 229 | pub fn new(properties: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn from_string(string: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PropertyParseError` is never constructed [INFO] [stdout] --> src/property.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 256 | struct PropertyParseError(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `A11Y` is never used [INFO] [stdout] --> src/property.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | pub static A11Y: Lazy = Lazy::new(|| Prefix::new("a11y", "http://www.idpf.org/epub/vocab/package/a11y/#")); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DCTERMS` is never used [INFO] [stdout] --> src/property.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | pub static DCTERMS: Lazy = Lazy::new(|| Prefix::new("dcterms", "http://purl.org/dc/terms/")); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MARC` is never used [INFO] [stdout] --> src/property.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | pub static MARC: Lazy = Lazy::new(|| Prefix::new("marc", "http://id.loc.gov/vocabulary/")); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MEDIA` is never used [INFO] [stdout] --> src/property.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | pub static MEDIA: Lazy = Lazy::new(|| Prefix::new("media", "http://www.idpf.org/epub/vocab/overlays/#")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ONIX` is never used [INFO] [stdout] --> src/property.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | pub static ONIX: Lazy = Lazy::new(|| Prefix::new("onix", "http://www.editeur.org/ONIX/book/codelists/current.html#")); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RENDITION` is never used [INFO] [stdout] --> src/property.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | pub static RENDITION: Lazy = Lazy::new(|| Prefix::new("rendition", "http://www.idpf.org/vocab/rendition/#")); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SCHEMA` is never used [INFO] [stdout] --> src/property.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | pub static SCHEMA: Lazy = Lazy::new(|| Prefix::new("schema", "http://schema.org/")); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `XSD` is never used [INFO] [stdout] --> src/property.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | pub static XSD: Lazy = Lazy::new(|| Prefix::new("xsd", "http://www.w3.org/2001/XMLSchema#")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ALL_RESERVED_PREFIXES` is never used [INFO] [stdout] --> src/property.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | pub static ALL_RESERVED_PREFIXES: [&Lazy; 8] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RelativeUrl` is never constructed [INFO] [stdout] --> src/url.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct RelativeUrl { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Url` is never used [INFO] [stdout] --> src/url.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Url { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.83s [INFO] running `Command { std: "docker" "inspect" "cfbf2a3c95f32a5518ba85903ad54dc689a7675c4ba3d5c0656187ac3ffdd7c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfbf2a3c95f32a5518ba85903ad54dc689a7675c4ba3d5c0656187ac3ffdd7c6", kill_on_drop: false }` [INFO] [stdout] cfbf2a3c95f32a5518ba85903ad54dc689a7675c4ba3d5c0656187ac3ffdd7c6