[INFO] fetching crate mmap-allocator 0.3.1...
[INFO] testing mmap-allocator-0.3.1 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate mmap-allocator 0.3.1 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate mmap-allocator 0.3.1
[INFO] finished tweaking crates.io crate mmap-allocator 0.3.1
[INFO] tweaked toml for crates.io crate mmap-allocator 0.3.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate mmap-allocator 0.3.1 on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] running `"cargo" "+1.101.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 1 package to highest compatible version
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 591b56c71c225bb30f63e55fc29e00d182a265e4015d001b263a2408565c2bc5
[INFO] running `"docker" "start" "591b56c71c225bb30f63e55fc29e00d182a265e4015d001b263a2408565c2bc5"`
[INFO] running `"docker" "inspect" "591b56c71c225bb30f63e55fc29e00d182a265e4015d001b263a2408565c2bc5"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "591b56c71c225bb30f63e55fc29e00d182a265e4015d001b263a2408565c2bc5" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "591b56c71c225bb30f63e55fc29e00d182a265e4015d001b263a2408565c2bc5"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "591b56c71c225bb30f63e55fc29e00d182a265e4015d001b263a2408565c2bc5" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling mmap-allocator v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `linux`
[INFO] [stdout]    --> src/mmap_allocator.rs:118:11
[INFO] [stdout]     |
[INFO] [stdout] 118 |     #[cfg(linux)]
[INFO] [stdout]     |           ^^^^^ help: found config with similar value: `target_os = "linux"`
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `docsrs`, `feature`, and `test` and 34 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(linux)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `linux`
[INFO] [stdout]    --> src/mmap_allocator.rs:145:11
[INFO] [stdout]     |
[INFO] [stdout] 145 |     #[cfg(linux)]
[INFO] [stdout]     |           ^^^^^ help: found config with similar value: `target_os = "linux"`
[INFO] [stdout]     |
[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(linux)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.18s
[INFO] running `"docker" "inspect" "591b56c71c225bb30f63e55fc29e00d182a265e4015d001b263a2408565c2bc5"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "591b56c71c225bb30f63e55fc29e00d182a265e4015d001b263a2408565c2bc5" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling mmap-allocator v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `linux`
[INFO] [stdout]    --> src/mmap_allocator.rs:118:11
[INFO] [stdout]     |
[INFO] [stdout] 118 |     #[cfg(linux)]
[INFO] [stdout]     |           ^^^^^ help: found config with similar value: `target_os = "linux"`
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `docsrs`, `feature`, and `test` and 34 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(linux)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `linux`
[INFO] [stdout]    --> src/mmap_allocator.rs:145:11
[INFO] [stdout]     |
[INFO] [stdout] 145 |     #[cfg(linux)]
[INFO] [stdout]     |           ^^^^^ help: found config with similar value: `target_os = "linux"`
[INFO] [stdout]     |
[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(linux)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `linux`
[INFO] [stdout]    --> src/mmap_allocator.rs:118:11
[INFO] [stdout]     |
[INFO] [stdout] 118 |     #[cfg(linux)]
[INFO] [stdout]     |           ^^^^^ help: found config with similar value: `target_os = "linux"`
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `docsrs`, `feature`, and `test` and 34 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(linux)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `linux`
[INFO] [stdout]    --> src/mmap_allocator.rs:145:11
[INFO] [stdout]     |
[INFO] [stdout] 145 |     #[cfg(linux)]
[INFO] [stdout]     |           ^^^^^ help: found config with similar value: `target_os = "linux"`
[INFO] [stdout]     |
[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(linux)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/mmap_allocator.rs:204:36
[INFO] [stdout]     |
[INFO] [stdout] 204 |             let size = std::usize::MAX - mem::size_of::<T>();
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/mmap_allocator.rs:297:40
[INFO] [stdout]     |
[INFO] [stdout] 297 |             let new_size = std::usize::MAX - mem::size_of::<T>();
[INFO] [stdout]     |                                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.38s
[INFO] running `"docker" "inspect" "591b56c71c225bb30f63e55fc29e00d182a265e4015d001b263a2408565c2bc5"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "591b56c71c225bb30f63e55fc29e00d182a265e4015d001b263a2408565c2bc5" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: unexpected `cfg` condition name: `linux`
[INFO] [stderr]    --> src/mmap_allocator.rs:118:11
[INFO] [stderr]     |
[INFO] [stderr] 118 |     #[cfg(linux)]
[INFO] [stderr]     |           ^^^^^ help: found config with similar value: `target_os = "linux"`
[INFO] [stderr]     |
[INFO] [stderr]     = help: expected names are: `docsrs`, `feature`, and `test` and 34 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(linux)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `linux`
[INFO] [stderr]    --> src/mmap_allocator.rs:145:11
[INFO] [stderr]     |
[INFO] [stderr] 145 |     #[cfg(linux)]
[INFO] [stderr]     |           ^^^^^ help: found config with similar value: `target_os = "linux"`
[INFO] [stderr]     |
[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(linux)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: `mmap-allocator` (lib) generated 2 warnings
[INFO] [stderr] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/mmap_allocator.rs:204:36
[INFO] [stderr]     |
[INFO] [stderr] 204 |             let size = std::usize::MAX - mem::size_of::<T>();
[INFO] [stderr]     |                                    ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/mmap_allocator.rs:297:40
[INFO] [stderr]     |
[INFO] [stderr] 297 |             let new_size = std::usize::MAX - mem::size_of::<T>();
[INFO] [stderr]     |                                        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `mmap-allocator` (lib test) generated 4 warnings (2 duplicates)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/mmap-allocator/c7a423f78a8cdba1/out/mmap_allocator-c7a423f78a8cdba1)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test mmap_allocator::tests::realloc_too_large ... ok
[INFO] [stdout] test mmap_allocator::tests::default ... ok
[INFO] [stdout] test mmap_allocator::tests::realloc ... ok
[INFO] [stdout] test mmap_allocator::tests::allocate ... ok
[INFO] [stdout] test mmap_allocator::tests::allocate_too_large ... FAILED
[INFO] [stdout] test mmap_allocator::tests::alloc_zeroed ... ok
[INFO] [stdout] test mmap_allocator::tests::allocate_zero_size ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- mmap_allocator::tests::allocate_too_large stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'mmap_allocator::tests::allocate_too_large' (142) panicked at src/mmap_allocator.rs:205:63:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: LayoutError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x6552bb4c53c1 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x6552bb4d971a - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stdout]    2:     0x6552bb4c980c - <alloc[f65cf102c2e86268]::vec::Vec<u8> as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x6552bb4a1fa6 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x6552bb4bd919 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stdout]    5:     0x6552bb45aa50 - test[2df5162924bba3e2]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x6552bb4bdad2 - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x6552bb4a2052 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x6552bb49a9b9 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x6552bb4a2c5d - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stdout]   10:     0x6552bb4da42c - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stdout]   11:     0x6552bb4de5c2 - core[5c14b8d5a259cc4e]::result::unwrap_failed::unwrap_failed_inner
[INFO] [stdout]   12:     0x6552bb44d0d6 - core[5c14b8d5a259cc4e]::result::unwrap_failed::<core[5c14b8d5a259cc4e]::alloc::layout::LayoutError>
[INFO] [stdout]   13:     0x6552bb44d52b - <mmap_allocator[3c1ae86f972e0dfa]::mmap_allocator::tests::allocate_too_large::{closure#0} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   14:     0x6552bb44d8bb - test[2df5162924bba3e2]::__rust_begin_short_backtrace::<core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>>
[INFO] [stdout]   15:     0x6552bb45b075 - test[2df5162924bba3e2]::run_test::{closure#0}
[INFO] [stdout]   16:     0x6552bb4544c4 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<test[2df5162924bba3e2]::run_test::{closure#1}, ()>
[INFO] [stdout]   17:     0x6552bb45e002 - <std[218a0f7bb9a8af32]::thread::lifecycle::spawn_unchecked<test[2df5162924bba3e2]::run_test::{closure#1}, ()>::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   18:     0x6552bb4c4c5f - <std[218a0f7bb9a8af32]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   19:     0x7cd410843dfa - <unknown>
[INFO] [stdout]   20:     0x7cd4108d73d4 - clone
[INFO] [stdout]   21:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     mmap_allocator::tests::allocate_too_large
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `"docker" "inspect" "591b56c71c225bb30f63e55fc29e00d182a265e4015d001b263a2408565c2bc5"`
[INFO] running `"docker" "rm" "-f" "591b56c71c225bb30f63e55fc29e00d182a265e4015d001b263a2408565c2bc5"`
[INFO] [stdout] 591b56c71c225bb30f63e55fc29e00d182a265e4015d001b263a2408565c2bc5
