[INFO] fetching crate trallocator 0.2.2... [INFO] testing trallocator-0.2.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate trallocator 0.2.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate trallocator 0.2.2 [INFO] finished tweaking crates.io crate trallocator 0.2.2 [INFO] tweaked toml for crates.io crate trallocator 0.2.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trallocator 0.2.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] 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6f1ab8f1418c7fbee146255a99ff93385783e588dd9a6406f3adc700329d02b4 [INFO] running `Command { std: "docker" "start" "-a" "6f1ab8f1418c7fbee146255a99ff93385783e588dd9a6406f3adc700329d02b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f1ab8f1418c7fbee146255a99ff93385783e588dd9a6406f3adc700329d02b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f1ab8f1418c7fbee146255a99ff93385783e588dd9a6406f3adc700329d02b4", kill_on_drop: false }` [INFO] [stdout] 6f1ab8f1418c7fbee146255a99ff93385783e588dd9a6406f3adc700329d02b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1211da6835f7a2cd995469c4464c182aa609dac404aa1dba12bc110023b27d1e [INFO] running `Command { std: "docker" "start" "-a" "1211da6835f7a2cd995469c4464c182aa609dac404aa1dba12bc110023b27d1e", kill_on_drop: false }` [INFO] [stderr] Compiling trallocator v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] running `Command { std: "docker" "inspect" "1211da6835f7a2cd995469c4464c182aa609dac404aa1dba12bc110023b27d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1211da6835f7a2cd995469c4464c182aa609dac404aa1dba12bc110023b27d1e", kill_on_drop: false }` [INFO] [stdout] 1211da6835f7a2cd995469c4464c182aa609dac404aa1dba12bc110023b27d1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 0867c67be6b0b82d32cfb8a9f8b3c18aa1f3c11d70bb3bfc7d1353b168b38413 [INFO] running `Command { std: "docker" "start" "-a" "0867c67be6b0b82d32cfb8a9f8b3c18aa1f3c11d70bb3bfc7d1353b168b38413", kill_on_drop: false }` [INFO] [stderr] Compiling trallocator v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `alloc::vec::Vec` [INFO] [stdout] --> src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | use alloc::vec::Vec; [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 import: `std::alloc::System` [INFO] [stdout] --> src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | use std::alloc::System; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Trallocator` [INFO] [stdout] --> src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | use crate::Trallocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "0867c67be6b0b82d32cfb8a9f8b3c18aa1f3c11d70bb3bfc7d1353b168b38413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0867c67be6b0b82d32cfb8a9f8b3c18aa1f3c11d70bb3bfc7d1353b168b38413", kill_on_drop: false }` [INFO] [stdout] 0867c67be6b0b82d32cfb8a9f8b3c18aa1f3c11d70bb3bfc7d1353b168b38413 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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", kill_on_drop: false }` [INFO] [stdout] 3f786ec764da59fe46f9c082abd1b0d83dcef0ae2ec6db277e758cd2708f762c [INFO] running `Command { std: "docker" "start" "-a" "3f786ec764da59fe46f9c082abd1b0d83dcef0ae2ec6db277e758cd2708f762c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `alloc::vec::Vec` [INFO] [stderr] --> src/lib.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | use alloc::vec::Vec; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::alloc::System` [INFO] [stderr] --> src/lib.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 113 | use std::alloc::System; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::Trallocator` [INFO] [stderr] --> src/lib.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | use crate::Trallocator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `trallocator` (lib test) generated 3 warnings (run `cargo fix --lib -p trallocator --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trallocator-03cf2a211288ebee) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests trallocator [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 32) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Trallocator: Allocator` is not satisfied [INFO] [stdout] --> src/lib.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 16 | let mut vec: Vec = Vec::new_in(&tralloc); [INFO] [stdout] | ^^^ the trait `Allocator` is not implemented for `Trallocator` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Allocator`: [INFO] [stdout] &A [INFO] [stdout] System [INFO] [stdout] std::alloc::Global [INFO] [stdout] = note: required for `&Trallocator` to implement `Allocator` [INFO] [stdout] note: required by a bound in `Vec` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/vec/mod.rs:434:1 [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Trallocator: Allocator` is not satisfied [INFO] [stdout] --> src/lib.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 16 | let mut vec: Vec = Vec::new_in(&tralloc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Allocator` is not implemented for `Trallocator` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Allocator`: [INFO] [stdout] &A [INFO] [stdout] System [INFO] [stdout] std::alloc::Global [INFO] [stdout] = note: required for `&Trallocator` to implement `Allocator` [INFO] [stdout] note: required by a bound in `Vec` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/vec/mod.rs:434:1 [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `reserve_exact` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 17 | vec.reserve_exact(32); [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called on `Vec>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Trallocator { [INFO] [stdout] | ------------------------- doesn't satisfy `Trallocator: Allocator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Trallocator: Allocator` [INFO] [stdout] which is required by `&Trallocator: Allocator` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Trallocator: Allocator` is not satisfied [INFO] [stdout] --> src/lib.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 16 | let mut vec: Vec = Vec::new_in(&tralloc); [INFO] [stdout] | ^^^^^^^^^^ the trait `Allocator` is not implemented for `Trallocator` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Allocator`: [INFO] [stdout] &A [INFO] [stdout] System [INFO] [stdout] std::alloc::Global [INFO] [stdout] = note: required for `&Trallocator` to implement `Allocator` [INFO] [stdout] note: required by a bound in `Vec` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/vec/mod.rs:434:1 [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 32) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3f786ec764da59fe46f9c082abd1b0d83dcef0ae2ec6db277e758cd2708f762c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f786ec764da59fe46f9c082abd1b0d83dcef0ae2ec6db277e758cd2708f762c", kill_on_drop: false }` [INFO] [stdout] 3f786ec764da59fe46f9c082abd1b0d83dcef0ae2ec6db277e758cd2708f762c