[INFO] cloning repository https://github.com/justanotherdot/criterion-iai [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justanotherdot/criterion-iai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustanotherdot%2Fcriterion-iai", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustanotherdot%2Fcriterion-iai'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01b2b98937fe7f4881f9d2e5b508a325e5a94c69 [INFO] checking justanotherdot/criterion-iai against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustanotherdot%2Fcriterion-iai" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/justanotherdot/criterion-iai on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/justanotherdot/criterion-iai [INFO] finished tweaking git repo https://github.com/justanotherdot/criterion-iai [INFO] tweaked toml for git repo https://github.com/justanotherdot/criterion-iai written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/justanotherdot/criterion-iai 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad6851f1d48e969dccede31e8126844bb3fdc2a4692dfbc448dce39f52ab13ad [INFO] running `Command { std: "docker" "start" "-a" "ad6851f1d48e969dccede31e8126844bb3fdc2a4692dfbc448dce39f52ab13ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad6851f1d48e969dccede31e8126844bb3fdc2a4692dfbc448dce39f52ab13ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad6851f1d48e969dccede31e8126844bb3fdc2a4692dfbc448dce39f52ab13ad", kill_on_drop: false }` [INFO] [stdout] ad6851f1d48e969dccede31e8126844bb3fdc2a4692dfbc448dce39f52ab13ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cd56a781dd130d70a3f9dc47d6848c7fc7104665c063d407d183fe4c187ce64 [INFO] running `Command { std: "docker" "start" "-a" "1cd56a781dd130d70a3f9dc47d6848c7fc7104665c063d407d183fe4c187ce64", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Checking criterion-iai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> benches/criterion_iai_benchmark.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | store_load(black_box(&mut XS), black_box(&YS)); [INFO] [stdout] | ^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 25 | store_load(black_box(addr_of_mut!(XS)), black_box(&YS)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> benches/criterion_iai_benchmark.rs:25:50 [INFO] [stdout] | [INFO] [stdout] 25 | store_load(black_box(&mut XS), black_box(&YS)); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 25 | store_load(black_box(&mut XS), black_box(addr_of!(YS))); [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> benches/criterion_iai_benchmark.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | assign(black_box(&mut XS), black_box(&YS)); [INFO] [stdout] | ^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 31 | assign(black_box(addr_of_mut!(XS)), black_box(&YS)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> benches/criterion_iai_benchmark.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | assign(black_box(&mut XS), black_box(&YS)); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 31 | assign(black_box(&mut XS), black_box(addr_of!(YS))); [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> benches/criterion_iai_first_mover_benchmark.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { &mut XS } [INFO] [stdout] | ^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { addr_of_mut!(XS) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> benches/criterion_iai_first_mover_benchmark.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe { &YS } [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 36 | unsafe { addr_of!(YS) } [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "1cd56a781dd130d70a3f9dc47d6848c7fc7104665c063d407d183fe4c187ce64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd56a781dd130d70a3f9dc47d6848c7fc7104665c063d407d183fe4c187ce64", kill_on_drop: false }` [INFO] [stdout] 1cd56a781dd130d70a3f9dc47d6848c7fc7104665c063d407d183fe4c187ce64