[INFO] cloning repository https://github.com/ShirinStar/c2pa-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShirinStar/c2pa-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShirinStar%2Fc2pa-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShirinStar%2Fc2pa-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3fd7e65ca74bebfa00ee156b15e1e8b280b82be [INFO] testing ShirinStar/c2pa-test against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShirinStar%2Fc2pa-test" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ShirinStar/c2pa-test [INFO] finished tweaking git repo https://github.com/ShirinStar/c2pa-test [INFO] tweaked toml for git repo https://github.com/ShirinStar/c2pa-test written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ShirinStar/c2pa-test on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ShirinStar/c2pa-test 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.81 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.81 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.81 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.81 [INFO] [stderr] Downloaded bumpalo v3.10.0 [INFO] [stderr] Downloaded block-buffer v0.10.2 [INFO] [stderr] Downloaded extfmt v0.1.1 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.10 [INFO] [stderr] Downloaded der-oid-macro v0.4.0 [INFO] [stderr] Downloaded js-sys v0.3.58 [INFO] [stderr] Downloaded atree v0.5.2 [INFO] [stderr] Downloaded ciborium v0.2.0 [INFO] [stderr] Downloaded img-parts v0.2.3 [INFO] [stderr] Downloaded pix v0.13.2 [INFO] [stderr] Downloaded ciborium-ll v0.2.0 [INFO] [stderr] Downloaded coset v0.3.2 [INFO] [stderr] Downloaded bcder v0.6.1 [INFO] [stderr] Downloaded c2pa v0.7.0 [INFO] [stderr] Downloaded webpki-roots v0.22.4 [INFO] [stderr] Downloaded quick-xml v0.20.0 [INFO] [stderr] Downloaded serde v1.0.138 [INFO] [stderr] Downloaded der-parser v5.1.2 [INFO] [stderr] Downloaded ureq v2.4.0 [INFO] [stderr] Downloaded openssl v0.10.41 [INFO] [stderr] Downloaded web-sys v0.3.58 [INFO] [stderr] Downloaded x509-certificate v0.12.0 [INFO] [stderr] Downloaded weezl v0.1.6 [INFO] [stderr] Downloaded time v0.3.11 [INFO] [stderr] Downloaded serde_derive v1.0.138 [INFO] [stderr] Downloaded png_pong v0.8.2 [INFO] [stderr] Downloaded twoway v0.2.2 [INFO] [stderr] Downloaded blake3 v1.3.1 [INFO] [stderr] Downloaded x509-parser v0.11.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.81 [INFO] [stderr] Downloaded blake2s_simd v0.5.11 [INFO] [stderr] Downloaded openssl-sys v0.9.75 [INFO] [stderr] Downloaded range-set v0.0.9 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.4.3 [INFO] [stderr] Downloaded serde_bytes v0.11.6 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.31 [INFO] [stderr] Downloaded oid-registry v0.1.5 [INFO] [stderr] Downloaded rusticata-macros v3.2.0 [INFO] [stderr] Downloaded custom_derive v0.1.7 [INFO] [stderr] Downloaded conv v0.3.3 [INFO] [stderr] Downloaded ciborium-io v0.2.0 [INFO] [stderr] Downloaded bytemuck v1.10.0 [INFO] [stderr] Downloaded gif v0.11.4 [INFO] [stderr] Downloaded unsigned-varint v0.5.1 [INFO] [stderr] Downloaded multihash v0.11.4 [INFO] [stderr] Downloaded serde-transcode v1.1.1 [INFO] [stderr] Downloaded num_threads v0.1.6 [INFO] [stderr] Downloaded crypto-common v0.1.5 [INFO] [stderr] Downloaded console_log v0.2.0 [INFO] [stderr] Downloaded data-encoding-macro v0.1.12 [INFO] [stderr] Downloaded chunked_transfer v1.4.0 [INFO] [stderr] Downloaded pem v1.0.2 [INFO] [stderr] Downloaded openssl-src v111.22.0+1.1.1q [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b50f9dec9aa7cebe118d636fd461efa859e365c83cc2a7e28b74cff141bde05 [INFO] running `Command { std: "docker" "start" "-a" "1b50f9dec9aa7cebe118d636fd461efa859e365c83cc2a7e28b74cff141bde05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b50f9dec9aa7cebe118d636fd461efa859e365c83cc2a7e28b74cff141bde05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b50f9dec9aa7cebe118d636fd461efa859e365c83cc2a7e28b74cff141bde05", kill_on_drop: false }` [INFO] [stdout] 1b50f9dec9aa7cebe118d636fd461efa859e365c83cc2a7e28b74cff141bde05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 77434e33f2fb6c8974ca7eb74480c2aa854aba738da518caa0cdb6fd866d1398 [INFO] running `Command { std: "docker" "start" "-a" "77434e33f2fb6c8974ca7eb74480c2aa854aba738da518caa0cdb6fd866d1398", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling openssl-src v111.22.0+1.1.1q [INFO] [stderr] Compiling bitvec v0.19.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling pix v0.13.2 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling oid-registry v0.1.5 [INFO] [stderr] Compiling weezl v0.1.6 [INFO] [stderr] Compiling ciborium-io v0.2.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.5 [INFO] [stderr] Compiling ciborium-ll v0.2.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling keccak v0.1.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling bcder v0.6.1 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling pem v1.0.2 [INFO] [stderr] Compiling blake2s_simd v0.5.11 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling webpki-roots v0.22.4 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling bytemuck v1.10.0 [INFO] [stderr] Compiling unsigned-varint v0.5.1 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling multihash v0.11.4 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling img-parts v0.2.3 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling png_pong v0.8.2 [INFO] [stderr] Compiling range-set v0.0.9 [INFO] [stderr] Compiling quick-xml v0.20.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling atree v0.5.2 [INFO] [stderr] Compiling extfmt v0.1.1 [INFO] [stderr] Compiling rusticata-macros v3.2.0 [INFO] [stderr] Compiling der-oid-macro v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling ureq v2.4.0 [INFO] [stderr] Compiling der-parser v5.1.2 [INFO] [stderr] Compiling data-encoding-macro v0.1.12 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling x509-certificate v0.12.0 [INFO] [stderr] Compiling x509-parser v0.11.0 [INFO] [stderr] Compiling ciborium v0.2.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling serde-transcode v1.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.6 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling coset v0.3.2 [INFO] [stderr] Compiling c2pa v0.7.0 [INFO] [stderr] Compiling test-auth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/main.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | assertions::{c2pa_action, Action, Actions, User}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / /** [INFO] [stdout] 19 | | * add a simple action to the manifest [INFO] [stdout] 20 | | * this isn't a great action since it's probably a value already [INFO] [stdout] 21 | | * included in the library but it's a test val that we can write [INFO] [stdout] 22 | | * and read back later on [INFO] [stdout] 23 | | */ [INFO] [stdout] | |_______^ [INFO] [stdout] 24 | / let actions = Actions::new() [INFO] [stdout] 25 | | .add_action(Action::new(c2pa_action::CREATED).set_parameter("at", "07102022".to_owned())?); [INFO] [stdout] | |___________________________________________________________________________________________________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /** [INFO] [stdout] 35 | | * now that the manifest is made we need to generate a new image with the signed manifest [INFO] [stdout] 36 | | */ [INFO] [stdout] | |_______^ [INFO] [stdout] 37 | let source = PathBuf::from(SOURCE_PATH); [INFO] [stdout] | ---------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / /** [INFO] [stdout] 41 | | * pull in the certificate and private key [INFO] [stdout] 42 | | * I had difficulty generating these (since creating a self-signed cert is not straightforward), so I [INFO] [stdout] 43 | | * pulled the pub/pem files from the repo examples [INFO] [stdout] 44 | | */ [INFO] [stdout] | |_______^ [INFO] [stdout] 45 | let signcert_path = "./keys/c2pa.pub"; [INFO] [stdout] | -------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / /** [INFO] [stdout] 68 | | * this will not return anything [INFO] [stdout] 69 | | * but it shows the original image file did not have the generated claims [INFO] [stdout] 70 | | * and is not altered during this process [INFO] [stdout] 71 | | */ [INFO] [stdout] | |_______^ [INFO] [stdout] 72 | let store = ManifestStore::from_file(SOURCE_PATH)?; [INFO] [stdout] | --------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / /** [INFO] [stdout] 96 | | * fetch a bucket of actions (and organize by label?) [INFO] [stdout] 97 | | * this bit was unclear to me. not entirely sure what "label" [INFO] [stdout] 98 | | * is here, but it allows us to get out what we put in above. [INFO] [stdout] 99 | | */ [INFO] [stdout] | |___________^ [INFO] [stdout] 100 | let actions_result: Result = manifest.find_assertion(Actions::LABEL); [INFO] [stdout] | ------------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2, quick-xml v0.20.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "77434e33f2fb6c8974ca7eb74480c2aa854aba738da518caa0cdb6fd866d1398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77434e33f2fb6c8974ca7eb74480c2aa854aba738da518caa0cdb6fd866d1398", kill_on_drop: false }` [INFO] [stdout] 77434e33f2fb6c8974ca7eb74480c2aa854aba738da518caa0cdb6fd866d1398 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] db1d5fce9a75e73170ec696473ead287bedf81cbe3464b9f6747780b42aefce4 [INFO] running `Command { std: "docker" "start" "-a" "db1d5fce9a75e73170ec696473ead287bedf81cbe3464b9f6747780b42aefce4", kill_on_drop: false }` [INFO] [stderr] Compiling test-auth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/main.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | assertions::{c2pa_action, Action, Actions, User}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / /** [INFO] [stdout] 19 | | * add a simple action to the manifest [INFO] [stdout] 20 | | * this isn't a great action since it's probably a value already [INFO] [stdout] 21 | | * included in the library but it's a test val that we can write [INFO] [stdout] 22 | | * and read back later on [INFO] [stdout] 23 | | */ [INFO] [stdout] | |_______^ [INFO] [stdout] 24 | / let actions = Actions::new() [INFO] [stdout] 25 | | .add_action(Action::new(c2pa_action::CREATED).set_parameter("at", "07102022".to_owned())?); [INFO] [stdout] | |___________________________________________________________________________________________________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /** [INFO] [stdout] 35 | | * now that the manifest is made we need to generate a new image with the signed manifest [INFO] [stdout] 36 | | */ [INFO] [stdout] | |_______^ [INFO] [stdout] 37 | let source = PathBuf::from(SOURCE_PATH); [INFO] [stdout] | ---------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / /** [INFO] [stdout] 41 | | * pull in the certificate and private key [INFO] [stdout] 42 | | * I had difficulty generating these (since creating a self-signed cert is not straightforward), so I [INFO] [stdout] 43 | | * pulled the pub/pem files from the repo examples [INFO] [stdout] 44 | | */ [INFO] [stdout] | |_______^ [INFO] [stdout] 45 | let signcert_path = "./keys/c2pa.pub"; [INFO] [stdout] | -------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / /** [INFO] [stdout] 68 | | * this will not return anything [INFO] [stdout] 69 | | * but it shows the original image file did not have the generated claims [INFO] [stdout] 70 | | * and is not altered during this process [INFO] [stdout] 71 | | */ [INFO] [stdout] | |_______^ [INFO] [stdout] 72 | let store = ManifestStore::from_file(SOURCE_PATH)?; [INFO] [stdout] | --------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / /** [INFO] [stdout] 96 | | * fetch a bucket of actions (and organize by label?) [INFO] [stdout] 97 | | * this bit was unclear to me. not entirely sure what "label" [INFO] [stdout] 98 | | * is here, but it allows us to get out what we put in above. [INFO] [stdout] 99 | | */ [INFO] [stdout] | |___________^ [INFO] [stdout] 100 | let actions_result: Result = manifest.find_assertion(Actions::LABEL); [INFO] [stdout] | ------------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2, quick-xml v0.20.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "db1d5fce9a75e73170ec696473ead287bedf81cbe3464b9f6747780b42aefce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db1d5fce9a75e73170ec696473ead287bedf81cbe3464b9f6747780b42aefce4", kill_on_drop: false }` [INFO] [stdout] db1d5fce9a75e73170ec696473ead287bedf81cbe3464b9f6747780b42aefce4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] eb2fd111346b092c0c7a0103a32ea6ce2a33055737efc68688f7c4c5841da386 [INFO] running `Command { std: "docker" "start" "-a" "eb2fd111346b092c0c7a0103a32ea6ce2a33055737efc68688f7c4c5841da386", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `User` [INFO] [stderr] --> src/main.rs:2:48 [INFO] [stderr] | [INFO] [stderr] 2 | assertions::{c2pa_action, Action, Actions, User}, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | / /** [INFO] [stderr] 19 | | * add a simple action to the manifest [INFO] [stderr] 20 | | * this isn't a great action since it's probably a value already [INFO] [stderr] 21 | | * included in the library but it's a test val that we can write [INFO] [stderr] 22 | | * and read back later on [INFO] [stderr] 23 | | */ [INFO] [stderr] | |_______^ [INFO] [stderr] 24 | / let actions = Actions::new() [INFO] [stderr] 25 | | .add_action(Action::new(c2pa_action::CREATED).set_parameter("at", "07102022".to_owned())?); [INFO] [stderr] | |___________________________________________________________________________________________________- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `/* */` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | / /** [INFO] [stderr] 35 | | * now that the manifest is made we need to generate a new image with the signed manifest [INFO] [stderr] 36 | | */ [INFO] [stderr] | |_______^ [INFO] [stderr] 37 | let source = PathBuf::from(SOURCE_PATH); [INFO] [stderr] | ---------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `/* */` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | / /** [INFO] [stderr] 41 | | * pull in the certificate and private key [INFO] [stderr] 42 | | * I had difficulty generating these (since creating a self-signed cert is not straightforward), so I [INFO] [stderr] 43 | | * pulled the pub/pem files from the repo examples [INFO] [stderr] 44 | | */ [INFO] [stderr] | |_______^ [INFO] [stderr] 45 | let signcert_path = "./keys/c2pa.pub"; [INFO] [stderr] | -------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `/* */` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | / /** [INFO] [stderr] 68 | | * this will not return anything [INFO] [stderr] 69 | | * but it shows the original image file did not have the generated claims [INFO] [stderr] 70 | | * and is not altered during this process [INFO] [stderr] 71 | | */ [INFO] [stderr] | |_______^ [INFO] [stderr] 72 | let store = ManifestStore::from_file(SOURCE_PATH)?; [INFO] [stderr] | --------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `/* */` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | / /** [INFO] [stderr] 96 | | * fetch a bucket of actions (and organize by label?) [INFO] [stderr] 97 | | * this bit was unclear to me. not entirely sure what "label" [INFO] [stderr] 98 | | * is here, but it allows us to get out what we put in above. [INFO] [stderr] 99 | | */ [INFO] [stderr] | |___________^ [INFO] [stderr] 100 | let actions_result: Result = manifest.find_assertion(Actions::LABEL); [INFO] [stderr] | ------------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `/* */` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: `test-auth` (bin "test-auth" test) generated 6 warnings (run `cargo fix --bin "test-auth" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2, quick-xml v0.20.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/test_auth-eb33f30ba9bd2bf1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eb2fd111346b092c0c7a0103a32ea6ce2a33055737efc68688f7c4c5841da386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb2fd111346b092c0c7a0103a32ea6ce2a33055737efc68688f7c4c5841da386", kill_on_drop: false }` [INFO] [stdout] eb2fd111346b092c0c7a0103a32ea6ce2a33055737efc68688f7c4c5841da386