[INFO] cloning repository https://github.com/acfoltzer/wasm-async-main [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/acfoltzer/wasm-async-main" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facfoltzer%2Fwasm-async-main", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facfoltzer%2Fwasm-async-main'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b99bd278e13fbb79c681bb8f9ea075308a3a1ac [INFO] checking acfoltzer/wasm-async-main against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facfoltzer%2Fwasm-async-main" "/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/acfoltzer/wasm-async-main on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/acfoltzer/wasm-async-main [INFO] finished tweaking git repo https://github.com/acfoltzer/wasm-async-main [INFO] tweaked toml for git repo https://github.com/acfoltzer/wasm-async-main written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/acfoltzer/wasm-async-main 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v0.2.0 [INFO] [stderr] Downloaded xfailure v0.1.0 [INFO] [stderr] Downloaded object v0.14.1 [INFO] [stderr] Downloaded lucet-module v0.4.1 [INFO] [stderr] Downloaded cranelift-entity v0.46.1 [INFO] [stderr] Downloaded lucet-runtime-internals v0.4.1 [INFO] [stderr] Downloaded rpassword v4.0.3 [INFO] [stderr] Downloaded human-size v0.4.0 [INFO] [stderr] Downloaded minisign v0.5.14 [INFO] [stderr] Downloaded parity-wasm v0.40.3 [INFO] [stderr] Downloaded goblin v0.0.24 [INFO] [stderr] Downloaded nix v0.13.1 [INFO] [stderr] Downloaded lucet-wasi v0.4.1 [INFO] [stderr] Downloaded lucet-runtime v0.4.1 [INFO] [stderr] Downloaded getrandom v0.1.3 [INFO] [stderr] Downloaded bytes v0.5.2 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53b2a508769d427e43c9a83a8ed4b5b75ab7c1b9da588d1044b71d6f39ab68db [INFO] running `Command { std: "docker" "start" "-a" "53b2a508769d427e43c9a83a8ed4b5b75ab7c1b9da588d1044b71d6f39ab68db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53b2a508769d427e43c9a83a8ed4b5b75ab7c1b9da588d1044b71d6f39ab68db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53b2a508769d427e43c9a83a8ed4b5b75ab7c1b9da588d1044b71d6f39ab68db", kill_on_drop: false }` [INFO] [stdout] 53b2a508769d427e43c9a83a8ed4b5b75ab7c1b9da588d1044b71d6f39ab68db [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2a98cd7d3922bf526605a2812836a793117830384d5d784017f38e5d85defd7 [INFO] running `Command { std: "docker" "start" "-a" "b2a98cd7d3922bf526605a2812836a793117830384d5d784017f38e5d85defd7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking parity-wasm v0.40.3 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking rpassword v4.0.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking getrandom v0.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking cranelift-entity v0.46.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Checking flate2 v1.0.12 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling raw-cpuid v6.1.0 [INFO] [stderr] Compiling lucet-runtime-internals v0.4.1 [INFO] [stderr] Compiling lucet-runtime v0.4.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking xfailure v0.1.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking scrypt v0.2.0 [INFO] [stderr] Compiling lucet-wasi v0.4.1 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Checking bytes v0.5.2 [INFO] [stderr] Checking human-size v0.4.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking minisign v0.5.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking shared-defs v0.1.0 (/opt/rustwide/workdir/shared-defs) [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking goblin v0.0.24 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Compiling tokio-macros v0.2.0 [INFO] [stderr] Checking tokio v0.2.4 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Compiling target-lexicon v0.8.1 [INFO] [stderr] Checking object v0.14.1 [INFO] [stderr] Checking lucet-module v0.4.1 [INFO] [stderr] Checking wasm-async-main v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/main.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | &*(&self.inst.heap()[val.as_u32() as usize] as *const _ [INFO] [stdout] | ^ --------------------------------------- backing allocation comes from here [INFO] [stdout] | _________________________| [INFO] [stdout] | | [INFO] [stdout] 82 | | as *const PollResult) [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `PollResult` (16 bytes) [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/main.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | &*(&self.inst.heap()[val.as_u32() as usize] as *const _ [INFO] [stdout] | ^ --------------------------------------- backing allocation comes from here [INFO] [stdout] | _________________________| [INFO] [stdout] | | [INFO] [stdout] 82 | | as *const PollResult) [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: casting from `u8` (1 bytes) to `PollResult` (16 bytes) [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-async-main` (bin "wasm-async-main") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wasm-async-main` (bin "wasm-async-main" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b2a98cd7d3922bf526605a2812836a793117830384d5d784017f38e5d85defd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2a98cd7d3922bf526605a2812836a793117830384d5d784017f38e5d85defd7", kill_on_drop: false }` [INFO] [stdout] b2a98cd7d3922bf526605a2812836a793117830384d5d784017f38e5d85defd7 [INFO] checking acfoltzer/wasm-async-main against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facfoltzer%2Fwasm-async-main" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/acfoltzer/wasm-async-main on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/acfoltzer/wasm-async-main [INFO] finished tweaking git repo https://github.com/acfoltzer/wasm-async-main [INFO] tweaked toml for git repo https://github.com/acfoltzer/wasm-async-main written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/acfoltzer/wasm-async-main 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a5ca1d26759edb072834de572ee6f0b522c1b02aec12ecae9c9f3a284eea35f [INFO] running `Command { std: "docker" "start" "-a" "7a5ca1d26759edb072834de572ee6f0b522c1b02aec12ecae9c9f3a284eea35f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a5ca1d26759edb072834de572ee6f0b522c1b02aec12ecae9c9f3a284eea35f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a5ca1d26759edb072834de572ee6f0b522c1b02aec12ecae9c9f3a284eea35f", kill_on_drop: false }` [INFO] [stdout] 7a5ca1d26759edb072834de572ee6f0b522c1b02aec12ecae9c9f3a284eea35f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8698b0cf35b8d27c9a1f0d74bf6ba9f8fd6a61baf7f0c5319ee764221380a056 [INFO] running `Command { std: "docker" "start" "-a" "8698b0cf35b8d27c9a1f0d74bf6ba9f8fd6a61baf7f0c5319ee764221380a056", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "8698b0cf35b8d27c9a1f0d74bf6ba9f8fd6a61baf7f0c5319ee764221380a056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8698b0cf35b8d27c9a1f0d74bf6ba9f8fd6a61baf7f0c5319ee764221380a056", kill_on_drop: false }` [INFO] [stdout] 8698b0cf35b8d27c9a1f0d74bf6ba9f8fd6a61baf7f0c5319ee764221380a056