[INFO] cloning repository https://github.com/aHeraud/bfc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aHeraud/bfc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FaHeraud%2Fbfc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FaHeraud%2Fbfc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7f835313581bb6f8dd1838d91b00a6010d1afc7 [INFO] checking aHeraud/bfc/a7f835313581bb6f8dd1838d91b00a6010d1afc7 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%2FaHeraud%2Fbfc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aHeraud/bfc 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/aHeraud/bfc [INFO] finished tweaking git repo https://github.com/aHeraud/bfc [INFO] tweaked toml for git repo https://github.com/aHeraud/bfc written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aHeraud/bfc 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 78f96a601e107dfb9d00b77e02e3b2aca5d5fa52a4cb6ffb210b361ee4d24f1a [INFO] running `Command { std: "docker" "start" "-a" "78f96a601e107dfb9d00b77e02e3b2aca5d5fa52a4cb6ffb210b361ee4d24f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78f96a601e107dfb9d00b77e02e3b2aca5d5fa52a4cb6ffb210b361ee4d24f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78f96a601e107dfb9d00b77e02e3b2aca5d5fa52a4cb6ffb210b361ee4d24f1a", kill_on_drop: false }` [INFO] [stdout] 78f96a601e107dfb9d00b77e02e3b2aca5d5fa52a4cb6ffb210b361ee4d24f1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] e51a9eb251caeaae52c790a8fa45927491fad87e1493c3145dc02aebb0239173 [INFO] running `Command { std: "docker" "start" "-a" "e51a9eb251caeaae52c790a8fa45927491fad87e1493c3145dc02aebb0239173", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde v1.0.85 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.2 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling target-lexicon v0.9.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.50.0 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling cranelift-entity v0.50.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.50.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Checking cranelift-bforest v0.50.0 [INFO] [stderr] Compiling block-padding v0.1.3 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Checking smallvec v1.0.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling block-buffer v0.7.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.1 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Compiling serde_derive v1.0.85 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling bit-set v0.5.0 [INFO] [stderr] Compiling ena v0.13.0 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Compiling thiserror-impl v1.0.5 [INFO] [stderr] Compiling scroll_derive v0.10.1 [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking scroll v0.10.1 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking thiserror v1.0.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking goblin v0.1.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.3.4 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling docopt v1.0.2 [INFO] [stderr] Compiling cranelift-codegen v0.50.0 [INFO] [stderr] Checking string-interner v0.7.1 [INFO] [stderr] Checking structopt v0.3.4 [INFO] [stderr] Compiling lalrpop v0.17.2 [INFO] [stderr] Checking faerie v0.12.0 [INFO] [stderr] Checking cranelift-frontend v0.50.0 [INFO] [stderr] Checking cranelift-module v0.50.0 [INFO] [stderr] Checking cranelift-faerie v0.50.0 [INFO] [stderr] Checking cranelift v0.50.0 [INFO] [stderr] Compiling bfc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/bfc-f4cfad50a4794f80/out/grammar.rs:838:5 [INFO] [stdout] | [INFO] [stdout] 838 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 838 - (__0) [INFO] [stdout] 838 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/bfc-f4cfad50a4794f80/out/grammar.rs:838:5 [INFO] [stdout] | [INFO] [stdout] 838 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 838 - (__0) [INFO] [stdout] 838 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> /opt/rustwide/target/debug/build/bfc-f4cfad50a4794f80/out/grammar.rs:1053:13 [INFO] [stdout] | [INFO] [stdout] 1053 | Err(error) => Err(__lalrpop_util::ParseError::User { error }), [INFO] [stdout] | ^^^^^^^^^^ matches no values because `LexerError` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `getchar` is never read [INFO] [stdout] --> src/codegen.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 115 | struct TranslationContext<'a, 'b> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | getchar: FuncRef [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/codegen.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(module: Module, target_triple: Triple, cell_type: ir::Type, cell_count: usize) -> CodegenContext { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let context = module.make_context(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | func_context: FunctionBuilderContext::new(), [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] warning: panic message is not a string literal [INFO] [stdout] --> src/codegen.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | _ => panic!(format!("Codegen for {:?} not implemented", self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 236 - _ => panic!(format!("Codegen for {:?} not implemented", self)) [INFO] [stdout] 236 + _ => panic!("Codegen for {:?} not implemented", self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bfc` (bin "bfc") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> /opt/rustwide/target/debug/build/bfc-f4cfad50a4794f80/out/grammar.rs:1053:13 [INFO] [stdout] | [INFO] [stdout] 1053 | Err(error) => Err(__lalrpop_util::ParseError::User { error }), [INFO] [stdout] | ^^^^^^^^^^ matches no values because `LexerError` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `getchar` is never read [INFO] [stdout] --> src/codegen.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 115 | struct TranslationContext<'a, 'b> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | getchar: FuncRef [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/codegen.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(module: Module, target_triple: Triple, cell_type: ir::Type, cell_count: usize) -> CodegenContext { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let context = module.make_context(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | func_context: FunctionBuilderContext::new(), [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] warning: panic message is not a string literal [INFO] [stdout] --> src/codegen.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | _ => panic!(format!("Codegen for {:?} not implemented", self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 236 - _ => panic!(format!("Codegen for {:?} not implemented", self)) [INFO] [stdout] 236 + _ => panic!("Codegen for {:?} not implemented", self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bfc` (bin "bfc" test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e51a9eb251caeaae52c790a8fa45927491fad87e1493c3145dc02aebb0239173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e51a9eb251caeaae52c790a8fa45927491fad87e1493c3145dc02aebb0239173", kill_on_drop: false }` [INFO] [stdout] e51a9eb251caeaae52c790a8fa45927491fad87e1493c3145dc02aebb0239173