[INFO] fetching crate gear-dlmalloc 0.2.0... [INFO] testing gear-dlmalloc-0.2.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate gear-dlmalloc 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate gear-dlmalloc 0.2.0 [INFO] finished tweaking crates.io crate gear-dlmalloc 0.2.0 [INFO] tweaked toml for crates.io crate gear-dlmalloc 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gear-dlmalloc 0.2.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gear-dlmalloc 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded str-buf v3.0.2 [INFO] [stderr] Downloaded page_size v0.6.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.17 [INFO] [stderr] Downloaded libc-print v0.1.22 [INFO] [stderr] Downloaded rustc-std-workspace-core v1.0.0 [INFO] [stderr] Downloaded compiler_builtins v0.1.103 [INFO] [stderr] Downloaded libc v0.2.150 [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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5c5f0c9baeda8a1a28e2cea7040d63525f6ef9eccd12fc6ac74ee096f7f8416 [INFO] running `Command { std: "docker" "start" "-a" "e5c5f0c9baeda8a1a28e2cea7040d63525f6ef9eccd12fc6ac74ee096f7f8416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5c5f0c9baeda8a1a28e2cea7040d63525f6ef9eccd12fc6ac74ee096f7f8416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5c5f0c9baeda8a1a28e2cea7040d63525f6ef9eccd12fc6ac74ee096f7f8416", kill_on_drop: false }` [INFO] [stdout] e5c5f0c9baeda8a1a28e2cea7040d63525f6ef9eccd12fc6ac74ee096f7f8416 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d38643a5071f61566719af123dd2e70893269f819b6867b7c46c2659d6957aed [INFO] running `Command { std: "docker" "start" "-a" "d38643a5071f61566719af123dd2e70893269f819b6867b7c46c2659d6957aed", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling gear-dlmalloc v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling str-buf v3.0.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling libc-print v0.1.22 [INFO] [stderr] Compiling page_size v0.6.0 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dlverbose.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | core::fmt::write(&mut OUT_BUFFER, args).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 45 | core::fmt::write(&raw mut OUT_BUFFER, args).unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/dlverbose.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | ext::debug(&OUT_BUFFER, OUT_BUFFER.len()); [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 46 | ext::debug(&raw const OUT_BUFFER, OUT_BUFFER.len()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/dlverbose.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | ext::debug(&OUT_BUFFER, OUT_BUFFER.len()); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dlverbose.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | OUT_BUFFER.set_len(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dlverbose.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | core::fmt::write(&mut OUT_BUFFER, args).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 56 | core::fmt::write(&raw mut OUT_BUFFER, args).unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/global.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | unsafe { &DLMALLOC } [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 51 | unsafe { &raw const DLMALLOC } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/global.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe { &mut DLMALLOC } [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 57 | unsafe { &raw mut DLMALLOC } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/linux.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { assert_eq!(libc::pthread_mutex_lock(&mut LOCK), 0) } [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { assert_eq!(libc::pthread_mutex_lock(&raw mut LOCK), 0) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/linux.rs:45:52 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { assert_eq!(libc::pthread_mutex_unlock(&mut LOCK), 0) } [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { assert_eq!(libc::pthread_mutex_unlock(&raw mut LOCK), 0) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "d38643a5071f61566719af123dd2e70893269f819b6867b7c46c2659d6957aed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d38643a5071f61566719af123dd2e70893269f819b6867b7c46c2659d6957aed", kill_on_drop: false }` [INFO] [stdout] d38643a5071f61566719af123dd2e70893269f819b6867b7c46c2659d6957aed [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c76e5e41437529569780aab8af6bae4574bc39ba9fde8b60f28796dfa8675376 [INFO] running `Command { std: "docker" "start" "-a" "c76e5e41437529569780aab8af6bae4574bc39ba9fde8b60f28796dfa8675376", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dlverbose.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | core::fmt::write(&mut OUT_BUFFER, args).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 45 | core::fmt::write(&raw mut OUT_BUFFER, args).unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/dlverbose.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | ext::debug(&OUT_BUFFER, OUT_BUFFER.len()); [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 46 | ext::debug(&raw const OUT_BUFFER, OUT_BUFFER.len()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/dlverbose.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | ext::debug(&OUT_BUFFER, OUT_BUFFER.len()); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dlverbose.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | OUT_BUFFER.set_len(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dlverbose.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | core::fmt::write(&mut OUT_BUFFER, args).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 56 | core::fmt::write(&raw mut OUT_BUFFER, args).unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/global.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | unsafe { &DLMALLOC } [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 51 | unsafe { &raw const DLMALLOC } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/global.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe { &mut DLMALLOC } [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 57 | unsafe { &raw mut DLMALLOC } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/linux.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { assert_eq!(libc::pthread_mutex_lock(&mut LOCK), 0) } [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { assert_eq!(libc::pthread_mutex_lock(&raw mut LOCK), 0) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/linux.rs:45:52 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { assert_eq!(libc::pthread_mutex_unlock(&mut LOCK), 0) } [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { assert_eq!(libc::pthread_mutex_unlock(&raw mut LOCK), 0) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling gear-dlmalloc v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> tests/global.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | format!("foo, bar, {}", "baz"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 26 | let _ = format!("foo, bar, {}", "baz"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_lots` [INFO] [stdout] --> tests/smoke.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | let max = if cfg!(test_lots) { 1_000_000 } else { 10_000 }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_lots)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_lots)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dlverbose.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | core::fmt::write(&mut OUT_BUFFER, args).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 45 | core::fmt::write(&raw mut OUT_BUFFER, args).unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/dlverbose.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | ext::debug(&OUT_BUFFER, OUT_BUFFER.len()); [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 46 | ext::debug(&raw const OUT_BUFFER, OUT_BUFFER.len()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/dlverbose.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | ext::debug(&OUT_BUFFER, OUT_BUFFER.len()); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dlverbose.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | OUT_BUFFER.set_len(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dlverbose.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | core::fmt::write(&mut OUT_BUFFER, args).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 56 | core::fmt::write(&raw mut OUT_BUFFER, args).unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/linux.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { assert_eq!(libc::pthread_mutex_lock(&mut LOCK), 0) } [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { assert_eq!(libc::pthread_mutex_lock(&raw mut LOCK), 0) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/linux.rs:45:52 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { assert_eq!(libc::pthread_mutex_unlock(&mut LOCK), 0) } [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { assert_eq!(libc::pthread_mutex_unlock(&raw mut LOCK), 0) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.84s [INFO] running `Command { std: "docker" "inspect" "c76e5e41437529569780aab8af6bae4574bc39ba9fde8b60f28796dfa8675376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c76e5e41437529569780aab8af6bae4574bc39ba9fde8b60f28796dfa8675376", kill_on_drop: false }` [INFO] [stdout] c76e5e41437529569780aab8af6bae4574bc39ba9fde8b60f28796dfa8675376 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2b6c49cb1f74aac9bbd4803c56f0de11df16687d34e90f70e8013a96c96cbc69 [INFO] running `Command { std: "docker" "start" "-a" "2b6c49cb1f74aac9bbd4803c56f0de11df16687d34e90f70e8013a96c96cbc69", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stdout] [INFO] [stderr] --> src/dlverbose.rs:45:26 [INFO] [stdout] running 2 tests [INFO] [stderr] | [INFO] [stdout] test dlmalloc::tests::treemap_alloc_overflow_minimal ... ok [INFO] [stderr] 45 | core::fmt::write(&mut OUT_BUFFER, args).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 45 | core::fmt::write(&raw mut OUT_BUFFER, args).unwrap(); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/dlverbose.rs:46:20 [INFO] [stderr] | [INFO] [stderr] 46 | ext::debug(&OUT_BUFFER, OUT_BUFFER.len()); [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 46 | ext::debug(&raw const OUT_BUFFER, OUT_BUFFER.len()); [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/dlverbose.rs:46:33 [INFO] [stderr] | [INFO] [stderr] 46 | ext::debug(&OUT_BUFFER, OUT_BUFFER.len()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/dlverbose.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | OUT_BUFFER.set_len(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/dlverbose.rs:56:26 [INFO] [stderr] | [INFO] [stderr] 56 | core::fmt::write(&mut OUT_BUFFER, args).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 56 | core::fmt::write(&raw mut OUT_BUFFER, args).unwrap(); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/global.rs:51:18 [INFO] [stderr] | [INFO] [stderr] 51 | unsafe { &DLMALLOC } [INFO] [stderr] | ^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 51 | unsafe { &raw const DLMALLOC } [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/global.rs:57:18 [INFO] [stderr] | [INFO] [stderr] 57 | unsafe { &mut DLMALLOC } [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 57 | unsafe { &raw mut DLMALLOC } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/linux.rs:40:50 [INFO] [stderr] | [INFO] [stderr] 40 | unsafe { assert_eq!(libc::pthread_mutex_lock(&mut LOCK), 0) } [INFO] [stderr] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 40 | unsafe { assert_eq!(libc::pthread_mutex_lock(&raw mut LOCK), 0) } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/linux.rs:45:52 [INFO] [stderr] | [INFO] [stderr] 45 | unsafe { assert_eq!(libc::pthread_mutex_unlock(&mut LOCK), 0) } [INFO] [stderr] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 45 | unsafe { assert_eq!(libc::pthread_mutex_unlock(&raw mut LOCK), 0) } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `gear-dlmalloc` (lib) generated 9 warnings [INFO] [stderr] warning: unused return value of `must_use` that must be used [INFO] [stderr] --> tests/global.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | format!("foo, bar, {}", "baz"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 26 | let _ = format!("foo, bar, {}", "baz"); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `test_lots` [INFO] [stderr] --> tests/smoke.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | let max = if cfg!(test_lots) { 1_000_000 } else { 10_000 }; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_lots)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_lots)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `gear-dlmalloc` (test "global") generated 1 warning [INFO] [stderr] warning: `gear-dlmalloc` (test "smoke") generated 1 warning [INFO] [stderr] warning: `gear-dlmalloc` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gear_dlmalloc-f7de8108329f039f) [INFO] [stdout] test dlmalloc::tests::treemap_alloc_max ... ok [INFO] [stderr] Running tests/global.rs (/opt/rustwide/target/debug/deps/global-0ae1ed13f2d57832) [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test foo ... ok [INFO] [stdout] test map ... ok [INFO] [stdout] test strings ... ok [INFO] [stderr] Running tests/smoke.rs (/opt/rustwide/target/debug/deps/smoke-5a52533d63042fc9) [INFO] [stdout] test threads ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test smoke ... ok [INFO] [stdout] test stress ... ok [INFO] [stdout] test many_stress has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "2b6c49cb1f74aac9bbd4803c56f0de11df16687d34e90f70e8013a96c96cbc69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b6c49cb1f74aac9bbd4803c56f0de11df16687d34e90f70e8013a96c96cbc69", kill_on_drop: false }` [INFO] [stdout] 2b6c49cb1f74aac9bbd4803c56f0de11df16687d34e90f70e8013a96c96cbc69