[INFO] cloning repository https://github.com/mtrnords-photography-manager/simple-c2pa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mtrnords-photography-manager/simple-c2pa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtrnords-photography-manager%2Fsimple-c2pa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtrnords-photography-manager%2Fsimple-c2pa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b978bab8cc98a029de3eff7803aa93ac43d9b6c [INFO] checking mtrnords-photography-manager/simple-c2pa/2b978bab8cc98a029de3eff7803aa93ac43d9b6c against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtrnords-photography-manager%2Fsimple-c2pa" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mtrnords-photography-manager/simple-c2pa [INFO] finished tweaking git repo https://github.com/mtrnords-photography-manager/simple-c2pa [INFO] tweaked toml for git repo https://github.com/mtrnords-photography-manager/simple-c2pa written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mtrnords-photography-manager/simple-c2pa on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mtrnords-photography-manager/simple-c2pa 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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/mtrnords-photography-manager/c2pa-rs.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive_arbitrary v1.3.2 [INFO] [stderr] Downloaded asn1-rs-derive v0.5.0 [INFO] [stderr] Downloaded asn1-rs v0.6.1 [INFO] [stderr] Downloaded img-parts v0.3.0 [INFO] [stderr] Downloaded bcder v0.7.4 [INFO] [stderr] Downloaded pest_derive v2.7.10 [INFO] [stderr] Downloaded async-generic v1.1.0 [INFO] [stderr] Downloaded pest_meta v2.7.10 [INFO] [stderr] Downloaded darling v0.20.9 [INFO] [stderr] Downloaded jfifdump v0.5.1 [INFO] [stderr] Downloaded zune-jpeg v0.4.11 [INFO] [stderr] Downloaded konst v0.3.9 [INFO] [stderr] Downloaded rasn v0.15.3 [INFO] [stderr] Downloaded ureq v2.9.7 [INFO] [stderr] Downloaded typewit v1.9.0 [INFO] [stderr] Downloaded serde_with_macros v3.8.1 [INFO] [stderr] Downloaded png_pong v0.9.1 [INFO] [stderr] Downloaded range-set v0.0.11 [INFO] [stderr] Downloaded pest_generator v2.7.10 [INFO] [stderr] Downloaded rasn-ocsp v0.15.3 [INFO] [stderr] Downloaded konst_kernel v0.3.9 [INFO] [stderr] Downloaded jzon v0.12.5 [INFO] [stderr] Downloaded rasn-pkix v0.15.3 [INFO] [stderr] Downloaded webpki-roots v0.26.3 [INFO] [stderr] Downloaded darling_macro v0.20.9 [INFO] [stderr] Downloaded atree v0.5.2 [INFO] [stderr] Downloaded byteordered v0.6.0 [INFO] [stderr] Downloaded extfmt v0.1.1 [INFO] [stderr] Downloaded id3 v1.12.0 [INFO] [stderr] Downloaded multihash v0.11.4 [INFO] [stderr] Downloaded bitvec-nom2 v0.2.0 [INFO] [stderr] Downloaded typewit_proc_macros v1.8.1 [INFO] [stderr] Downloaded riff v1.0.1 [INFO] [stderr] Downloaded darling_core v0.20.9 [INFO] [stderr] Downloaded zip v2.1.3 [INFO] [stderr] Downloaded coset v0.3.7 [INFO] [stderr] Downloaded pix v0.13.3 [INFO] [stderr] Downloaded oid-registry v0.7.0 [INFO] [stderr] Downloaded arbitrary v1.3.2 [INFO] [stderr] Downloaded pest v2.7.10 [INFO] [stderr] Downloaded rasn-derive v0.15.3 [INFO] [stderr] Downloaded serde_with v3.8.1 [INFO] [stderr] Downloaded x509-certificate v0.23.1 [INFO] [stderr] Downloaded fast-xml v0.23.1 [INFO] [stderr] Downloaded image v0.25.1 [INFO] [stderr] Downloaded openssl-src v300.3.1+3.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97a24c058bc238e09d59221b26062669d05197c945bcd098a4cebbdab515b0c9 [INFO] running `Command { std: "docker" "start" "-a" "97a24c058bc238e09d59221b26062669d05197c945bcd098a4cebbdab515b0c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97a24c058bc238e09d59221b26062669d05197c945bcd098a4cebbdab515b0c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a24c058bc238e09d59221b26062669d05197c945bcd098a4cebbdab515b0c9", kill_on_drop: false }` [INFO] [stdout] 97a24c058bc238e09d59221b26062669d05197c945bcd098a4cebbdab515b0c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ec1b886c033de9ccbade458135d472cd08037466a6b3e46fb92731a73ac88e3 [INFO] running `Command { std: "docker" "start" "-a" "4ec1b886c033de9ccbade458135d472cd08037466a6b3e46fb92731a73ac88e3", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling typewit_proc_macros v1.8.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking typewit v1.9.0 [INFO] [stderr] Checking object v0.36.0 [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking konst_kernel v0.3.9 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking const_panic v0.2.8 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking konst v0.3.9 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking bitvec-nom2 v0.2.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling pix v0.13.3 [INFO] [stderr] Compiling oid-registry v0.7.0 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking jzon v0.12.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling rasn-derive v0.15.3 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling asn1-rs-derive v0.5.0 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking asn1-rs v0.6.1 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling zip v2.1.3 [INFO] [stderr] Checking subtle v2.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking data-encoding-macro v0.1.15 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Checking wasm-bindgen v0.2.92 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking bcder v0.7.4 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking multihash v0.11.4 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking ureq v2.9.7 [INFO] [stderr] Checking img-parts v0.3.0 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Checking png_pong v0.9.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling async-generic v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking range-set v0.0.11 [INFO] [stderr] Checking byteordered v0.6.0 [INFO] [stderr] Checking fast-xml v0.23.1 [INFO] [stderr] Checking jfifdump v0.5.1 [INFO] [stderr] Checking riff v1.0.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking id3 v1.12.0 [INFO] [stderr] Checking serde-transcode v1.1.1 [INFO] [stderr] Checking coset v0.3.7 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking mp4 v0.14.0 [INFO] [stderr] Checking rasn v0.15.3 [INFO] [stderr] Checking x509-certificate v0.23.1 [INFO] [stderr] Checking serde_with v3.8.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking extfmt v0.1.1 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking atree v0.5.2 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking rasn-pkix v0.15.3 [INFO] [stderr] Checking rasn-ocsp v0.15.3 [INFO] [stderr] Checking c2pa v0.32.2 (https://github.com/mtrnords-photography-manager/c2pa-rs.git#4f9d0ebb) [INFO] [stderr] Checking simple-c2pa v0.0.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/assertions.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | fn to_json(&self) -> AIDataMiningUsageJSON { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | fn to_json(&self) -> AIDataMiningUsageJSON<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/assertions.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | fn to_json(&self) -> AIDataMiningUsageJSON { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | fn to_json(&self) -> AIDataMiningUsageJSON<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | let file_data = cc.embed_manifest(Some(output_path.clone())).unwrap(); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ expected `PathBuf`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 24 | let file_data = cc.embed_manifest(Some(output_path.clone())).unwrap(); [INFO] [stdout] | ^^^^^-------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `PathBuf` [INFO] [stdout] | [INFO] [stdout] 24 | let file_data = cc.embed_manifest(Some(output_path.clone().into())).unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:36:61 [INFO] [stdout] | [INFO] [stdout] 36 | let root_certificate = create_root_certificate(Some(organization.clone()), None).unwrap(); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:36:56 [INFO] [stdout] | [INFO] [stdout] 36 | let root_certificate = create_root_certificate(Some(organization.clone()), None).unwrap(); [INFO] [stdout] | ^^^^^--------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 36 | let root_certificate = create_root_certificate(Some(&organization.clone()), None).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | Some(organization.clone()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | Some(organization.clone()), [INFO] [stdout] | ^^^^^--------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 43 | Some(&organization.clone()), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | gps_version_id: Some("2.2.0.0".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | gps_version_id: Some("2.2.0.0".to_string()), [INFO] [stdout] | ^^^^^---------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 59 | gps_version_id: Some("2.2.0.0".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | latitude: Some("39,21.102N".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | latitude: Some("39,21.102N".to_string()), [INFO] [stdout] | ^^^^^------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 60 | latitude: Some("39,21.102N".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | longitude: Some("74,26.5737W".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | longitude: Some("74,26.5737W".to_string()), [INFO] [stdout] | ^^^^^-------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 61 | longitude: Some("74,26.5737W".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | altitude: Some("100963/29890".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | altitude: Some("100963/29890".to_string()), [INFO] [stdout] | ^^^^^--------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 63 | altitude: Some("100963/29890".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | timestamp: Some("2019-09-22T18:22:57Z".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | timestamp: Some("2019-09-22T18:22:57Z".to_string()), [INFO] [stdout] | ^^^^^----------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 64 | timestamp: Some("2019-09-22T18:22:57Z".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | speed_ref: Some("K".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | speed_ref: Some("K".to_string()), [INFO] [stdout] | ^^^^^---------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 65 | speed_ref: Some("K".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | speed: Some("4009/161323".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | speed: Some("4009/161323".to_string()), [INFO] [stdout] | ^^^^^-------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 66 | speed: Some("4009/161323".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | direction_ref: Some("T".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | direction_ref: Some("T".to_string()), [INFO] [stdout] | ^^^^^---------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 67 | direction_ref: Some("T".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | direction: Some("296140/911".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | direction: Some("296140/911".to_string()), [INFO] [stdout] | ^^^^^------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 68 | direction: Some("296140/911".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:69:43 [INFO] [stdout] | [INFO] [stdout] 69 | destination_bearing_ref: Some("T".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | destination_bearing_ref: Some("T".to_string()), [INFO] [stdout] | ^^^^^---------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 69 | destination_bearing_ref: Some("T".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | destination_bearing: Some("296140/911".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | destination_bearing: Some("296140/911".to_string()), [INFO] [stdout] | ^^^^^------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 70 | destination_bearing: Some("296140/911".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 71 | positioning_error: Some("13244/2207".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | positioning_error: Some("13244/2207".to_string()), [INFO] [stdout] | ^^^^^------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 71 | positioning_error: Some("13244/2207".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | exposure_time: Some("1/100".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | exposure_time: Some("1/100".to_string()), [INFO] [stdout] | ^^^^^-------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 72 | exposure_time: Some("1/100".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | make: Some("ProofMode".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | make: Some("ProofMode".to_string()), [INFO] [stdout] | ^^^^^-----------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 76 | make: Some("ProofMode".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | model: Some("ProofMode In-App Camera v2.0".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | model: Some("ProofMode In-App Camera v2.0".to_string()), [INFO] [stdout] | ^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 77 | model: Some("ProofMode In-App Camera v2.0".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | lens_make: Some("CameraCompany".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | lens_make: Some("CameraCompany".to_string()), [INFO] [stdout] | ^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 78 | lens_make: Some("CameraCompany".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | lens_model: Some("17.0-35.0 mm".to_string()), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Cow<'_, str>`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, str>` [INFO] [stdout] found struct `String` [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | lens_model: Some("17.0-35.0 mm".to_string()), [INFO] [stdout] | ^^^^^--------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] 79 | lens_model: Some("17.0-35.0 mm".to_string().into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> tests/examples.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | cc.add_instagram_assertion("johndoe".to_string(), "John Doe".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ --------------------- ---------------------- expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found `String` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/assertions.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn add_instagram_assertion( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try removing the method call [INFO] [stdout] | [INFO] [stdout] 83 - cc.add_instagram_assertion("johndoe".to_string(), "John Doe".to_string()) [INFO] [stdout] 83 + cc.add_instagram_assertion("johndoe", "John Doe".to_string()) [INFO] [stdout] | [INFO] [stdout] help: try removing the method call [INFO] [stdout] | [INFO] [stdout] 83 - cc.add_instagram_assertion("johndoe".to_string(), "John Doe".to_string()) [INFO] [stdout] 83 + cc.add_instagram_assertion("johndoe".to_string(), "John Doe") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> tests/examples.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | cc.add_pgp_assertion(fingerprint, "88A7FDCE".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ----------- ---------------------- expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found `String` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/assertions.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn add_pgp_assertion( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 85 | cc.add_pgp_assertion(&fingerprint, "88A7FDCE".to_string()) [INFO] [stdout] | + [INFO] [stdout] help: try removing the method call [INFO] [stdout] | [INFO] [stdout] 85 - cc.add_pgp_assertion(fingerprint, "88A7FDCE".to_string()) [INFO] [stdout] 85 + cc.add_pgp_assertion(fingerprint, "88A7FDCE") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/examples.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | let file_data = cc.embed_manifest(Some(output_path.clone())).unwrap(); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ expected `PathBuf`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> tests/examples.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | let file_data = cc.embed_manifest(Some(output_path.clone())).unwrap(); [INFO] [stdout] | ^^^^^-------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/core/src/option.rs:607:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `PathBuf` [INFO] [stdout] | [INFO] [stdout] 90 | let file_data = cc.embed_manifest(Some(output_path.clone().into())).unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-c2pa` (test "examples") due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "4ec1b886c033de9ccbade458135d472cd08037466a6b3e46fb92731a73ac88e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ec1b886c033de9ccbade458135d472cd08037466a6b3e46fb92731a73ac88e3", kill_on_drop: false }` [INFO] [stdout] 4ec1b886c033de9ccbade458135d472cd08037466a6b3e46fb92731a73ac88e3