[INFO] cloning repository https://github.com/chimera-kube/chimera-policy-testdrive [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chimera-kube/chimera-policy-testdrive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchimera-kube%2Fchimera-policy-testdrive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchimera-kube%2Fchimera-policy-testdrive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c562bb7be9dfd600f2b54b863107272b5d5c002 [INFO] checking chimera-kube/chimera-policy-testdrive/2c562bb7be9dfd600f2b54b863107272b5d5c002 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchimera-kube%2Fchimera-policy-testdrive" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chimera-kube/chimera-policy-testdrive on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chimera-kube/chimera-policy-testdrive [INFO] finished tweaking git repo https://github.com/chimera-kube/chimera-policy-testdrive [INFO] tweaked toml for git repo https://github.com/chimera-kube/chimera-policy-testdrive written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chimera-kube/chimera-policy-testdrive 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02bd78d6cfdb896112c23ec6b42cb0efe33dd10faa28b26aa1dfe7baea095d56 [INFO] running `Command { std: "docker" "start" "-a" "02bd78d6cfdb896112c23ec6b42cb0efe33dd10faa28b26aa1dfe7baea095d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02bd78d6cfdb896112c23ec6b42cb0efe33dd10faa28b26aa1dfe7baea095d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02bd78d6cfdb896112c23ec6b42cb0efe33dd10faa28b26aa1dfe7baea095d56", kill_on_drop: false }` [INFO] [stdout] 02bd78d6cfdb896112c23ec6b42cb0efe33dd10faa28b26aa1dfe7baea095d56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9de7c9a2cec96ffc70b3317790874a59281f765a1b5e2a8cbfe8272c920d08d9 [INFO] running `Command { std: "docker" "start" "-a" "9de7c9a2cec96ffc70b3317790874a59281f765a1b5e2a8cbfe8272c920d08d9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cranelift-codegen-shared v0.66.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Checking regalloc v0.0.27 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling zstd-safe v2.0.6+zstd.1.4.7 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Checking wasmparser v0.59.0 [INFO] [stderr] Compiling wasmtime-environ v0.19.0 [INFO] [stderr] Compiling wast v22.0.0 [INFO] [stderr] Compiling zstd-sys v1.4.18+zstd.1.4.7 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking more-asserts v0.2.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling raw-cpuid v7.0.4 [INFO] [stderr] Compiling wasmtime-runtime v0.19.0 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking wasmparser v0.57.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking file-per-thread-logger v0.1.4 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking wast v32.0.0 [INFO] [stderr] Compiling wasi-common v0.19.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking yanix v0.19.0 [INFO] [stderr] Compiling wasmtime-wasi v0.19.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Compiling witx v0.8.8 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Checking wat v1.0.33 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Compiling wiggle-generate v0.19.0 [INFO] [stderr] Compiling wig v0.19.0 [INFO] [stderr] Compiling wiggle-macro v0.19.0 [INFO] [stderr] Checking wiggle v0.19.0 [INFO] [stderr] Compiling wasmtime-wiggle-macro v0.19.1 [INFO] [stderr] Compiling cranelift-entity v0.66.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.66.0 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking cranelift-bforest v0.66.0 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking wapc v0.10.1 [INFO] [stderr] Compiling cranelift-codegen v0.66.0 [INFO] [stderr] Checking zstd v0.5.4+zstd.1.4.7 [INFO] [stderr] Checking cranelift-frontend v0.66.0 [INFO] [stderr] Checking cranelift-native v0.66.0 [INFO] [stderr] Checking cranelift-wasm v0.66.0 [INFO] [stderr] Checking wasmtime-debug v0.19.0 [INFO] [stderr] Checking wasmtime-profiling v0.19.0 [INFO] [stderr] Checking wasmtime-obj v0.19.0 [INFO] [stderr] Checking wasmtime-jit v0.19.0 [INFO] [stderr] Checking wasmtime v0.19.0 [INFO] [stderr] Checking wasmtime-wiggle v0.19.0 [INFO] [stderr] Checking wasmtime-provider v0.0.2 [INFO] [stderr] Checking chimera-policy-testdrive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/policy_evaluator.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 37 | let mut f = File::open(&wasm_file)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let engine = WasmtimeEngineProvider::new(&buf, None); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let host = WapcHost::new(Box::new(engine), host_callback)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | [INFO] [stdout] 44 | Ok(PolicyEvaluator { [INFO] [stdout] | ____________^ [INFO] [stdout] 45 | | wapc_host: host, [INFO] [stdout] 46 | | settings: settings, [INFO] [stdout] 47 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/policy_evaluator.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 57 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | match self.wapc_host.call("validate", validate_str.as_bytes()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/policy_evaluator.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 37 | let mut f = File::open(&wasm_file)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let engine = WasmtimeEngineProvider::new(&buf, None); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let host = WapcHost::new(Box::new(engine), host_callback)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | [INFO] [stdout] 44 | Ok(PolicyEvaluator { [INFO] [stdout] | ____________^ [INFO] [stdout] 45 | | wapc_host: host, [INFO] [stdout] 46 | | settings: settings, [INFO] [stdout] 47 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/policy_evaluator.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 57 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | match self.wapc_host.call("validate", validate_str.as_bytes()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chimera-policy-testdrive` (bin "chimera-policy-testdrive" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chimera-policy-testdrive` (bin "chimera-policy-testdrive") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "9de7c9a2cec96ffc70b3317790874a59281f765a1b5e2a8cbfe8272c920d08d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9de7c9a2cec96ffc70b3317790874a59281f765a1b5e2a8cbfe8272c920d08d9", kill_on_drop: false }` [INFO] [stdout] 9de7c9a2cec96ffc70b3317790874a59281f765a1b5e2a8cbfe8272c920d08d9