[INFO] cloning repository https://github.com/Battula-anil-app-could/dx-signalapp-libsignal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Battula-anil-app-could/dx-signalapp-libsignal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBattula-anil-app-could%2Fdx-signalapp-libsignal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBattula-anil-app-could%2Fdx-signalapp-libsignal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3b430bd308c6a70bd2c7d5408cc214846d15143 [INFO] checking Battula-anil-app-could/dx-signalapp-libsignal/b3b430bd308c6a70bd2c7d5408cc214846d15143 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBattula-anil-app-could%2Fdx-signalapp-libsignal" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Battula-anil-app-could/dx-signalapp-libsignal on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Battula-anil-app-could/dx-signalapp-libsignal [INFO] finished tweaking git repo https://github.com/Battula-anil-app-could/dx-signalapp-libsignal [INFO] tweaked toml for git repo https://github.com/Battula-anil-app-could/dx-signalapp-libsignal written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Battula-anil-app-could/dx-signalapp-libsignal 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/signalapp/boring` [INFO] [stderr] Updating git submodule `https://github.com/google/boringssl.git` [INFO] [stderr] Updating git submodule `https://github.com/google/boringssl.git` [INFO] [stderr] Updating git repository `https://github.com/signalapp/curve25519-dalek` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unzip3 v1.0.0 [INFO] [stderr] Downloaded asn1 v0.9.1 [INFO] [stderr] Downloaded asn1_derive v0.9.1 [INFO] [stderr] Downloaded neon-macros v0.10.0 [INFO] [stderr] Downloaded neon-build v0.10.0 [INFO] [stderr] Downloaded clang-sys v1.3.2 [INFO] [stderr] Downloaded neon-runtime v0.10.0 [INFO] [stderr] Downloaded neon v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f1295bb1b0923d747da307c505d6cd73476d465168d59b86dbcb3878b510125 [INFO] running `Command { std: "docker" "start" "-a" "1f1295bb1b0923d747da307c505d6cd73476d465168d59b86dbcb3878b510125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f1295bb1b0923d747da307c505d6cd73476d465168d59b86dbcb3878b510125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f1295bb1b0923d747da307c505d6cd73476d465168d59b86dbcb3878b510125", kill_on_drop: false }` [INFO] [stdout] 1f1295bb1b0923d747da307c505d6cd73476d465168d59b86dbcb3878b510125 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 186bf02ef9c5650e4e59a1367a73f48c00d844af2ff1876271fcee64222ef5e7 [INFO] running `Command { std: "docker" "start" "-a" "186bf02ef9c5650e4e59a1367a73f48c00d844af2ff1876271fcee64222ef5e7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling which v4.2.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling clang-sys v1.3.2 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Compiling neon-build v0.10.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking ciborium-io v0.2.0 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking ciborium-ll v0.2.0 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking ghash v0.4.4 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling neon v0.10.0 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking hkdf v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking neon-runtime v0.10.0 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking foreign-types-shared v0.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking clap v3.2.20 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking poly1305 v0.7.2 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking aes-gcm v0.9.4 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking signal-crypto v0.1.0 (/opt/rustwide/workdir/rust/crypto) [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking combine v4.6.3 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Compiling unzip3 v1.0.0 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling jni v0.19.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling libsignal-jni v0.22.1 (/opt/rustwide/workdir/rust/bridge/jni) [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Compiling snow v0.8.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking proptest v1.0.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling syn-mid v0.5.3 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Compiling neon-macros v0.10.0 [INFO] [stderr] Compiling asn1_derive v0.9.1 [INFO] [stderr] Compiling variant_count v1.1.0 [INFO] [stderr] Compiling linkme-impl v0.2.10 [INFO] [stderr] Compiling libsignal-bridge-macros v0.1.0 (/opt/rustwide/workdir/rust/bridge/shared/macros) [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking foreign-types v0.5.0 [INFO] [stderr] Checking backtrace v0.3.64 [INFO] [stderr] Checking aes-gcm-siv v0.10.3 [INFO] [stderr] Checking chacha20 v0.7.3 [INFO] [stderr] Checking log-panics v2.1.0 [INFO] [stderr] Checking chacha20poly1305 v0.8.2 [INFO] [stderr] Checking linkme v0.2.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling boring-sys v2.1.0 (https://github.com/signalapp/boring?branch=libsignal#25e1dd8f) [INFO] [stderr] Checking num_enum v0.5.7 [INFO] [stderr] Checking signal-neon-futures v0.1.0 (/opt/rustwide/workdir/rust/bridge/node/futures) [INFO] [stderr] Checking signal-neon-futures-tests v0.1.0 (/opt/rustwide/workdir/rust/bridge/node/futures/tests-node-module) [INFO] [stderr] Compiling libsignal-protocol v0.1.0 (/opt/rustwide/workdir/rust/protocol) [INFO] [stderr] Compiling attest v0.1.0 (/opt/rustwide/workdir/rust/attest) [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking curve25519-dalek v3.2.1 (https://github.com/signalapp/curve25519-dalek?branch=lizard2#4f0aa665) [INFO] [stderr] Checking ciborium v0.2.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking x25519-dalek v1.1.1 [INFO] [stderr] Checking poksho v0.7.0 (/opt/rustwide/workdir/rust/poksho) [INFO] [stderr] Checking asn1 v0.9.1 [INFO] [stderr] Checking zkgroup v0.9.0 (/opt/rustwide/workdir/rust/zkgroup) [INFO] [stderr] Checking usernames v0.1.0 (/opt/rustwide/workdir/rust/usernames) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking boring v2.1.0 (https://github.com/signalapp/boring?branch=libsignal#25e1dd8f) [INFO] [stderr] Checking device-transfer v0.1.0 (/opt/rustwide/workdir/rust/device-transfer) [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> rust/attest/src/dcap/cert_chain.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg(not(fuzzing))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> rust/attest/src/dcap/ecdsa.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(not(fuzzing))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> rust/attest/src/dcap/sgx_quote.rs:309:23 [INFO] [stdout] | [INFO] [stdout] 309 | #[cfg(not(fuzzing))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> rust/attest/src/dcap.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | #[cfg(not(fuzzing))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> rust/attest/src/dcap.rs:375:19 [INFO] [stdout] | [INFO] [stdout] 375 | #[cfg(not(fuzzing))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> rust/attest/src/dcap.rs:602:19 [INFO] [stdout] | [INFO] [stdout] 602 | #[cfg(not(fuzzing))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> rust/attest/src/dcap/cert_chain.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg(not(fuzzing))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> rust/attest/src/dcap/ecdsa.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(not(fuzzing))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> rust/attest/src/dcap/sgx_quote.rs:309:23 [INFO] [stdout] | [INFO] [stdout] 309 | #[cfg(not(fuzzing))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> rust/attest/src/dcap.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | #[cfg(not(fuzzing))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> rust/attest/src/dcap.rs:375:19 [INFO] [stdout] | [INFO] [stdout] 375 | #[cfg(not(fuzzing))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> rust/attest/src/dcap.rs:602:19 [INFO] [stdout] | [INFO] [stdout] 602 | #[cfg(not(fuzzing))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.version` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/endorsements.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 276 | version: UInt32LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ move occurs because `self.version` has type `endian::UInt32LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt32LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct UInt32LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/endorsements.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | version: UInt32LE, [INFO] [stdout] | ----------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.enclave_type` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/endorsements.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 279 | enclave_type: UInt32LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.enclave_type` has type `endian::UInt32LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt32LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct UInt32LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/endorsements.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | enclave_type: UInt32LE, [INFO] [stdout] | ---------------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.buffer_size` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/endorsements.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 282 | buffer_size: UInt32LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.buffer_size` has type `endian::UInt32LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt32LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct UInt32LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/endorsements.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | buffer_size: UInt32LE, [INFO] [stdout] | --------------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.num_elements` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/endorsements.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 285 | num_elements: UInt32LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.num_elements` has type `endian::UInt32LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt32LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct UInt32LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/endorsements.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | num_elements: UInt32LE, [INFO] [stdout] | ---------------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.version` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_quote.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 105 | version: UInt16LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ move occurs because `self.version` has type `endian::UInt16LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt16LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct UInt16LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_quote.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | version: UInt16LE, [INFO] [stdout] | ----------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.sign_type` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_quote.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 109 | sign_type: UInt16LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ move occurs because `self.sign_type` has type `endian::UInt16LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt16LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct UInt16LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_quote.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | sign_type: UInt16LE, [INFO] [stdout] | ------------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.qe_svn` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_quote.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 117 | qe_svn: UInt16LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ move occurs because `self.qe_svn` has type `endian::UInt16LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt16LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct UInt16LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_quote.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | qe_svn: UInt16LE, [INFO] [stdout] | ---------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.pce_svn` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_quote.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 121 | pce_svn: UInt16LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ move occurs because `self.pce_svn` has type `endian::UInt16LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt16LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct UInt16LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_quote.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | pce_svn: UInt16LE, [INFO] [stdout] | ----------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.report_body` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_quote.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 133 | pub report_body: SgxReportBody, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.report_body` has type `SgxReportBody`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.qe_report_body` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_quote.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 328 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 333 | qe_report_body: SgxReportBody, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.qe_report_body` has type `SgxReportBody`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.auth_data_size` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_quote.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 328 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 335 | auth_data_size: UInt16LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.auth_data_size` has type `endian::UInt16LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt16LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct UInt16LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_quote.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | auth_data_size: UInt16LE, [INFO] [stdout] | ------------------------ you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.miscselect` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_report_body.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 33 | pub miscselect: UInt32LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.miscselect` has type `endian::UInt32LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt32LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct UInt32LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_report_body.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub miscselect: UInt32LE, [INFO] [stdout] | ------------------------ you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.isvprodid` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_report_body.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 72 | pub isvprodid: UInt16LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.isvprodid` has type `endian::UInt16LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt16LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct UInt16LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_report_body.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub isvprodid: UInt16LE, [INFO] [stdout] | ----------------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.isvsvn` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_report_body.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 76 | pub isvsvn: UInt16LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ move occurs because `self.isvsvn` has type `endian::UInt16LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt16LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct UInt16LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_report_body.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub isvsvn: UInt16LE, [INFO] [stdout] | -------------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self._configsvn` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_report_body.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 80 | _configsvn: UInt16LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ move occurs because `self._configsvn` has type `endian::UInt16LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt16LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct UInt16LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_report_body.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | _configsvn: UInt16LE, [INFO] [stdout] | -------------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.version` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/endorsements.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 276 | version: UInt32LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ move occurs because `self.version` has type `endian::UInt32LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt32LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct UInt32LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/endorsements.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | version: UInt32LE, [INFO] [stdout] | ----------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.enclave_type` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/endorsements.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 279 | enclave_type: UInt32LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.enclave_type` has type `endian::UInt32LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt32LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct UInt32LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/endorsements.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | enclave_type: UInt32LE, [INFO] [stdout] | ---------------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.buffer_size` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/endorsements.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 282 | buffer_size: UInt32LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.buffer_size` has type `endian::UInt32LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt32LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct UInt32LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/endorsements.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | buffer_size: UInt32LE, [INFO] [stdout] | --------------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.num_elements` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/endorsements.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 285 | num_elements: UInt32LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.num_elements` has type `endian::UInt32LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt32LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct UInt32LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/endorsements.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | num_elements: UInt32LE, [INFO] [stdout] | ---------------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `attest` (lib) due to 16 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0507]: cannot move out of `self.version` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_quote.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 105 | version: UInt16LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ move occurs because `self.version` has type `endian::UInt16LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt16LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct UInt16LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_quote.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | version: UInt16LE, [INFO] [stdout] | ----------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.sign_type` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_quote.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 109 | sign_type: UInt16LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ move occurs because `self.sign_type` has type `endian::UInt16LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt16LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct UInt16LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_quote.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | sign_type: UInt16LE, [INFO] [stdout] | ------------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.qe_svn` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_quote.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 117 | qe_svn: UInt16LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ move occurs because `self.qe_svn` has type `endian::UInt16LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt16LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct UInt16LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_quote.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | qe_svn: UInt16LE, [INFO] [stdout] | ---------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.pce_svn` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_quote.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 121 | pce_svn: UInt16LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ move occurs because `self.pce_svn` has type `endian::UInt16LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt16LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct UInt16LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_quote.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | pce_svn: UInt16LE, [INFO] [stdout] | ----------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.report_body` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_quote.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 133 | pub report_body: SgxReportBody, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.report_body` has type `SgxReportBody`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.qe_report_body` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_quote.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 328 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 333 | qe_report_body: SgxReportBody, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.qe_report_body` has type `SgxReportBody`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.auth_data_size` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_quote.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 328 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 335 | auth_data_size: UInt16LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.auth_data_size` has type `endian::UInt16LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt16LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct UInt16LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_quote.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | auth_data_size: UInt16LE, [INFO] [stdout] | ------------------------ you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.miscselect` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_report_body.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 33 | pub miscselect: UInt32LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.miscselect` has type `endian::UInt32LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt32LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct UInt32LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_report_body.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub miscselect: UInt32LE, [INFO] [stdout] | ------------------------ you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.isvprodid` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_report_body.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 72 | pub isvprodid: UInt16LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.isvprodid` has type `endian::UInt16LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt16LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct UInt16LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_report_body.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub isvprodid: UInt16LE, [INFO] [stdout] | ----------------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.isvsvn` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_report_body.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 76 | pub isvsvn: UInt16LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ move occurs because `self.isvsvn` has type `endian::UInt16LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt16LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct UInt16LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_report_body.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub isvsvn: UInt16LE, [INFO] [stdout] | -------------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self._configsvn` which is behind a shared reference [INFO] [stdout] --> rust/attest/src/dcap/sgx_report_body.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 80 | _configsvn: UInt16LE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ move occurs because `self._configsvn` has type `endian::UInt16LE`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `endian::UInt16LE` implemented `Clone`, you could clone the value [INFO] [stdout] --> rust/attest/src/endian.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct UInt16LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: rust/attest/src/dcap/sgx_report_body.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | _configsvn: UInt16LE, [INFO] [stdout] | -------------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `attest` (lib test) due to 16 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "186bf02ef9c5650e4e59a1367a73f48c00d844af2ff1876271fcee64222ef5e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "186bf02ef9c5650e4e59a1367a73f48c00d844af2ff1876271fcee64222ef5e7", kill_on_drop: false }` [INFO] [stdout] 186bf02ef9c5650e4e59a1367a73f48c00d844af2ff1876271fcee64222ef5e7