[INFO] fetching crate libopenraw 0.4.0-alpha.10... [INFO] checking libopenraw-0.4.0-alpha.10 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate libopenraw 0.4.0-alpha.10 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate libopenraw 0.4.0-alpha.10 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate libopenraw 0.4.0-alpha.10 [INFO] tweaked toml for crates.io crate libopenraw 0.4.0-alpha.10 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libopenraw 0.4.0-alpha.10 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libopenraw 0.4.0-alpha.10 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 031f893713d18bb8319c1e6f8d8b5f94d26eeb9606bf4ab11681dcf558c1807c [INFO] running `Command { std: "docker" "start" "-a" "031f893713d18bb8319c1e6f8d8b5f94d26eeb9606bf4ab11681dcf558c1807c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "031f893713d18bb8319c1e6f8d8b5f94d26eeb9606bf4ab11681dcf558c1807c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "031f893713d18bb8319c1e6f8d8b5f94d26eeb9606bf4ab11681dcf558c1807c", kill_on_drop: false }` [INFO] [stdout] 031f893713d18bb8319c1e6f8d8b5f94d26eeb9606bf4ab11681dcf558c1807c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ced42dd8079fd42383300f53d230bc8116a073997e3cdfd11cc28d23e18e9400 [INFO] running `Command { std: "docker" "start" "-a" "ced42dd8079fd42383300f53d230bc8116a073997e3cdfd11cc28d23e18e9400", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling target-features v0.1.6 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling winnow v0.7.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking wide v0.7.32 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking simple_logger v5.0.0 [INFO] [stderr] Checking bitreader v0.3.11 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking fallible_collections v0.5.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking xml-rs v0.8.26 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking test-assembler v0.1.6 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling multiversion-macros v0.8.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking multiversion v0.8.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking libopenraw v0.4.0-alpha.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/canon/crw/ciff.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | Byte(Vec), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 242 - Byte(Vec), [INFO] [stdout] 242 + Byte(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/canon/crw/ciff/container.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | fn dir_iterator(&self) -> metadata::Iterator { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 210 | fn dir_iterator(&self) -> metadata::Iterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/container.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | fn dir_iterator(&self) -> metadata::Iterator { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 102 | fn dir_iterator(&self) -> metadata::Iterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fujifilm/raf.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | fn dir_iterator(&self) -> metadata::Iterator { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 267 | fn dir_iterator(&self) -> metadata::Iterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jpeg/container.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | fn dir_iterator(&self) -> metadata::Iterator { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 83 | fn dir_iterator(&self) -> metadata::Iterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/minolta.rs:716:21 [INFO] [stdout] | [INFO] [stdout] 716 | fn dir_iterator(&self) -> metadata::Iterator { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 716 | fn dir_iterator(&self) -> metadata::Iterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mp4/container.rs:295:31 [INFO] [stdout] | [INFO] [stdout] 295 | pub(crate) fn craw_header(&self) -> Result> { [INFO] [stdout] | ^^^^^ -------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 295 | pub(crate) fn craw_header(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mp4/parse/mod.rs:1538:17 [INFO] [stdout] | [INFO] [stdout] 1538 | fn new(src: &mut T) -> BoxIter { [INFO] [stdout] | ^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1538 | fn new(src: &mut T) -> BoxIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mp4/parse/mod.rs:1542:17 [INFO] [stdout] | [INFO] [stdout] 1542 | fn next_box(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1542 | fn next_box(&mut self) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rawfile.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | fn metadata(&self) -> Option { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 302 | fn metadata(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tiff/container.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | fn dir_iterator(&self) -> metadata::Iterator { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 133 | fn dir_iterator(&self) -> metadata::Iterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tiff/dir.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn iter(&self) -> super::Iterator { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn iter(&self) -> super::Iterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libopenraw_testing` [INFO] [stdout] --> tests/testsuite.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use libopenraw_testing::{raw_checksum, Results, Test}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `libopenraw_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libopenraw_testing`, use `cargo add libopenraw_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testsuite.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | DataType::from(raw_data_type.as_str()), [INFO] [stdout] | ^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testsuite.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | assert_eq!(dims.len(), 2, "Incorrect number of Raw dimensions"); [INFO] [stdout] | ^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testsuite.rs:86:41 [INFO] [stdout] | [INFO] [stdout] 86 | assert_eq!(raw_data_active_area.len(), 4, "Incorrect active area"); [INFO] [stdout] | ^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testsuite.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | assert_eq!(raw_data_user_crop.len(), 4, "Incorrect user crop"); [INFO] [stdout] | ^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testsuite.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 115 | raw_data_user_aspect_ratio.len(), [INFO] [stdout] | ^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testsuite.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | sizes.len(), [INFO] [stdout] | ^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testsuite.rs:228:52 [INFO] [stdout] | [INFO] [stdout] 228 | let formats: Vec = thumb_formats.split(' ').map(DataType::from).collect(); [INFO] [stdout] | ^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testsuite.rs:247:24 [INFO] [stdout] | [INFO] [stdout] 247 | data_sizes.len(), [INFO] [stdout] | ^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testsuite.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | md5s.len(), [INFO] [stdout] | ^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testsuite.rs:288:37 [INFO] [stdout] | [INFO] [stdout] 288 | Type::from(raw_type.as_str()), [INFO] [stdout] | ^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testsuite.rs:359:47 [INFO] [stdout] | [INFO] [stdout] 359 | let maker_note_id = maker_note_id.as_bytes(); [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: Neg` is not satisfied [INFO] [stdout] --> tests/testsuite.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | -1 => assert!(maker_note.is_none(), "Expected to have no MakerNote"), [INFO] [stdout] | ^^ the trait `Neg` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Neg`: [INFO] [stdout] &f128 [INFO] [stdout] &f16 [INFO] [stdout] &f32 [INFO] [stdout] &f64 [INFO] [stdout] &i128 [INFO] [stdout] &i16 [INFO] [stdout] &i32 [INFO] [stdout] &i64 [INFO] [stdout] and 12 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: Neg` is not satisfied [INFO] [stdout] --> tests/testsuite.rs:345:26 [INFO] [stdout] | [INFO] [stdout] 345 | c if c < -1 => unreachable!(), [INFO] [stdout] | ^^ the trait `Neg` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Neg`: [INFO] [stdout] &f128 [INFO] [stdout] &f16 [INFO] [stdout] &f32 [INFO] [stdout] &f64 [INFO] [stdout] &i128 [INFO] [stdout] &i16 [INFO] [stdout] &i32 [INFO] [stdout] &i64 [INFO] [stdout] and 12 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libopenraw` (test "testsuite") due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/canon/crw/ciff.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | Byte(Vec), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 242 - Byte(Vec), [INFO] [stdout] 242 + Byte(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/canon/crw/ciff/container.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | fn dir_iterator(&self) -> metadata::Iterator { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 210 | fn dir_iterator(&self) -> metadata::Iterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/container.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | fn dir_iterator(&self) -> metadata::Iterator { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 102 | fn dir_iterator(&self) -> metadata::Iterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fujifilm/raf.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | fn dir_iterator(&self) -> metadata::Iterator { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 267 | fn dir_iterator(&self) -> metadata::Iterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jpeg/container.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | fn dir_iterator(&self) -> metadata::Iterator { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 83 | fn dir_iterator(&self) -> metadata::Iterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/minolta.rs:716:21 [INFO] [stdout] | [INFO] [stdout] 716 | fn dir_iterator(&self) -> metadata::Iterator { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 716 | fn dir_iterator(&self) -> metadata::Iterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mp4/container.rs:295:31 [INFO] [stdout] | [INFO] [stdout] 295 | pub(crate) fn craw_header(&self) -> Result> { [INFO] [stdout] | ^^^^^ -------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 295 | pub(crate) fn craw_header(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mp4/parse/mod.rs:1538:17 [INFO] [stdout] | [INFO] [stdout] 1538 | fn new(src: &mut T) -> BoxIter { [INFO] [stdout] | ^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1538 | fn new(src: &mut T) -> BoxIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mp4/parse/mod.rs:1542:17 [INFO] [stdout] | [INFO] [stdout] 1542 | fn next_box(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1542 | fn next_box(&mut self) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rawfile.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | fn metadata(&self) -> Option { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 302 | fn metadata(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tiff/container.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | fn dir_iterator(&self) -> metadata::Iterator { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 133 | fn dir_iterator(&self) -> metadata::Iterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tiff/dir.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn iter(&self) -> super::Iterator { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn iter(&self) -> super::Iterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ced42dd8079fd42383300f53d230bc8116a073997e3cdfd11cc28d23e18e9400", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ced42dd8079fd42383300f53d230bc8116a073997e3cdfd11cc28d23e18e9400", kill_on_drop: false }` [INFO] [stdout] ced42dd8079fd42383300f53d230bc8116a073997e3cdfd11cc28d23e18e9400