[INFO] cloning repository https://github.com/askepen/idml-to-pdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/askepen/idml-to-pdf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faskepen%2Fidml-to-pdf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faskepen%2Fidml-to-pdf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f4aa905e044414ad2e93da2ca96def3cf7a702d [INFO] testing askepen/idml-to-pdf against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faskepen%2Fidml-to-pdf" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/askepen/idml-to-pdf on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/askepen/idml-to-pdf [INFO] finished tweaking git repo https://github.com/askepen/idml-to-pdf [INFO] tweaked toml for git repo https://github.com/askepen/idml-to-pdf written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/askepen/idml-to-pdf already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zip-extract v0.1.0 [INFO] [stderr] Downloaded libharu-sys v0.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29d8e1bc8d991aa3cfacf799e49924207b31ca01f08e7f0c174c262194f69574 [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" "29d8e1bc8d991aa3cfacf799e49924207b31ca01f08e7f0c174c262194f69574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29d8e1bc8d991aa3cfacf799e49924207b31ca01f08e7f0c174c262194f69574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29d8e1bc8d991aa3cfacf799e49924207b31ca01f08e7f0c174c262194f69574", kill_on_drop: false }` [INFO] [stdout] 29d8e1bc8d991aa3cfacf799e49924207b31ca01f08e7f0c174c262194f69574 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ebd3374273fcb556135eb5613f66462a4ec9ba8c6e91aac16d1c9a2150074e6 [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" "6ebd3374273fcb556135eb5613f66462a4ec9ba8c6e91aac16d1c9a2150074e6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Compiling libharu-sys v0.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling dirs v3.0.1 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling derive-getters v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling zip v0.5.8 [INFO] [stderr] Compiling zip-extract v0.1.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling quick-xml v0.20.0 [INFO] [stderr] Compiling idml_to_pdf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:63:64 [INFO] [stdout] | [INFO] [stdout] 63 | ... CString::new("Helvetica").unwrap().as_ptr(), [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:138:72 [INFO] [stdout] | [INFO] [stdout] 138 | CString::new(font_path.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:143:72 [INFO] [stdout] | [INFO] [stdout] 143 | CString::new(font_path.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:148:72 [INFO] [stdout] | [INFO] [stdout] 148 | CString::new(font_path.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:157:70 [INFO] [stdout] | [INFO] [stdout] 157 | CString::new(acm.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:158:70 [INFO] [stdout] | [INFO] [stdout] 158 | CString::new(pfb.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/page_items/textframe.rs:302:75 [INFO] [stdout] | [INFO] [stdout] 302 | ... CString::new(text_remaining.clone()).unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/page_items/textframe.rs:313:70 [INFO] [stdout] | [INFO] [stdout] 313 | ... CString::new(text_to_print).unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_printer/page_items/textframe.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | / ... &self.render_paragraph_style( [INFO] [stdout] 136 | | ... p_style, [INFO] [stdout] 137 | | ... &render_properties, [INFO] [stdout] 138 | | ... idml_package.resources(), [INFO] [stdout] ... | [INFO] [stdout] 142 | | ... &mut has_offset, [INFO] [stdout] 143 | | ... )?; [INFO] [stdout] | |________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 135 | let _ = &self.render_paragraph_style( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_printer/page_items/textframe.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / &self.render_character_style( [INFO] [stdout] 184 | | c_style, [INFO] [stdout] 185 | | &render_properties, [INFO] [stdout] 186 | | idml_resources, [INFO] [stdout] ... | [INFO] [stdout] 190 | | has_offset, [INFO] [stdout] 191 | | )?; [INFO] [stdout] | |__________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = &self.render_character_style( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_printer/page_items/textframe.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | / &self.render_story_content( [INFO] [stdout] 234 | | content, [INFO] [stdout] 235 | | &render_properties, [INFO] [stdout] 236 | | parent_transform, [INFO] [stdout] ... | [INFO] [stdout] 239 | | has_offset, [INFO] [stdout] 240 | | ); [INFO] [stdout] | |_________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 233 | let _ = &self.render_story_content( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.70s [INFO] running `Command { std: "docker" "inspect" "6ebd3374273fcb556135eb5613f66462a4ec9ba8c6e91aac16d1c9a2150074e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ebd3374273fcb556135eb5613f66462a4ec9ba8c6e91aac16d1c9a2150074e6", kill_on_drop: false }` [INFO] [stdout] 6ebd3374273fcb556135eb5613f66462a4ec9ba8c6e91aac16d1c9a2150074e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f53f023a62daa8bef1319c74ecd5cda2479de6a458af0bd9e041fb577f914e3c [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" "f53f023a62daa8bef1319c74ecd5cda2479de6a458af0bd9e041fb577f914e3c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:63:64 [INFO] [stdout] | [INFO] [stdout] 63 | ... CString::new("Helvetica").unwrap().as_ptr(), [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:138:72 [INFO] [stdout] | [INFO] [stdout] 138 | CString::new(font_path.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:143:72 [INFO] [stdout] | [INFO] [stdout] 143 | CString::new(font_path.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:148:72 [INFO] [stdout] | [INFO] [stdout] 148 | CString::new(font_path.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:157:70 [INFO] [stdout] | [INFO] [stdout] 157 | CString::new(acm.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:158:70 [INFO] [stdout] | [INFO] [stdout] 158 | CString::new(pfb.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/page_items/textframe.rs:302:75 [INFO] [stdout] | [INFO] [stdout] 302 | ... CString::new(text_remaining.clone()).unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/page_items/textframe.rs:313:70 [INFO] [stdout] | [INFO] [stdout] 313 | ... CString::new(text_to_print).unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_printer/page_items/textframe.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | / ... &self.render_paragraph_style( [INFO] [stdout] 136 | | ... p_style, [INFO] [stdout] 137 | | ... &render_properties, [INFO] [stdout] 138 | | ... idml_package.resources(), [INFO] [stdout] ... | [INFO] [stdout] 142 | | ... &mut has_offset, [INFO] [stdout] 143 | | ... )?; [INFO] [stdout] | |________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 135 | let _ = &self.render_paragraph_style( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling idml_to_pdf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_printer/page_items/textframe.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / &self.render_character_style( [INFO] [stdout] 184 | | c_style, [INFO] [stdout] 185 | | &render_properties, [INFO] [stdout] 186 | | idml_resources, [INFO] [stdout] ... | [INFO] [stdout] 190 | | has_offset, [INFO] [stdout] 191 | | )?; [INFO] [stdout] | |__________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = &self.render_character_style( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_printer/page_items/textframe.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | / &self.render_story_content( [INFO] [stdout] 234 | | content, [INFO] [stdout] 235 | | &render_properties, [INFO] [stdout] 236 | | parent_transform, [INFO] [stdout] ... | [INFO] [stdout] 239 | | has_offset, [INFO] [stdout] 240 | | ); [INFO] [stdout] | |_________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 233 | let _ = &self.render_story_content( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:63:64 [INFO] [stdout] | [INFO] [stdout] 63 | ... CString::new("Helvetica").unwrap().as_ptr(), [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:138:72 [INFO] [stdout] | [INFO] [stdout] 138 | CString::new(font_path.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:143:72 [INFO] [stdout] | [INFO] [stdout] 143 | CString::new(font_path.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:148:72 [INFO] [stdout] | [INFO] [stdout] 148 | CString::new(font_path.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:157:70 [INFO] [stdout] | [INFO] [stdout] 157 | CString::new(acm.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/font_manager.rs:158:70 [INFO] [stdout] | [INFO] [stdout] 158 | CString::new(pfb.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/page_items/textframe.rs:302:75 [INFO] [stdout] | [INFO] [stdout] 302 | ... CString::new(text_remaining.clone()).unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/pdf_printer/page_items/textframe.rs:313:70 [INFO] [stdout] | [INFO] [stdout] 313 | ... CString::new(text_to_print).unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_printer/page_items/textframe.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | / ... &self.render_paragraph_style( [INFO] [stdout] 136 | | ... p_style, [INFO] [stdout] 137 | | ... &render_properties, [INFO] [stdout] 138 | | ... idml_package.resources(), [INFO] [stdout] ... | [INFO] [stdout] 142 | | ... &mut has_offset, [INFO] [stdout] 143 | | ... )?; [INFO] [stdout] | |________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 135 | let _ = &self.render_paragraph_style( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_printer/page_items/textframe.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / &self.render_character_style( [INFO] [stdout] 184 | | c_style, [INFO] [stdout] 185 | | &render_properties, [INFO] [stdout] 186 | | idml_resources, [INFO] [stdout] ... | [INFO] [stdout] 190 | | has_offset, [INFO] [stdout] 191 | | )?; [INFO] [stdout] | |__________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = &self.render_character_style( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_printer/page_items/textframe.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | / &self.render_story_content( [INFO] [stdout] 234 | | content, [INFO] [stdout] 235 | | &render_properties, [INFO] [stdout] 236 | | parent_transform, [INFO] [stdout] ... | [INFO] [stdout] 239 | | has_offset, [INFO] [stdout] 240 | | ); [INFO] [stdout] | |_________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 233 | let _ = &self.render_story_content( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.31s [INFO] running `Command { std: "docker" "inspect" "f53f023a62daa8bef1319c74ecd5cda2479de6a458af0bd9e041fb577f914e3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f53f023a62daa8bef1319c74ecd5cda2479de6a458af0bd9e041fb577f914e3c", kill_on_drop: false }` [INFO] [stdout] f53f023a62daa8bef1319c74ecd5cda2479de6a458af0bd9e041fb577f914e3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "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] f2aba444fab44b34b685c6beb55a968f7c6ff5960183fc14bad8742da796ead9 [INFO] running `Command { std: "docker" "start" "-a" "f2aba444fab44b34b685c6beb55a968f7c6ff5960183fc14bad8742da796ead9", kill_on_drop: false }` [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/pdf_printer/font_manager.rs:63:64 [INFO] [stderr] | [INFO] [stderr] 63 | ... CString::new("Helvetica").unwrap().as_ptr(), [INFO] [stderr] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/pdf_printer/font_manager.rs:138:72 [INFO] [stderr] | [INFO] [stderr] 138 | CString::new(font_path.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stderr] | -------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/pdf_printer/font_manager.rs:143:72 [INFO] [stderr] | [INFO] [stderr] 143 | CString::new(font_path.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stderr] | -------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/pdf_printer/font_manager.rs:148:72 [INFO] [stderr] | [INFO] [stderr] 148 | CString::new(font_path.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stderr] | -------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/pdf_printer/font_manager.rs:157:70 [INFO] [stderr] | [INFO] [stderr] 157 | CString::new(acm.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stderr] | -------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/pdf_printer/font_manager.rs:158:70 [INFO] [stderr] | [INFO] [stderr] 158 | CString::new(pfb.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stderr] | -------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/pdf_printer/page_items/textframe.rs:302:75 [INFO] [stderr] | [INFO] [stderr] 302 | ... CString::new(text_remaining.clone()).unwrap().as_ptr(), [INFO] [stderr] | --------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/pdf_printer/page_items/textframe.rs:313:70 [INFO] [stderr] | [INFO] [stderr] 313 | ... CString::new(text_to_print).unwrap().as_ptr(), [INFO] [stderr] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/pdf_printer/page_items/textframe.rs:135:29 [INFO] [stderr] | [INFO] [stderr] 135 | / ... &self.render_paragraph_style( [INFO] [stderr] 136 | | ... p_style, [INFO] [stderr] 137 | | ... &render_properties, [INFO] [stderr] 138 | | ... idml_package.resources(), [INFO] [stderr] ... | [INFO] [stderr] 142 | | ... &mut has_offset, [INFO] [stderr] 143 | | ... )?; [INFO] [stderr] | |________________________^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 135 | let _ = &self.render_paragraph_style( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/pdf_printer/page_items/textframe.rs:183:17 [INFO] [stderr] | [INFO] [stderr] 183 | / &self.render_character_style( [INFO] [stderr] 184 | | c_style, [INFO] [stderr] 185 | | &render_properties, [INFO] [stderr] 186 | | idml_resources, [INFO] [stderr] ... | [INFO] [stderr] 190 | | has_offset, [INFO] [stderr] 191 | | )?; [INFO] [stderr] | |__________________^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 183 | let _ = &self.render_character_style( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/pdf_printer/page_items/textframe.rs:233:17 [INFO] [stderr] | [INFO] [stderr] 233 | / &self.render_story_content( [INFO] [stderr] 234 | | content, [INFO] [stderr] 235 | | &render_properties, [INFO] [stderr] 236 | | parent_transform, [INFO] [stderr] ... | [INFO] [stderr] 239 | | has_offset, [INFO] [stderr] 240 | | ); [INFO] [stderr] | |_________________^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 233 | let _ = &self.render_story_content( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `idml_to_pdf` (lib) generated 11 warnings [INFO] [stderr] warning: `idml_to_pdf` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/idml_to_pdf-50d2e16ed04cfb62) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/idml_to_pdf-0f09603d9c473b1c) [INFO] [stdout] [INFO] [stderr] Doc-tests idml_to_pdf [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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] [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] running `Command { std: "docker" "inspect" "f2aba444fab44b34b685c6beb55a968f7c6ff5960183fc14bad8742da796ead9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2aba444fab44b34b685c6beb55a968f7c6ff5960183fc14bad8742da796ead9", kill_on_drop: false }` [INFO] [stdout] f2aba444fab44b34b685c6beb55a968f7c6ff5960183fc14bad8742da796ead9