[INFO] fetching crate wcal 0.2.0... [INFO] testing wcal-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate wcal 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate wcal 0.2.0 [INFO] finished tweaking crates.io crate wcal 0.2.0 [INFO] tweaked toml for crates.io crate wcal 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wcal 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wcal 0.2.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos v0.12.0 [INFO] [stderr] Downloaded utf8-ranges v1.0.4 [INFO] [stderr] Downloaded beef v0.5.0 [INFO] [stderr] Downloaded logos-derive v0.12.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.26 [INFO] [stderr] Downloaded syn v1.0.69 [INFO] [stderr] Downloaded regex-syntax v0.6.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0d82d260bfcf66bf9c74c83b75a3ef89adb74a3ae369957e1374eb02daab22c [INFO] running `Command { std: "docker" "start" "-a" "e0d82d260bfcf66bf9c74c83b75a3ef89adb74a3ae369957e1374eb02daab22c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0d82d260bfcf66bf9c74c83b75a3ef89adb74a3ae369957e1374eb02daab22c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d82d260bfcf66bf9c74c83b75a3ef89adb74a3ae369957e1374eb02daab22c", kill_on_drop: false }` [INFO] [stdout] e0d82d260bfcf66bf9c74c83b75a3ef89adb74a3ae369957e1374eb02daab22c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ec06d0b0efa0259a3d6a2b1929b9cde834584dd7d221ae4870be827b7f55547 [INFO] running `Command { std: "docker" "start" "-a" "0ec06d0b0efa0259a3d6a2b1929b9cde834584dd7d221ae4870be827b7f55547", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling beef v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling logos v0.12.0 [INFO] [stderr] Compiling wcal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lexer.rs:155:43 [INFO] [stdout] | [INFO] [stdout] 155 | let err: String = ERROR_MSG.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.29s [INFO] running `Command { std: "docker" "inspect" "0ec06d0b0efa0259a3d6a2b1929b9cde834584dd7d221ae4870be827b7f55547", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ec06d0b0efa0259a3d6a2b1929b9cde834584dd7d221ae4870be827b7f55547", kill_on_drop: false }` [INFO] [stdout] 0ec06d0b0efa0259a3d6a2b1929b9cde834584dd7d221ae4870be827b7f55547 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ec9429095c68e5c42ffb8ba689dd86d3621c83ce60e06189d32cec4786c89ff [INFO] running `Command { std: "docker" "start" "-a" "6ec9429095c68e5c42ffb8ba689dd86d3621c83ce60e06189d32cec4786c89ff", kill_on_drop: false }` [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lexer.rs:155:43 [INFO] [stdout] | [INFO] [stdout] 155 | let err: String = ERROR_MSG.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wcal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:43:58 [INFO] [stdout] | [INFO] [stdout] 43 | calculator($expr, parser::top_down_parser::parse); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 92 | let res: f64 = calculator!("1+2")?; [INFO] [stdout] | ------------------ in this macro invocation [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 #79813 [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this error originates in the macro `calculator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:46:67 [INFO] [stdout] | [INFO] [stdout] 46 | calculator::<$type>($expr, parser::top_down_parser::parse); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 95 | let res: f64 = calculator!("1+2", f64)?; [INFO] [stdout] | ----------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this error originates in the macro `calculator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lexer.rs:155:43 [INFO] [stdout] | [INFO] [stdout] 155 | let err: String = ERROR_MSG.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wcal` (lib test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6ec9429095c68e5c42ffb8ba689dd86d3621c83ce60e06189d32cec4786c89ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ec9429095c68e5c42ffb8ba689dd86d3621c83ce60e06189d32cec4786c89ff", kill_on_drop: false }` [INFO] [stdout] 6ec9429095c68e5c42ffb8ba689dd86d3621c83ce60e06189d32cec4786c89ff