[INFO] fetching crate cesium-libmimalloc-sys 2.1.2... [INFO] testing cesium-libmimalloc-sys-2.1.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cesium-libmimalloc-sys 2.1.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate cesium-libmimalloc-sys 2.1.2 [INFO] finished tweaking crates.io crate cesium-libmimalloc-sys 2.1.2 [INFO] tweaked toml for crates.io crate cesium-libmimalloc-sys 2.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cesium-libmimalloc-sys 2.1.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff00501ed8c6aa92503196d1608fed148e6fd59a38276d3f10cc7ce14b3fe797 [INFO] running `Command { std: "docker" "start" "-a" "ff00501ed8c6aa92503196d1608fed148e6fd59a38276d3f10cc7ce14b3fe797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff00501ed8c6aa92503196d1608fed148e6fd59a38276d3f10cc7ce14b3fe797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff00501ed8c6aa92503196d1608fed148e6fd59a38276d3f10cc7ce14b3fe797", kill_on_drop: false }` [INFO] [stdout] ff00501ed8c6aa92503196d1608fed148e6fd59a38276d3f10cc7ce14b3fe797 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca44bc382998657c977bd5cc1fdf4941c631f83768fcda1848feef9d7c434ce0 [INFO] running `Command { std: "docker" "start" "-a" "ca44bc382998657c977bd5cc1fdf4941c631f83768fcda1848feef9d7c434ce0", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling cesium-libmimalloc-sys v2.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `allocator` [INFO] [stdout] --> src/heap.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{allocator, mi_block_visit_fun}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MI_SMALL_SIZE_MAX` and `allocator` [INFO] [stdout] --> src/allocator.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{allocator, mi_deferred_free_fun, mi_error_fun, mi_output_fun, MI_SMALL_SIZE_MAX}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "ca44bc382998657c977bd5cc1fdf4941c631f83768fcda1848feef9d7c434ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca44bc382998657c977bd5cc1fdf4941c631f83768fcda1848feef9d7c434ce0", kill_on_drop: false }` [INFO] [stdout] ca44bc382998657c977bd5cc1fdf4941c631f83768fcda1848feef9d7c434ce0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbfe685e67f223ac8b911818efd8589413801f4adfb9ad33fd262888c2ed0acb [INFO] running `Command { std: "docker" "start" "-a" "bbfe685e67f223ac8b911818efd8589413801f4adfb9ad33fd262888c2ed0acb", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stdout] warning: unused import: `allocator` [INFO] [stdout] --> src/heap.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{allocator, mi_block_visit_fun}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cesium-libmimalloc-sys v2.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MI_SMALL_SIZE_MAX` and `allocator` [INFO] [stdout] --> src/allocator.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{allocator, mi_deferred_free_fun, mi_error_fun, mi_output_fun, MI_SMALL_SIZE_MAX}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mi_option_get` in this scope [INFO] [stdout] --> src/lib.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 116 | pub const _mi_option_last: mi_option_t = 26; [INFO] [stdout] | -------------------------------------------- similarly named constant `_mi_option_last` defined here [INFO] [stdout] ... [INFO] [stdout] 142 | assert_eq!(mi_option_get(mi_option_show_errors), 0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 142 - assert_eq!(mi_option_get(mi_option_show_errors), 0); [INFO] [stdout] 142 + assert_eq!(_mi_option_last(mi_option_show_errors), 0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 137 + use crate::options::mi_option_get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mi_option_set` in this scope [INFO] [stdout] --> src/lib.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 116 | pub const _mi_option_last: mi_option_t = 26; [INFO] [stdout] | -------------------------------------------- similarly named constant `_mi_option_last` defined here [INFO] [stdout] ... [INFO] [stdout] 143 | mi_option_set(mi_option_show_errors, 1); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 143 - mi_option_set(mi_option_show_errors, 1); [INFO] [stdout] 143 + _mi_option_last(mi_option_show_errors, 1); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 137 + use crate::options::mi_option_set; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mi_option_get` in this scope [INFO] [stdout] --> src/lib.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 116 | pub const _mi_option_last: mi_option_t = 26; [INFO] [stdout] | -------------------------------------------- similarly named constant `_mi_option_last` defined here [INFO] [stdout] ... [INFO] [stdout] 144 | assert_eq!(mi_option_get(mi_option_show_errors), 1); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 144 - assert_eq!(mi_option_get(mi_option_show_errors), 1); [INFO] [stdout] 144 + assert_eq!(_mi_option_last(mi_option_show_errors), 1); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 137 + use crate::options::mi_option_get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mi_option_get` in this scope [INFO] [stdout] --> src/lib.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 116 | pub const _mi_option_last: mi_option_t = 26; [INFO] [stdout] | -------------------------------------------- similarly named constant `_mi_option_last` defined here [INFO] [stdout] ... [INFO] [stdout] 146 | assert_eq!(mi_option_get(mi_option_show_stats), 0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 146 - assert_eq!(mi_option_get(mi_option_show_stats), 0); [INFO] [stdout] 146 + assert_eq!(_mi_option_last(mi_option_show_stats), 0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 137 + use crate::options::mi_option_get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mi_option_set` in this scope [INFO] [stdout] --> src/lib.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 116 | pub const _mi_option_last: mi_option_t = 26; [INFO] [stdout] | -------------------------------------------- similarly named constant `_mi_option_last` defined here [INFO] [stdout] ... [INFO] [stdout] 147 | mi_option_set(mi_option_show_stats, 1); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 147 - mi_option_set(mi_option_show_stats, 1); [INFO] [stdout] 147 + _mi_option_last(mi_option_show_stats, 1); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 137 + use crate::options::mi_option_set; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mi_option_get` in this scope [INFO] [stdout] --> src/lib.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 116 | pub const _mi_option_last: mi_option_t = 26; [INFO] [stdout] | -------------------------------------------- similarly named constant `_mi_option_last` defined here [INFO] [stdout] ... [INFO] [stdout] 148 | assert_eq!(mi_option_get(mi_option_show_stats), 1); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 148 - assert_eq!(mi_option_get(mi_option_show_stats), 1); [INFO] [stdout] 148 + assert_eq!(_mi_option_last(mi_option_show_stats), 1); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 137 + use crate::options::mi_option_get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mi_option_get` in this scope [INFO] [stdout] --> src/lib.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 116 | pub const _mi_option_last: mi_option_t = 26; [INFO] [stdout] | -------------------------------------------- similarly named constant `_mi_option_last` defined here [INFO] [stdout] ... [INFO] [stdout] 150 | assert_eq!(mi_option_get(mi_option_verbose), 0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 150 - assert_eq!(mi_option_get(mi_option_verbose), 0); [INFO] [stdout] 150 + assert_eq!(_mi_option_last(mi_option_verbose), 0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 137 + use crate::options::mi_option_get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mi_option_set` in this scope [INFO] [stdout] --> src/lib.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 116 | pub const _mi_option_last: mi_option_t = 26; [INFO] [stdout] | -------------------------------------------- similarly named constant `_mi_option_last` defined here [INFO] [stdout] ... [INFO] [stdout] 151 | mi_option_set(mi_option_verbose, 1); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 151 - mi_option_set(mi_option_verbose, 1); [INFO] [stdout] 151 + _mi_option_last(mi_option_verbose, 1); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 137 + use crate::options::mi_option_set; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mi_option_get` in this scope [INFO] [stdout] --> src/lib.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 116 | pub const _mi_option_last: mi_option_t = 26; [INFO] [stdout] | -------------------------------------------- similarly named constant `_mi_option_last` defined here [INFO] [stdout] ... [INFO] [stdout] 152 | assert_eq!(mi_option_get(mi_option_verbose), 1); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 152 - assert_eq!(mi_option_get(mi_option_verbose), 1); [INFO] [stdout] 152 + assert_eq!(_mi_option_last(mi_option_verbose), 1); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 137 + use crate::options::mi_option_get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `allocator` [INFO] [stdout] --> src/heap.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{allocator, mi_block_visit_fun}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MI_SMALL_SIZE_MAX` and `allocator` [INFO] [stdout] --> src/allocator.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{allocator, mi_deferred_free_fun, mi_error_fun, mi_output_fun, MI_SMALL_SIZE_MAX}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cesium-libmimalloc-sys` (lib test) due to 9 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bbfe685e67f223ac8b911818efd8589413801f4adfb9ad33fd262888c2ed0acb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbfe685e67f223ac8b911818efd8589413801f4adfb9ad33fd262888c2ed0acb", kill_on_drop: false }` [INFO] [stdout] bbfe685e67f223ac8b911818efd8589413801f4adfb9ad33fd262888c2ed0acb