[INFO] fetching crate trident-syscall-stubs-v2 0.0.2-rc.1... [INFO] testing trident-syscall-stubs-v2-0.0.2-rc.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate trident-syscall-stubs-v2 0.0.2-rc.1 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate trident-syscall-stubs-v2 0.0.2-rc.1 [INFO] finished tweaking crates.io crate trident-syscall-stubs-v2 0.0.2-rc.1 [INFO] tweaked toml for crates.io crate trident-syscall-stubs-v2 0.0.2-rc.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trident-syscall-stubs-v2 0.0.2-rc.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate trident-syscall-stubs-v2 0.0.2-rc.1 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8375a9245e265665a70f704bc7d34c57fe68cb169062c4f6c8d29e7e944d0f4d [INFO] running `Command { std: "docker" "start" "-a" "8375a9245e265665a70f704bc7d34c57fe68cb169062c4f6c8d29e7e944d0f4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8375a9245e265665a70f704bc7d34c57fe68cb169062c4f6c8d29e7e944d0f4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8375a9245e265665a70f704bc7d34c57fe68cb169062c4f6c8d29e7e944d0f4d", kill_on_drop: false }` [INFO] [stdout] 8375a9245e265665a70f704bc7d34c57fe68cb169062c4f6c8d29e7e944d0f4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4de52823d4ac2e9e9aa832f6b871349e067b4a81567620dc8a472c2d54a9afef [INFO] running `Command { std: "docker" "start" "-a" "4de52823d4ac2e9e9aa832f6b871349e067b4a81567620dc8a472c2d54a9afef", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling once_cell v1.21.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling borsh v1.5.5 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling solana-sanitize v2.2.1 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling solana-decode-error v2.2.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling five8_core v0.1.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling five8_const v0.1.3 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling solana-sdk-macro v2.2.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling solana-msg v2.2.1 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling solana-program-memory v2.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling blake3 v1.6.1 [INFO] [stderr] Compiling serde-big-array v0.5.1 [INFO] [stderr] Compiling solana-fee-calculator v2.2.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling borsh-derive v1.5.5 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling solana-signature v2.2.1 [INFO] [stderr] Compiling solana-short-vec v2.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling solana-precompile-error v2.2.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling solana-derivation-path v2.2.1 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling solana-seed-derivable v2.2.1 [INFO] [stderr] Compiling solana-hash v2.2.1 [INFO] [stderr] Compiling solana-sha256-hasher v2.2.1 [INFO] [stderr] Compiling solana-seed-phrase v2.2.1 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling solana-pubkey v2.2.1 [INFO] [stderr] Compiling solana-instruction v2.2.1 [INFO] [stderr] Compiling solana-sdk-ids v2.2.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling solana-sysvar-id v2.2.1 [INFO] [stderr] Compiling solana-epoch-schedule v2.2.1 [INFO] [stderr] Compiling solana-clock v2.2.1 [INFO] [stderr] Compiling solana-system-interface v1.0.0 [INFO] [stderr] Compiling solana-transaction-error v2.2.1 [INFO] [stderr] Compiling solana-program-error v2.2.1 [INFO] [stderr] Compiling solana-account-info v2.2.1 [INFO] [stderr] Compiling solana-serialize-utils v2.2.1 [INFO] [stderr] Compiling solana-slot-hashes v2.2.1 [INFO] [stderr] Compiling solana-cpi v2.2.1 [INFO] [stderr] Compiling solana-program-entrypoint v2.2.1 [INFO] [stderr] Compiling solana-rent v2.2.1 [INFO] [stderr] Compiling solana-stake-interface v1.2.1 [INFO] [stderr] Compiling solana-instructions-sysvar v2.2.1 [INFO] [stderr] Compiling solana-bincode v2.2.1 [INFO] [stderr] Compiling solana-epoch-rewards v2.2.1 [INFO] [stderr] Compiling solana-last-restart-slot v2.2.1 [INFO] [stderr] Compiling solana-slot-history v2.2.1 [INFO] [stderr] Compiling solana-message v2.2.1 [INFO] [stderr] Compiling solana-signer v2.2.1 [INFO] [stderr] Compiling solana-feature-set v2.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling solana-native-token v2.2.1 [INFO] [stderr] Compiling solana-sysvar v2.2.1 [INFO] [stderr] Compiling solana-account v2.2.1 [INFO] [stderr] Compiling solana-ed25519-program v2.2.1 [INFO] [stderr] Compiling solana-secp256r1-program v2.2.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling solana-keypair v2.2.1 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling solana-secp256k1-program v2.2.1 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling solana-precompiles v2.2.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling solana-reserved-account-keys v2.2.1 [INFO] [stderr] Compiling solana-nonce v2.2.1 [INFO] [stderr] Compiling solana-hard-forks v2.2.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling solana-shred-version v2.2.1 [INFO] [stderr] Compiling solana-transaction v2.2.1 [INFO] [stderr] Compiling solana-fee-structure v2.2.1 [INFO] [stderr] Compiling solana-address-lookup-table-interface v2.2.2 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling solana-stable-layout v2.2.1 [INFO] [stderr] Compiling solana-cluster-type v2.2.1 [INFO] [stderr] Compiling solana-keccak-hasher v2.2.1 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling solana-poh-config v2.2.1 [INFO] [stderr] Compiling solana-serde-varint v2.2.1 [INFO] [stderr] Compiling solana-inflation v2.2.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling cfg_eval v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling solana-time-utils v2.2.1 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling solana-packet v2.2.1 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling solana-vote-interface v2.2.2 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling solana-example-mocks v2.2.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling solana-secp256k1-recover v2.2.1 [INFO] [stderr] Compiling solana-transaction-context v2.2.1 [INFO] [stderr] Compiling solana-logger v2.3.1 [INFO] [stderr] Compiling solana-genesis-config v2.2.1 [INFO] [stderr] Compiling solana-feature-gate-interface v2.2.1 [INFO] [stderr] Compiling solana-loader-v3-interface v3.0.0 [INFO] [stderr] Compiling solana-loader-v4-interface v2.2.1 [INFO] [stderr] Compiling solana-program-pack v2.2.1 [INFO] [stderr] Compiling solana-loader-v2-interface v2.2.1 [INFO] [stderr] Compiling solana-borsh v2.2.1 [INFO] [stderr] Compiling solana-blake3-hasher v2.2.1 [INFO] [stderr] Compiling solana-big-mod-exp v2.2.1 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling solana-commitment-config v2.2.1 [INFO] [stderr] Compiling solana-epoch-info v2.2.1 [INFO] [stderr] Compiling solana-reward-info v2.2.1 [INFO] [stderr] Compiling eager v0.1.0 [INFO] [stderr] Compiling solana-program-option v2.2.1 [INFO] [stderr] Compiling solana-define-syscall v2.2.1 [INFO] [stderr] Compiling solana-rent-debits v2.2.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling solana-timings v2.2.2 [INFO] [stderr] Compiling solana-client-traits v2.2.1 [INFO] [stderr] Compiling solana-epoch-rewards-hasher v2.2.1 [INFO] [stderr] Compiling solana-rent-collector v2.2.1 [INFO] [stderr] Compiling percentage v0.1.0 [INFO] [stderr] Compiling solana-offchain-message v2.2.1 [INFO] [stderr] Compiling solana-system-transaction v2.2.1 [INFO] [stderr] Compiling solana-compute-budget v2.2.2 [INFO] [stderr] Compiling solana-nonce-account v2.2.1 [INFO] [stderr] Compiling solana-program v2.2.1 [INFO] [stderr] Compiling solana-quic-definitions v2.2.1 [INFO] [stderr] Compiling solana-presigner v2.2.1 [INFO] [stderr] Compiling solana-compute-budget-interface v2.2.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling solana-type-overrides v2.2.2 [INFO] [stderr] Compiling solana-log-collector v2.2.2 [INFO] [stderr] Compiling solana-serde v2.2.1 [INFO] [stderr] Compiling solana-measure v2.2.2 [INFO] [stderr] Compiling solana-validator-exit v2.2.1 [INFO] [stderr] Compiling solana-sbpf v0.10.0 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling solana-program-runtime v2.2.2 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling solana-bn254 v2.2.1 [INFO] [stderr] Compiling solana-sdk v2.2.1 [INFO] [stderr] Compiling trident-syscall-stubs-v2 v0.0.2-rc.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/invoke_context.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { transmute::(ptr) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] = note: `#[warn(integer_to_ptr_transmutes)]` on by default [INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance [INFO] [stdout] | [INFO] [stdout] 21 - unsafe { transmute::(ptr) } [INFO] [stdout] 21 + unsafe { &mut *std::ptr::with_exposed_provenance_mut::>(ptr) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 54s [INFO] running `Command { std: "docker" "inspect" "4de52823d4ac2e9e9aa832f6b871349e067b4a81567620dc8a472c2d54a9afef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4de52823d4ac2e9e9aa832f6b871349e067b4a81567620dc8a472c2d54a9afef", kill_on_drop: false }` [INFO] [stdout] 4de52823d4ac2e9e9aa832f6b871349e067b4a81567620dc8a472c2d54a9afef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b3bff5081a4b8485321523020e4b65ea4dea537dd9be3509df846926c179e4e [INFO] running `Command { std: "docker" "start" "-a" "2b3bff5081a4b8485321523020e4b65ea4dea537dd9be3509df846926c179e4e", kill_on_drop: false }` [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/invoke_context.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { transmute::(ptr) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] = note: `#[warn(integer_to_ptr_transmutes)]` on by default [INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance [INFO] [stdout] | [INFO] [stdout] 21 - unsafe { transmute::(ptr) } [INFO] [stdout] 21 + unsafe { &mut *std::ptr::with_exposed_provenance_mut::>(ptr) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling trident-syscall-stubs-v2 v0.0.2-rc.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/invoke_context.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { transmute::(ptr) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] = note: `#[warn(integer_to_ptr_transmutes)]` on by default [INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance [INFO] [stdout] | [INFO] [stdout] 21 - unsafe { transmute::(ptr) } [INFO] [stdout] 21 + unsafe { &mut *std::ptr::with_exposed_provenance_mut::>(ptr) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "2b3bff5081a4b8485321523020e4b65ea4dea537dd9be3509df846926c179e4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b3bff5081a4b8485321523020e4b65ea4dea537dd9be3509df846926c179e4e", kill_on_drop: false }` [INFO] [stdout] 2b3bff5081a4b8485321523020e4b65ea4dea537dd9be3509df846926c179e4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 056fd6fb92fab7119e2df0125783c4e51f48fbabd81a0092d0364595e86bcfed [INFO] running `Command { std: "docker" "start" "-a" "056fd6fb92fab7119e2df0125783c4e51f48fbabd81a0092d0364595e86bcfed", kill_on_drop: false }` [INFO] [stderr] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stderr] --> src/invoke_context.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | unsafe { transmute::(ptr) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stderr] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stderr] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stderr] = help: for more information about transmute, see [INFO] [stderr] = help: for more information about exposed provenance, see [INFO] [stderr] = note: `#[warn(integer_to_ptr_transmutes)]` on by default [INFO] [stderr] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance [INFO] [stderr] | [INFO] [stderr] 21 - unsafe { transmute::(ptr) } [INFO] [stderr] 21 + unsafe { &mut *std::ptr::with_exposed_provenance_mut::>(ptr) } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `trident-syscall-stubs-v2` (lib) generated 1 warning (run `cargo fix --lib -p trident-syscall-stubs-v2` to apply 1 suggestion) [INFO] [stderr] warning: `trident-syscall-stubs-v2` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trident_syscall_stubs_v2-807f5d985b27feac) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests trident_syscall_stubs_v2 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "056fd6fb92fab7119e2df0125783c4e51f48fbabd81a0092d0364595e86bcfed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "056fd6fb92fab7119e2df0125783c4e51f48fbabd81a0092d0364595e86bcfed", kill_on_drop: false }` [INFO] [stdout] 056fd6fb92fab7119e2df0125783c4e51f48fbabd81a0092d0364595e86bcfed