[INFO] cloning repository https://github.com/eonm-abes/pdf-shape [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eonm-abes/pdf-shape" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feonm-abes%2Fpdf-shape", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feonm-abes%2Fpdf-shape'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c7b16ae933c2cba75a4c028526820a8daf5f200 [INFO] testing eonm-abes/pdf-shape against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feonm-abes%2Fpdf-shape" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eonm-abes/pdf-shape on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eonm-abes/pdf-shape [INFO] finished tweaking git repo https://github.com/eonm-abes/pdf-shape [INFO] tweaked toml for git repo https://github.com/eonm-abes/pdf-shape written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/eonm-abes/pdf-shape already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 60cdf9317432db8b4bb36194fe70c71ca3c6b0c8821781e02f2b379d2270bfee [INFO] running `Command { std: "docker" "start" "-a" "60cdf9317432db8b4bb36194fe70c71ca3c6b0c8821781e02f2b379d2270bfee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60cdf9317432db8b4bb36194fe70c71ca3c6b0c8821781e02f2b379d2270bfee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60cdf9317432db8b4bb36194fe70c71ca3c6b0c8821781e02f2b379d2270bfee", kill_on_drop: false }` [INFO] [stdout] 60cdf9317432db8b4bb36194fe70c71ca3c6b0c8821781e02f2b379d2270bfee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e0cdedda8962612984774108cf4bbdeb2f0ad0c4914ee4735c0198fe3a8960da [INFO] running `Command { std: "docker" "start" "-a" "e0cdedda8962612984774108cf4bbdeb2f0ad0c4914ee4735c0198fe3a8960da", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.23 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling indextree v4.3.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling streaming-stats v0.2.3 [INFO] [stderr] Compiling quick-xml v0.19.0 [INFO] [stderr] Compiling pdf-shape v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/raw_document/mod.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/raw_document/mod.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/raw_document/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/raw_document/mod.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | height: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/raw_document/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | width: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/raw_document/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/raw_document/mod.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/raw_document/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/raw_document/mod.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | width: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/raw_document/mod.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | height: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sid` [INFO] [stdout] --> src/raw_document/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | sid: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/raw_document/mod.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `font_name` [INFO] [stdout] --> src/raw_document/mod.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | font_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `font_color` [INFO] [stdout] --> src/raw_document/mod.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | font_color: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last_token` [INFO] [stdout] --> src/raw_document/mod.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | fn last_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `widest_token` [INFO] [stdout] --> src/raw_document/mod.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | fn widest_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.85s [INFO] running `Command { std: "docker" "inspect" "e0cdedda8962612984774108cf4bbdeb2f0ad0c4914ee4735c0198fe3a8960da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0cdedda8962612984774108cf4bbdeb2f0ad0c4914ee4735c0198fe3a8960da", kill_on_drop: false }` [INFO] [stdout] e0cdedda8962612984774108cf4bbdeb2f0ad0c4914ee4735c0198fe3a8960da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65e421320622c036e03216c1ba02a6274c76503510b0e7ea1443901e53a0ced7 [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" "65e421320622c036e03216c1ba02a6274c76503510b0e7ea1443901e53a0ced7", kill_on_drop: false }` [INFO] [stderr] Compiling pdf-shape v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/raw_document/mod.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/raw_document/mod.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/raw_document/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/raw_document/mod.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | height: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/raw_document/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | width: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/raw_document/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/raw_document/mod.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/raw_document/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/raw_document/mod.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | width: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/raw_document/mod.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | height: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sid` [INFO] [stdout] --> src/raw_document/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | sid: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/raw_document/mod.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `font_name` [INFO] [stdout] --> src/raw_document/mod.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | font_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `font_color` [INFO] [stdout] --> src/raw_document/mod.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | font_color: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last_token` [INFO] [stdout] --> src/raw_document/mod.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | fn last_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `widest_token` [INFO] [stdout] --> src/raw_document/mod.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | fn widest_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/raw_document/mod.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/raw_document/mod.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/raw_document/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/raw_document/mod.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | height: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/raw_document/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | width: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/raw_document/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/raw_document/mod.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/raw_document/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/raw_document/mod.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | width: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/raw_document/mod.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | height: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sid` [INFO] [stdout] --> src/raw_document/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | sid: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/raw_document/mod.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `font_name` [INFO] [stdout] --> src/raw_document/mod.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | font_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `font_color` [INFO] [stdout] --> src/raw_document/mod.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | font_color: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_document/mod.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last_token` [INFO] [stdout] --> src/raw_document/mod.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | fn last_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `widest_token` [INFO] [stdout] --> src/raw_document/mod.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | fn widest_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.62s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/pdf_shape-fd200c2e4b508155) [INFO] running `Command { std: "docker" "inspect" "65e421320622c036e03216c1ba02a6274c76503510b0e7ea1443901e53a0ced7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65e421320622c036e03216c1ba02a6274c76503510b0e7ea1443901e53a0ced7", kill_on_drop: false }` [INFO] [stdout] 65e421320622c036e03216c1ba02a6274c76503510b0e7ea1443901e53a0ced7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3e17b7630421f79dea651b9e326de70c4329630d74ff476e863a1b322f1df98c [INFO] running `Command { std: "docker" "start" "-a" "3e17b7630421f79dea651b9e326de70c4329630d74ff476e863a1b322f1df98c", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/raw_document/mod.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_document/mod.rs:106:10 [INFO] [stderr] | [INFO] [stderr] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `x` [INFO] [stderr] --> src/raw_document/mod.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | x: f32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_document/mod.rs:106:10 [INFO] [stderr] | [INFO] [stderr] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `y` [INFO] [stderr] --> src/raw_document/mod.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | y: f32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_document/mod.rs:106:10 [INFO] [stderr] | [INFO] [stderr] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `height` [INFO] [stderr] --> src/raw_document/mod.rs:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | height: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_document/mod.rs:106:10 [INFO] [stderr] | [INFO] [stderr] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `width` [INFO] [stderr] --> src/raw_document/mod.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | width: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_document/mod.rs:106:10 [INFO] [stderr] | [INFO] [stderr] 106 | #[derive(Debug, Deserialize, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `x` [INFO] [stderr] --> src/raw_document/mod.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | x: f32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_document/mod.rs:120:10 [INFO] [stderr] | [INFO] [stderr] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `y` [INFO] [stderr] --> src/raw_document/mod.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | y: f32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_document/mod.rs:120:10 [INFO] [stderr] | [INFO] [stderr] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/raw_document/mod.rs:124:5 [INFO] [stderr] | [INFO] [stderr] 124 | id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_document/mod.rs:120:10 [INFO] [stderr] | [INFO] [stderr] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `width` [INFO] [stderr] --> src/raw_document/mod.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | width: f32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_document/mod.rs:120:10 [INFO] [stderr] | [INFO] [stderr] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `height` [INFO] [stderr] --> src/raw_document/mod.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 126 | height: f32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Text` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_document/mod.rs:120:10 [INFO] [stderr] | [INFO] [stderr] 120 | #[derive(Debug, Deserialize, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sid` [INFO] [stderr] --> src/raw_document/mod.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | sid: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_document/mod.rs:134:10 [INFO] [stderr] | [INFO] [stderr] 134 | #[derive(Debug, Deserialize, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/raw_document/mod.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_document/mod.rs:134:10 [INFO] [stderr] | [INFO] [stderr] 134 | #[derive(Debug, Deserialize, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `font_name` [INFO] [stderr] --> src/raw_document/mod.rs:139:5 [INFO] [stderr] | [INFO] [stderr] 139 | font_name: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_document/mod.rs:134:10 [INFO] [stderr] | [INFO] [stderr] 134 | #[derive(Debug, Deserialize, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `font_color` [INFO] [stderr] --> src/raw_document/mod.rs:142:5 [INFO] [stderr] | [INFO] [stderr] 142 | font_color: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_document/mod.rs:134:10 [INFO] [stderr] | [INFO] [stderr] 134 | #[derive(Debug, Deserialize, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `last_token` [INFO] [stderr] --> src/raw_document/mod.rs:216:8 [INFO] [stderr] | [INFO] [stderr] 216 | fn last_token(&self) -> Option<&Token> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `widest_token` [INFO] [stderr] --> src/raw_document/mod.rs:220:8 [INFO] [stderr] | [INFO] [stderr] 220 | fn widest_token(&self) -> Option<&Token> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `pdf-shape` (lib) generated 16 warnings [INFO] [stderr] warning: `pdf-shape` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pdf_shape-fd200c2e4b508155) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests pdf_shape [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/traits.rs - traits::ObjectAlignement::HorizontalAligned (line 238) ... FAILED [INFO] [stdout] test src/traits.rs - traits::ObjectAlignement::HorizontalCenterAligned (line 245) ... FAILED [INFO] [stdout] test src/traits.rs - traits::ObjectAlignement::VerticalCenterAlgined (line 266) ... FAILED [INFO] [stdout] test src/traits.rs - traits::ObjectAlignement::VerticalLeftAligned (line 254) ... FAILED [INFO] [stdout] test src/traits.rs - traits::ObjectAlignement::VerticalRightAlgined (line 278) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/traits.rs - traits::ObjectAlignement::HorizontalAligned (line 238) stdout ---- [INFO] [stdout] error: unknown start of token: \u{2192} [INFO] [stdout] --> src/traits.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 5 | →+--------+ →+---------+ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: \u{2192} [INFO] [stdout] --> src/traits.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 5 | →+--------+ →+---------+ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected expression, found `+` [INFO] [stdout] --> src/traits.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 3 | +--------+ +---------+ [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::ObjectAlignement::HorizontalCenterAligned (line 245) stdout ---- [INFO] [stdout] error: unknown start of token: \u{2192} [INFO] [stdout] --> src/traits.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 5 | →| + | →| + | [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: \u{2192} [INFO] [stdout] --> src/traits.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 5 | →| + | →| + | [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected expression, found `+` [INFO] [stdout] --> src/traits.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 3 | +-------------+ [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::ObjectAlignement::VerticalCenterAlgined (line 266) stdout ---- [INFO] [stdout] error: unknown start of token: \u{2193} [INFO] [stdout] --> src/traits.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 3 | ↓ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: \u{2193} [INFO] [stdout] --> src/traits.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 7 | ↓ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected expression, found `+` [INFO] [stdout] --> src/traits.rs:268:2 [INFO] [stdout] | [INFO] [stdout] 4 | +------------+ [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::ObjectAlignement::VerticalLeftAligned (line 254) stdout ---- [INFO] [stdout] error: unknown start of token: \u{2193} [INFO] [stdout] --> src/traits.rs:255:1 [INFO] [stdout] | [INFO] [stdout] 3 | ↓ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: \u{2193} [INFO] [stdout] --> src/traits.rs:259:2 [INFO] [stdout] | [INFO] [stdout] 7 | ↓ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected expression, found `+` [INFO] [stdout] --> src/traits.rs:256:2 [INFO] [stdout] | [INFO] [stdout] 4 | +---------+ [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::ObjectAlignement::VerticalRightAlgined (line 278) stdout ---- [INFO] [stdout] error: unknown start of token: \u{2193} [INFO] [stdout] --> src/traits.rs:279:1 [INFO] [stdout] | [INFO] [stdout] 3 | ↓ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: \u{2193} [INFO] [stdout] --> src/traits.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 7 | ↓ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected expression, found `+` [INFO] [stdout] --> src/traits.rs:280:2 [INFO] [stdout] | [INFO] [stdout] 4 | +---------+ [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/traits.rs - traits::ObjectAlignement::HorizontalAligned (line 238) [INFO] [stdout] src/traits.rs - traits::ObjectAlignement::HorizontalCenterAligned (line 245) [INFO] [stdout] src/traits.rs - traits::ObjectAlignement::VerticalCenterAlgined (line 266) [INFO] [stdout] src/traits.rs - traits::ObjectAlignement::VerticalLeftAligned (line 254) [INFO] [stdout] src/traits.rs - traits::ObjectAlignement::VerticalRightAlgined (line 278) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.68s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "3e17b7630421f79dea651b9e326de70c4329630d74ff476e863a1b322f1df98c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e17b7630421f79dea651b9e326de70c4329630d74ff476e863a1b322f1df98c", kill_on_drop: false }` [INFO] [stdout] 3e17b7630421f79dea651b9e326de70c4329630d74ff476e863a1b322f1df98c