[INFO] cloning repository https://github.com/project-serum/governance-registry [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/project-serum/governance-registry" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproject-serum%2Fgovernance-registry", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproject-serum%2Fgovernance-registry'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e382999f9071e0bdbc54eaacc8e1b3ef8924dbf5 [INFO] testing project-serum/governance-registry against beta-2022-09-25 for beta-1.65-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproject-serum%2Fgovernance-registry" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/project-serum/governance-registry on toolchain beta-2022-09-25 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-09-25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/project-serum/governance-registry [INFO] finished tweaking git repo https://github.com/project-serum/governance-registry [INFO] tweaked toml for git repo https://github.com/project-serum/governance-registry written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/project-serum/governance-registry already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-09-25" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebf5d2dbfe1b70223c4f0e12832110a45f497a913bf4f229bbc7c9d56c1b666a [INFO] running `Command { std: "docker" "start" "-a" "ebf5d2dbfe1b70223c4f0e12832110a45f497a913bf4f229bbc7c9d56c1b666a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebf5d2dbfe1b70223c4f0e12832110a45f497a913bf4f229bbc7c9d56c1b666a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf5d2dbfe1b70223c4f0e12832110a45f497a913bf4f229bbc7c9d56c1b666a", kill_on_drop: false }` [INFO] [stdout] ebf5d2dbfe1b70223c4f0e12832110a45f497a913bf4f229bbc7c9d56c1b666a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b85ac1b5a1ea120a8ce81e60354d1a14475a07472ce5a33e3da613fbbb363e32 [INFO] running `Command { std: "docker" "start" "-a" "b85ac1b5a1ea120a8ce81e60354d1a14475a07472ce5a33e3da613fbbb363e32", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.8.0 [INFO] [stderr] Compiling solana-frozen-abi v1.8.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling solana-program v1.8.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling zeroize v1.4.2 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling solana-sdk-macro v1.8.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling anchor-syn v0.18.0 [INFO] [stderr] Compiling solana-logger v1.8.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling alloc-traits v0.1.1 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling without-alloc v0.2.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling safe-transmute v0.11.2 [INFO] [stderr] Compiling field-offset v0.3.4 [INFO] [stderr] Compiling borsh v0.9.1 [INFO] [stderr] Compiling enumflags2 v0.6.4 [INFO] [stderr] Compiling anchor-attribute-error v0.18.0 [INFO] [stderr] Compiling anchor-attribute-event v0.18.0 [INFO] [stderr] Compiling anchor-attribute-program v0.18.0 [INFO] [stderr] Compiling anchor-attribute-account v0.18.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.18.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.18.0 [INFO] [stderr] Compiling anchor-attribute-state v0.18.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.18.0 [INFO] [stderr] Compiling num_enum v0.5.4 [INFO] [stderr] Compiling anchor-lang v0.18.0 [INFO] [stderr] Compiling spl-token v3.2.0 [INFO] [stderr] Compiling spl-token v3.2.0 (https://github.com/solana-labs/solana-program-library#203db7bc) [INFO] [stderr] Compiling spl-governance-tools v0.1.0 (https://github.com/solana-labs/solana-program-library#203db7bc) [INFO] [stderr] Compiling spl-associated-token-account v1.0.3 [INFO] [stderr] Compiling serum_dex v0.4.0 [INFO] [stderr] Compiling spl-governance v2.1.2 (https://github.com/solana-labs/solana-program-library#203db7bc) [INFO] [stderr] Compiling anchor-spl v0.18.0 [INFO] [stderr] Compiling governance-registry v0.1.0 (/opt/rustwide/workdir/programs/governance-registry) [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> programs/governance-registry/src/account.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(AnchorSerialize, AnchorDeserialize, Default)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this warning originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> programs/governance-registry/src/account.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 284 | #[derive(AnchorSerialize, AnchorDeserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this warning originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.42s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: governance-registry v0.1.0 (/opt/rustwide/workdir/programs/governance-registry) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] running `Command { std: "docker" "inspect" "b85ac1b5a1ea120a8ce81e60354d1a14475a07472ce5a33e3da613fbbb363e32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b85ac1b5a1ea120a8ce81e60354d1a14475a07472ce5a33e3da613fbbb363e32", kill_on_drop: false }` [INFO] [stdout] b85ac1b5a1ea120a8ce81e60354d1a14475a07472ce5a33e3da613fbbb363e32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14399bd86803b8fe2320e70db0aa1ec530f02cdf61b5352657533debc7d7583b [INFO] running `Command { std: "docker" "start" "-a" "14399bd86803b8fe2320e70db0aa1ec530f02cdf61b5352657533debc7d7583b", kill_on_drop: false }` [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> programs/governance-registry/src/account.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(AnchorSerialize, AnchorDeserialize, Default)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this warning originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> programs/governance-registry/src/account.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 284 | #[derive(AnchorSerialize, AnchorDeserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this warning originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling governance-registry v0.1.0 (/opt/rustwide/workdir/programs/governance-registry) [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> programs/governance-registry/src/account.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(AnchorSerialize, AnchorDeserialize, Default)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this warning originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> programs/governance-registry/src/account.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 284 | #[derive(AnchorSerialize, AnchorDeserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this warning originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.66s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: governance-registry v0.1.0 (/opt/rustwide/workdir/programs/governance-registry) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 8` [INFO] running `Command { std: "docker" "inspect" "14399bd86803b8fe2320e70db0aa1ec530f02cdf61b5352657533debc7d7583b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14399bd86803b8fe2320e70db0aa1ec530f02cdf61b5352657533debc7d7583b", kill_on_drop: false }` [INFO] [stdout] 14399bd86803b8fe2320e70db0aa1ec530f02cdf61b5352657533debc7d7583b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] baa606dbdd3ffd2ba7e69931107041ded24cc36f4705af979150f6bba88b8030 [INFO] running `Command { std: "docker" "start" "-a" "baa606dbdd3ffd2ba7e69931107041ded24cc36f4705af979150f6bba88b8030", kill_on_drop: false }` [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> programs/governance-registry/src/account.rs:71:10 [INFO] [stderr] | [INFO] [stderr] 71 | #[derive(AnchorSerialize, AnchorDeserialize, Default)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unaligned_references)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stderr] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stderr] = note: this warning originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> programs/governance-registry/src/account.rs:284:10 [INFO] [stderr] | [INFO] [stderr] 284 | #[derive(AnchorSerialize, AnchorDeserialize)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stderr] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stderr] = note: this warning originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `governance-registry` (lib) generated 2 warnings [INFO] [stderr] warning: `governance-registry` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: governance-registry v0.1.0 (/opt/rustwide/workdir/programs/governance-registry) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 9` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/governance_registry-8f4c78e1691739ef) [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test account::tests::days_left_9 ... ok [INFO] [stdout] test account::tests::days_left_9_dot_one ... ok [INFO] [stdout] test account::tests::days_left_eleven ... ok [INFO] [stdout] test account::tests::days_left_one ... ok [INFO] [stdout] test account::tests::days_left_9_dot_nine ... ok [INFO] [stdout] test account::tests::days_left_one_and_one_half ... ok [INFO] [stdout] test account::tests::days_left_one_half ... ok [INFO] [stdout] test account::tests::days_left_start ... ok [INFO] [stdout] test account::tests::days_left_ten ... ok [INFO] [stdout] test account::tests::voting_power_cliff_eleven_days ... ok [INFO] [stdout] test account::tests::voting_power_cliff_half_day ... ok [INFO] [stdout] test account::tests::voting_power_cliff_nine_dot_nine_days ... ok [INFO] [stdout] test account::tests::voting_power_cliff_one_day ... ok [INFO] [stdout] test account::tests::voting_power_cliff_one_day_one_third ... ok [INFO] [stdout] test account::tests::voting_power_cliff_one_third_day ... ok [INFO] [stdout] test account::tests::voting_power_cliff_start ... ok [INFO] [stdout] test account::tests::voting_power_cliff_ten_days ... ok [INFO] [stdout] test account::tests::voting_power_cliff_ten_dot_one_days ... ok [INFO] [stdout] test account::tests::voting_power_cliff_two_days ... ok [INFO] [stdout] test account::tests::voting_power_cliff_two_thirds_day ... ok [INFO] [stdout] test account::tests::voting_power_cliff_warmup ... ok [INFO] [stdout] test account::tests::voting_power_daily_eleven ... ok [INFO] [stdout] test account::tests::voting_power_daily_nine ... ok [INFO] [stdout] test account::tests::voting_power_daily_nine_dot_nine ... ok [INFO] [stdout] test account::tests::voting_power_daily_one ... ok [INFO] [stdout] test account::tests::voting_power_daily_one_and_one_third ... ok [INFO] [stdout] test account::tests::voting_power_daily_one_half ... ok [INFO] [stdout] test account::tests::voting_power_daily_start ... ok [INFO] [stdout] test account::tests::voting_power_daily_ten ... ok [INFO] [stdout] test account::tests::voting_power_daily_ten_dot_one ... ok [INFO] [stdout] test account::tests::voting_power_daily_two ... ok [INFO] [stdout] test account::tests::voting_power_daily_warmup ... ok [INFO] [stdout] test test_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests governance_registry [INFO] [stderr] error[E0659]: `governance_registry` is ambiguous [INFO] [stderr] --> /opt/rustwide/workdir/programs/governance-registry/src/lib.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | pub mod governance_registry { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple potential import sources [INFO] [stderr] = note: `governance_registry` could refer to a crate passed with `--extern` [INFO] [stderr] = help: use `::governance_registry` to refer to this crate unambiguously [INFO] [stderr] note: `governance_registry` could also refer to the module defined here [INFO] [stderr] --> /opt/rustwide/workdir/programs/governance-registry/src/lib.rs:62:1 [INFO] [stderr] | [INFO] [stderr] 62 | / pub mod governance_registry { [INFO] [stderr] 63 | | use super::*; [INFO] [stderr] 64 | | [INFO] [stderr] 65 | | /// Creates a new voting registrar. There can only be a single regsitrar [INFO] [stderr] ... | [INFO] [stderr] 385 | | } [INFO] [stderr] 386 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = help: use `crate::governance_registry` to refer to this module unambiguously [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0659`. [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type cdylib --crate-type lib --crate-name governance_registry --test /opt/rustwide/workdir/programs/governance-registry/src/lib.rs -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps -L native=/opt/rustwide/target/debug/build/blake3-7f3c784bf903c146/out --extern anchor_lang=/opt/rustwide/target/debug/deps/libanchor_lang-8bff762d4c891cc4.rlib --extern anchor_spl=/opt/rustwide/target/debug/deps/libanchor_spl-a473d8130e9f024a.rlib --extern governance_registry=/opt/rustwide/target/debug/deps/libgovernance_registry.rlib --extern spl_governance=/opt/rustwide/target/debug/deps/libspl_governance-98774a0c9f513aaf.rlib -C embed-bitcode=no --cfg 'feature="default"' --cap-lints=warn --error-format human` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "baa606dbdd3ffd2ba7e69931107041ded24cc36f4705af979150f6bba88b8030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baa606dbdd3ffd2ba7e69931107041ded24cc36f4705af979150f6bba88b8030", kill_on_drop: false }` [INFO] [stdout] baa606dbdd3ffd2ba7e69931107041ded24cc36f4705af979150f6bba88b8030