[INFO] fetching crate static_assert_generic 0.1.0...
[INFO] testing static_assert_generic-0.1.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate static_assert_generic 0.1.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate static_assert_generic 0.1.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate static_assert_generic 0.1.0
[INFO] finished tweaking crates.io crate static_assert_generic 0.1.0
[INFO] tweaked toml for crates.io crate static_assert_generic 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 5 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c53595edda698b9c3a553efce06ed89fc6a36f907719642a7eae86859a674701
[INFO] running `Command { std: "docker" "start" "-a" "c53595edda698b9c3a553efce06ed89fc6a36f907719642a7eae86859a674701", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c53595edda698b9c3a553efce06ed89fc6a36f907719642a7eae86859a674701", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c53595edda698b9c3a553efce06ed89fc6a36f907719642a7eae86859a674701", kill_on_drop: false }`
[INFO] [stdout] c53595edda698b9c3a553efce06ed89fc6a36f907719642a7eae86859a674701
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48d66c01115a64aceab7e51ca4d852e2f215375e62098637bfda6a6266cdcfb1
[INFO] running `Command { std: "docker" "start" "-a" "48d66c01115a64aceab7e51ca4d852e2f215375e62098637bfda6a6266cdcfb1", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling static_assert_generic v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.84s
[INFO] running `Command { std: "docker" "inspect" "48d66c01115a64aceab7e51ca4d852e2f215375e62098637bfda6a6266cdcfb1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48d66c01115a64aceab7e51ca4d852e2f215375e62098637bfda6a6266cdcfb1", kill_on_drop: false }`
[INFO] [stdout] 48d66c01115a64aceab7e51ca4d852e2f215375e62098637bfda6a6266cdcfb1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d779d83ce6b8e78dbfde4811a077495f68683e68ca614c7fb06eaa411fec31fc
[INFO] running `Command { std: "docker" "start" "-a" "d779d83ce6b8e78dbfde4811a077495f68683e68ca614c7fb06eaa411fec31fc", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling static_assert_generic v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.51s
[INFO] running `Command { std: "docker" "inspect" "d779d83ce6b8e78dbfde4811a077495f68683e68ca614c7fb06eaa411fec31fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d779d83ce6b8e78dbfde4811a077495f68683e68ca614c7fb06eaa411fec31fc", kill_on_drop: false }`
[INFO] [stdout] d779d83ce6b8e78dbfde4811a077495f68683e68ca614c7fb06eaa411fec31fc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 21c36a48f9c66d4f0f89b23df653af1dcba15b97f326f5f92b3070a0a309e200
[INFO] running `Command { std: "docker" "start" "-a" "21c36a48f9c66d4f0f89b23df653af1dcba15b97f326f5f92b3070a0a309e200", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/static_assert_generic-3577a866d3f365c7)
[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]      Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-4026daaf450551d9)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests static_assert_generic
[INFO] [stdout] 
[INFO] [stdout] running 16 tests
[INFO] [stdout] test src/lib.rs - explicitly_drop (line 206) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 30) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 76) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 92) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 18) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 67) ... FAILED
[INFO] [stdout] test src/lib.rs - explicitly_drop (line 274) ... FAILED
[INFO] [stdout] test src/lib.rs - explicitly_drop (line 233) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 46) ... FAILED
[INFO] [stdout] test src/lib.rs - explicitly_drop (line 251) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 84) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 39) ... FAILED
[INFO] [stdout] test src/lib.rs - explicitly_drop (line 293) ... FAILED
[INFO] [stdout] test src/lib.rs - explicitly_drop (line 241) ... FAILED
[INFO] [stdout] test src/lib.rs - explicitly_drop (line 317) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 56) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - explicitly_drop (line 206) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]  --> src/lib.rs:208:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Allocator {
[INFO] [stdout]   |        --------- while parsing this struct
[INFO] [stdout] 4 |     ...
[INFO] [stdout]   |     ^^^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 30) stdout ----
[INFO] [stdout] error: cannot find macro `static_assert` in this scope
[INFO] [stdout]  --> src/lib.rs:31:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | static_assert!(() 45 * 25 < 3 => "This is the error message!");
[INFO] [stdout]   | ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use static_assert_generic::static_assert;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 76) stdout ----
[INFO] [stdout] error: cannot find macro `static_assert` in this scope
[INFO] [stdout]  --> src/lib.rs:78:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     static_assert!((T) std::mem::size_of::<T>() == 4 => "T must be 4 bytes long!");
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use static_assert_generic::static_assert;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 92) stdout ----
[INFO] [stdout] error: cannot find macro `static_assert` in this scope
[INFO] [stdout]  --> src/lib.rs:95:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     static_assert!((N: usize, T) N == std::mem::size_of::<T>() / 2 => "N must be half the size of T!");
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use static_assert_generic::static_assert;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `static_assert` in this scope
[INFO] [stdout]  --> src/lib.rs:94:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     static_assert!((N: usize, M: usize) N > M => "N must be greater than M!");
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use static_assert_generic::static_assert;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 18) stdout ----
[INFO] [stdout] error: cannot find macro `static_assert` in this scope
[INFO] [stdout]  --> src/lib.rs:21:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | static_assert!(() 45 * 25 < 3); // False statement, does not compile:
[INFO] [stdout]   | ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use static_assert_generic::static_assert;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `static_assert` in this scope
[INFO] [stdout]  --> src/lib.rs:19:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | static_assert!(() 1 + 2 < 17); // True statement, compiles.
[INFO] [stdout]   | ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use static_assert_generic::static_assert;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 67) stdout ----
[INFO] [stdout] error: cannot find macro `static_assert` in this scope
[INFO] [stdout]  --> src/lib.rs:69:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     static_assert!(() N != 0 => "N must be a non-zero value!");
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use static_assert_generic::static_assert;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - explicitly_drop (line 274) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Allocator` in this scope
[INFO] [stdout]  --> src/lib.rs:275:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn foo(allocator: Allocator) {
[INFO] [stdout]   |                   ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::alloc::Allocator;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::alloc::Allocator;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Allocation` in this scope
[INFO] [stdout]  --> src/lib.rs:276:21
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let allocation: Allocation::<Whatever> = allocator.alloc();
[INFO] [stdout]   |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Whatever` in this scope
[INFO] [stdout]  --> src/lib.rs:276:34
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let allocation: Allocation::<Whatever> = allocator.alloc();
[INFO] [stdout]   |                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn foo<Whatever>(allocator: Allocator) {
[INFO] [stdout]   |       ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `my_allocator` in this scope
[INFO] [stdout]  --> src/lib.rs:281:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | foo(my_allocator);
[INFO] [stdout]   |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - explicitly_drop (line 233) stdout ----
[INFO] [stdout] error: cannot find macro `explicitly_drop` in this scope
[INFO] [stdout]  --> src/lib.rs:235:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     explicitly_drop!(T => "Allocation must be freed explicitly!");
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use static_assert_generic::explicitly_drop;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Allocation` in this scope
[INFO] [stdout]  --> src/lib.rs:234:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl<T> Drop for Allocation<T> {
[INFO] [stdout]   |                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 46) stdout ----
[INFO] [stdout] error: cannot find macro `static_assert` in this scope
[INFO] [stdout]  --> src/lib.rs:49:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     static_assert!((N: usize) N != 0 => "N must be a non-zero value!");
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use static_assert_generic::static_assert;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - explicitly_drop (line 251) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Allocator` in this scope
[INFO] [stdout]  --> src/lib.rs:252:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn foo(allocator: Allocator) {
[INFO] [stdout]   |                   ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::alloc::Allocator;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::alloc::Allocator;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Allocation` in this scope
[INFO] [stdout]  --> src/lib.rs:253:21
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let allocation: Allocation::<Whatever> = allocator.alloc();
[INFO] [stdout]   |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Whatever` in this scope
[INFO] [stdout]  --> src/lib.rs:253:34
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let allocation: Allocation::<Whatever> = allocator.alloc();
[INFO] [stdout]   |                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn foo<Whatever>(allocator: Allocator) {
[INFO] [stdout]   |       ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `my_allocator` in this scope
[INFO] [stdout]  --> src/lib.rs:258:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | foo(my_allocator);
[INFO] [stdout]   |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 84) stdout ----
[INFO] [stdout] error: cannot find macro `static_assert` in this scope
[INFO] [stdout]  --> src/lib.rs:86:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     static_assert!((U?) true => "There isn't much you can statically check about unsized types.");
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use static_assert_generic::static_assert;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 39) stdout ----
[INFO] [stdout] error: cannot find macro `static_assert` in this scope
[INFO] [stdout]  --> src/lib.rs:40:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | const FOO: () = static_assert!(() 1 + 1 == 2);
[INFO] [stdout]   |                 ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use static_assert_generic::static_assert;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - explicitly_drop (line 293) stdout ----
[INFO] [stdout] error: cannot find macro `explicitly_drop` in this scope
[INFO] [stdout]  --> src/lib.rs:295:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     explicitly_drop!(T => "Dependant on type generic");
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use static_assert_generic::explicitly_drop;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `explicitly_drop` in this scope
[INFO] [stdout]  --> src/lib.rs:299:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     explicitly_drop!(T? => "If the type is unsized it needs special syntax");
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use static_assert_generic::explicitly_drop;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `explicitly_drop` in this scope
[INFO] [stdout]   --> src/lib.rs:303:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     explicitly_drop!(const C: u8 => "Dependant on const generic (specifying the type is needed)");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use static_assert_generic::explicitly_drop;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `explicitly_drop` in this scope
[INFO] [stdout]   --> src/lib.rs:307:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     explicitly_drop!(const C: u8 => "Just one is needed, even if the type has more.");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use static_assert_generic::explicitly_drop;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope
[INFO] [stdout]  --> src/lib.rs:294:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl<T> Drop for Foo<T> {
[INFO] [stdout]   |                  ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope
[INFO] [stdout]  --> src/lib.rs:298:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl<T: ?Sized> Drop for Foo<T> {
[INFO] [stdout]   |                          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope
[INFO] [stdout]   --> src/lib.rs:302:28
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<const C: u8> Drop for Foo<{C}> {
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope
[INFO] [stdout]   --> src/lib.rs:306:51
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<const C: u8, const D: u16, T, U, V> Drop for Foo<{C}, {D}, T, U, V> {
[INFO] [stdout]    |                                                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - explicitly_drop (line 241) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/lib.rs:242:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn free<T>(&mut self, allocation: Allocation<T>) {
[INFO] [stdout]   |                ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Allocation` in this scope
[INFO] [stdout]  --> src/lib.rs:242:39
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn free<T>(&mut self, allocation: Allocation<T>) {
[INFO] [stdout]   |                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - explicitly_drop (line 317) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Allocator` in this scope
[INFO] [stdout]  --> src/lib.rs:318:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn bar(allocator: Allocator) {
[INFO] [stdout]   |                   ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::alloc::Allocator;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::alloc::Allocator;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Allocation` in this scope
[INFO] [stdout]  --> src/lib.rs:319:21
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let allocation: Allocation::<Whatever> = allocator.alloc();
[INFO] [stdout]   |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Whatever` in this scope
[INFO] [stdout]  --> src/lib.rs:319:34
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let allocation: Allocation::<Whatever> = allocator.alloc();
[INFO] [stdout]   |                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn bar<Whatever>(allocator: Allocator) {
[INFO] [stdout]   |       ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `my_allocator` in this scope
[INFO] [stdout]   --> src/lib.rs:326:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | foo(my_allocator);
[INFO] [stdout]    |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `foo` in this scope
[INFO] [stdout]   --> src/lib.rs:326:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | foo(my_allocator);
[INFO] [stdout]    | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]  --> src/lib.rs:320:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |     if rand::random::<usize>() == 27 {
[INFO] [stdout]   |        ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 18)
[INFO] [stdout]     src/lib.rs - (line 30)
[INFO] [stdout]     src/lib.rs - (line 39)
[INFO] [stdout]     src/lib.rs - (line 46)
[INFO] [stdout]     src/lib.rs - (line 67)
[INFO] [stdout]     src/lib.rs - (line 76)
[INFO] [stdout]     src/lib.rs - (line 84)
[INFO] [stdout]     src/lib.rs - (line 92)
[INFO] [stdout]     src/lib.rs - explicitly_drop (line 206)
[INFO] [stdout]     src/lib.rs - explicitly_drop (line 233)
[INFO] [stdout]     src/lib.rs - explicitly_drop (line 241)
[INFO] [stdout]     src/lib.rs - explicitly_drop (line 251)
[INFO] [stdout]     src/lib.rs - explicitly_drop (line 274)
[INFO] [stdout]     src/lib.rs - explicitly_drop (line 293)
[INFO] [stdout]     src/lib.rs - explicitly_drop (line 317)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "21c36a48f9c66d4f0f89b23df653af1dcba15b97f326f5f92b3070a0a309e200", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21c36a48f9c66d4f0f89b23df653af1dcba15b97f326f5f92b3070a0a309e200", kill_on_drop: false }`
[INFO] [stdout] 21c36a48f9c66d4f0f89b23df653af1dcba15b97f326f5f92b3070a0a309e200
