[INFO] cloning repository https://github.com/uriGrif/jpeg-encoder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uriGrif/jpeg-encoder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FuriGrif%2Fjpeg-encoder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FuriGrif%2Fjpeg-encoder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e745743da12be5e70307d0ef8d9ae57e69f42a5b [INFO] checking uriGrif/jpeg-encoder against try#de39175d9e0f63ff8967b81f9639ba28d11ae6ef for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FuriGrif%2Fjpeg-encoder" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create work tree dir '/workspace/builds/worker-1-tc2/source': No space left on device [INFO] checking uriGrif/jpeg-encoder against try#de39175d9e0f63ff8967b81f9639ba28d11ae6ef for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FuriGrif%2Fjpeg-encoder" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create work tree dir '/workspace/builds/worker-1-tc2/source': No space left on device [INFO] checking uriGrif/jpeg-encoder against try#de39175d9e0f63ff8967b81f9639ba28d11ae6ef for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FuriGrif%2Fjpeg-encoder" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create work tree dir '/workspace/builds/worker-1-tc2/source': No space left on device [INFO] checking uriGrif/jpeg-encoder against try#de39175d9e0f63ff8967b81f9639ba28d11ae6ef for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FuriGrif%2Fjpeg-encoder" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create work tree dir '/workspace/builds/worker-1-tc2/source': No space left on device [INFO] checking uriGrif/jpeg-encoder against try#de39175d9e0f63ff8967b81f9639ba28d11ae6ef for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FuriGrif%2Fjpeg-encoder" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uriGrif/jpeg-encoder on toolchain de39175d9e0f63ff8967b81f9639ba28d11ae6ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/uriGrif/jpeg-encoder [INFO] finished tweaking git repo https://github.com/uriGrif/jpeg-encoder [INFO] tweaked toml for git repo https://github.com/uriGrif/jpeg-encoder written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/uriGrif/jpeg-encoder 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" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 721a72d7dc44cd05c395e2acc0727e17a622ce3817e6bb010e9e26b107e56d56 [INFO] running `Command { std: "docker" "start" "-a" "721a72d7dc44cd05c395e2acc0727e17a622ce3817e6bb010e9e26b107e56d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "721a72d7dc44cd05c395e2acc0727e17a622ce3817e6bb010e9e26b107e56d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "721a72d7dc44cd05c395e2acc0727e17a622ce3817e6bb010e9e26b107e56d56", kill_on_drop: false }` [INFO] [stdout] 721a72d7dc44cd05c395e2acc0727e17a622ce3817e6bb010e9e26b107e56d56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4dcff8cda72a7c5fbba89ec942934bb0794beac7c7366621312d2553923c1f3 [INFO] running `Command { std: "docker" "start" "-a" "b4dcff8cda72a7c5fbba89ec942934bb0794beac7c7366621312d2553923c1f3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Checking clap v4.5.3 [INFO] [stderr] Checking jpeg-encoder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/bmp/bmp_image.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BmpImage { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | file: Option, [INFO] [stdout] 13 | path: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pixel_amount` is never used [INFO] [stdout] --> src/bmp/bmp_image.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl BmpImage { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn pixel_amount(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `for_each_pixel` and `pretty_print` are never used [INFO] [stdout] --> src/pixel_matrix/pixel_matrix.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl PixelMatrix { [INFO] [stdout] | ---------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn for_each_pixel(&self, f: &mut F) where F: FnMut(&T) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn pretty_print(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `get_next_pixel` are never used [INFO] [stdout] --> src/pixel_matrix/block_iterator.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a, T: Default + Copy + Debug> PixelMatrixBlockIterator<'a, T> { [INFO] [stdout] | ------------------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_next_pixel(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/jpeg/huffman_tables.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | Y_DC_HUFFMAN_TABLE.generate_codes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/jpeg/huffman_tables.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | CH_DC_HUFFMAN_TABLE.generate_codes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/jpeg/huffman_tables.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | Y_AC_HUFFMAN_TABLE.generate_codes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/jpeg/huffman_tables.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | CH_AC_HUFFMAN_TABLE.generate_codes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jpeg/huffman_tables.rs:125:38 [INFO] [stdout] | [INFO] [stdout] 125 | HuffmanTableType::YDC => &Y_DC_HUFFMAN_TABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 125 | HuffmanTableType::YDC => &raw const Y_DC_HUFFMAN_TABLE, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jpeg/huffman_tables.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | HuffmanTableType::CHDC => &CH_DC_HUFFMAN_TABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 126 | HuffmanTableType::CHDC => &raw const CH_DC_HUFFMAN_TABLE, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jpeg/huffman_tables.rs:127:38 [INFO] [stdout] | [INFO] [stdout] 127 | HuffmanTableType::YAC => &Y_AC_HUFFMAN_TABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 127 | HuffmanTableType::YAC => &raw const Y_AC_HUFFMAN_TABLE, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jpeg/huffman_tables.rs:128:39 [INFO] [stdout] | [INFO] [stdout] 128 | HuffmanTableType::CHAC => &CH_AC_HUFFMAN_TABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 128 | HuffmanTableType::CHAC => &raw const CH_AC_HUFFMAN_TABLE, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/bmp/bmp_image.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BmpImage { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | file: Option, [INFO] [stdout] 13 | path: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pixel_amount` is never used [INFO] [stdout] --> src/bmp/bmp_image.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl BmpImage { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn pixel_amount(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pretty_print` is never used [INFO] [stdout] --> src/pixel_matrix/pixel_matrix.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl PixelMatrix { [INFO] [stdout] | ---------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn pretty_print(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/jpeg/huffman_tables.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | Y_DC_HUFFMAN_TABLE.generate_codes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/jpeg/huffman_tables.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | CH_DC_HUFFMAN_TABLE.generate_codes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/jpeg/huffman_tables.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | Y_AC_HUFFMAN_TABLE.generate_codes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/jpeg/huffman_tables.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | CH_AC_HUFFMAN_TABLE.generate_codes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jpeg/huffman_tables.rs:125:38 [INFO] [stdout] | [INFO] [stdout] 125 | HuffmanTableType::YDC => &Y_DC_HUFFMAN_TABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 125 | HuffmanTableType::YDC => &raw const Y_DC_HUFFMAN_TABLE, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jpeg/huffman_tables.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | HuffmanTableType::CHDC => &CH_DC_HUFFMAN_TABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 126 | HuffmanTableType::CHDC => &raw const CH_DC_HUFFMAN_TABLE, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jpeg/huffman_tables.rs:127:38 [INFO] [stdout] | [INFO] [stdout] 127 | HuffmanTableType::YAC => &Y_AC_HUFFMAN_TABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 127 | HuffmanTableType::YAC => &raw const Y_AC_HUFFMAN_TABLE, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jpeg/huffman_tables.rs:128:39 [INFO] [stdout] | [INFO] [stdout] 128 | HuffmanTableType::CHAC => &CH_AC_HUFFMAN_TABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 128 | HuffmanTableType::CHAC => &raw const CH_AC_HUFFMAN_TABLE, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.95s [INFO] running `Command { std: "docker" "inspect" "b4dcff8cda72a7c5fbba89ec942934bb0794beac7c7366621312d2553923c1f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4dcff8cda72a7c5fbba89ec942934bb0794beac7c7366621312d2553923c1f3", kill_on_drop: false }` [INFO] [stdout] b4dcff8cda72a7c5fbba89ec942934bb0794beac7c7366621312d2553923c1f3