[INFO] cloning repository https://github.com/oussama/twain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oussama/twain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foussama%2Ftwain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foussama%2Ftwain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eafcc2d2f35e43248b5928e7f637f414f3ad745d
[INFO] checking oussama/twain against e3d12f3322cb00126b2208c6b9df3ac4467951f5 for pr-159706
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foussama%2Ftwain" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/oussama/twain
[INFO] finished tweaking git repo https://github.com/oussama/twain
[INFO] tweaked toml for git repo https://github.com/oussama/twain written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/oussama/twain on toolchain e3d12f3322cb00126b2208c6b9df3ac4467951f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/oussama/twain already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dlopen v0.1.8
[INFO] [stderr]   Downloaded dlopen_derive v0.1.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 39be4dcf253cb643448321dcdecfba12e71588e7ebd361ad911badec9edd686f
[INFO] running `Command { std: "docker" "start" "39be4dcf253cb643448321dcdecfba12e71588e7ebd361ad911badec9edd686f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "39be4dcf253cb643448321dcdecfba12e71588e7ebd361ad911badec9edd686f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "39be4dcf253cb643448321dcdecfba12e71588e7ebd361ad911badec9edd686f" "/opt/rustwide/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "39be4dcf253cb643448321dcdecfba12e71588e7ebd361ad911badec9edd686f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "39be4dcf253cb643448321dcdecfba12e71588e7ebd361ad911badec9edd686f" "/opt/rustwide/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling dlopen_derive v0.1.4
[INFO] [stderr]     Checking dlopen v0.1.8
[INFO] [stderr]     Checking twain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `c_char` and `c_int`
[INFO] [stdout]   --> src/lib.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 |     os::raw::{c_char, c_int},
[INFO] [stdout]    |               ^^^^^^  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/lib.rs:609:13
[INFO] [stdout]     |
[INFO] [stdout] 609 |             /// for windows handle to parent window
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 610 |             h_parent: null(),
[INFO] [stdout]     |             ---------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `c_char` and `c_int`
[INFO] [stdout]   --> src/lib.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 |     os::raw::{c_char, c_int},
[INFO] [stdout]    |               ^^^^^^  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/lib.rs:609:13
[INFO] [stdout]     |
[INFO] [stdout] 609 |             /// for windows handle to parent window
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 610 |             h_parent: null(),
[INFO] [stdout]     |             ---------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:405:5
[INFO] [stdout]     |
[INFO] [stdout] 399 | #[derive(Debug, Clone)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 405 |     info: Str32,
[INFO] [stdout]     |     ^^^^^^^^^^^ move occurs because value has type `Str32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:405:5
[INFO] [stdout]     |
[INFO] [stdout] 399 | #[derive(Debug, Clone)]
[INFO] [stdout]     |                 ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 405 |     info: Str32,
[INFO] [stdout]     |     ^^^^^^^^^^^ move occurs because value has type `Str32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:425:5
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 425 |     version: Version,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ move occurs because value has type `Version`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:429:5
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 429 |     manufacturer: Str32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Str32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:430:5
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 430 |     product_family: Str32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Str32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:431:5
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 431 |     product_name: Str32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Str32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:425:5
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |                          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 425 |     version: Version,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ move occurs because value has type `Version`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:429:5
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |                          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 429 |     manufacturer: Str32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Str32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:430:5
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |                          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 430 |     product_family: Str32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Str32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:431:5
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |                          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 431 |     product_name: Str32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Str32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:438:5
[INFO] [stdout]     |
[INFO] [stdout] 435 | #[derive(Debug, Default)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 438 |     x_resolution: FixedPoint32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `FixedPoint32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] note: if `FixedPoint32` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/lib.rs:193:1
[INFO] [stdout]     |
[INFO] [stdout] 193 | pub struct FixedPoint32 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 438 |     x_resolution: FixedPoint32,
[INFO] [stdout]     |     -------------------------- you could clone this value
[INFO] [stdout]     = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:439:5
[INFO] [stdout]     |
[INFO] [stdout] 435 | #[derive(Debug, Default)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 439 |     y_resolution: FixedPoint32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `FixedPoint32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] note: if `FixedPoint32` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/lib.rs:193:1
[INFO] [stdout]     |
[INFO] [stdout] 193 | pub struct FixedPoint32 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 439 |     y_resolution: FixedPoint32,
[INFO] [stdout]     |     -------------------------- you could clone this value
[INFO] [stdout]     = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1102:13
[INFO] [stdout]      |
[INFO] [stdout] 1102 |         let mut info = ImageInfo::default();
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `twain` (lib) due to 12 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/test.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         DSEvent::Ready(event) => {
[INFO] [stdout]    |         --------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 47 |         _ => {
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/test.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut client = Client::new().unwrap();
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:405:5
[INFO] [stdout]     |
[INFO] [stdout] 399 | #[derive(Debug, Clone)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 405 |     info: Str32,
[INFO] [stdout]     |     ^^^^^^^^^^^ move occurs because value has type `Str32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:405:5
[INFO] [stdout]     |
[INFO] [stdout] 399 | #[derive(Debug, Clone)]
[INFO] [stdout]     |                 ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 405 |     info: Str32,
[INFO] [stdout]     |     ^^^^^^^^^^^ move occurs because value has type `Str32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:425:5
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 425 |     version: Version,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ move occurs because value has type `Version`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:429:5
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 429 |     manufacturer: Str32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Str32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:430:5
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 430 |     product_family: Str32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Str32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:431:5
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 431 |     product_name: Str32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Str32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:425:5
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |                          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 425 |     version: Version,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ move occurs because value has type `Version`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:429:5
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |                          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 429 |     manufacturer: Str32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Str32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:430:5
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |                          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 430 |     product_family: Str32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Str32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:431:5
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |                          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 431 |     product_name: Str32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Str32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:438:5
[INFO] [stdout]     |
[INFO] [stdout] 435 | #[derive(Debug, Default)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 438 |     x_resolution: FixedPoint32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `FixedPoint32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] note: if `FixedPoint32` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/lib.rs:193:1
[INFO] [stdout]     |
[INFO] [stdout] 193 | pub struct FixedPoint32 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 438 |     x_resolution: FixedPoint32,
[INFO] [stdout]     |     -------------------------- you could clone this value
[INFO] [stdout]     = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/lib.rs:439:5
[INFO] [stdout]     |
[INFO] [stdout] 435 | #[derive(Debug, Default)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 439 |     y_resolution: FixedPoint32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `FixedPoint32`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] note: if `FixedPoint32` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/lib.rs:193:1
[INFO] [stdout]     |
[INFO] [stdout] 193 | pub struct FixedPoint32 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 439 |     y_resolution: FixedPoint32,
[INFO] [stdout]     |     -------------------------- you could clone this value
[INFO] [stdout]     = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1102:13
[INFO] [stdout]      |
[INFO] [stdout] 1102 |         let mut info = ImageInfo::default();
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `twain` (lib test) due to 12 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "39be4dcf253cb643448321dcdecfba12e71588e7ebd361ad911badec9edd686f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39be4dcf253cb643448321dcdecfba12e71588e7ebd361ad911badec9edd686f", kill_on_drop: false }`
[INFO] [stdout] 39be4dcf253cb643448321dcdecfba12e71588e7ebd361ad911badec9edd686f
