[INFO] fetching crate dispose-derive 0.4.2...
[INFO] testing dispose-derive-0.4.2 against 1.98.0-beta.1 for beta-1.98-1
[INFO] extracting crate dispose-derive 0.4.2 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate dispose-derive 0.4.2
[INFO] finished tweaking crates.io crate dispose-derive 0.4.2
[INFO] tweaked toml for crates.io crate dispose-derive 0.4.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate dispose-derive 0.4.2 on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate dispose-derive 0.4.2 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.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 97a2e41445c0694f0690d3f973a5fbab7cfa03bab70377494366bd2fd1a23f81
[INFO] running `Command { std: "docker" "start" "97a2e41445c0694f0690d3f973a5fbab7cfa03bab70377494366bd2fd1a23f81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97a2e41445c0694f0690d3f973a5fbab7cfa03bab70377494366bd2fd1a23f81", kill_on_drop: false }`
[INFO] running `Command { std: "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" "97a2e41445c0694f0690d3f973a5fbab7cfa03bab70377494366bd2fd1a23f81" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97a2e41445c0694f0690d3f973a5fbab7cfa03bab70377494366bd2fd1a23f81", kill_on_drop: false }`
[INFO] running `Command { std: "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" "97a2e41445c0694f0690d3f973a5fbab7cfa03bab70377494366bd2fd1a23f81" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling dispose-derive v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.63s
[INFO] running `Command { std: "docker" "inspect" "97a2e41445c0694f0690d3f973a5fbab7cfa03bab70377494366bd2fd1a23f81", kill_on_drop: false }`
[INFO] running `Command { std: "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" "97a2e41445c0694f0690d3f973a5fbab7cfa03bab70377494366bd2fd1a23f81" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling dispose-derive v0.4.1
[INFO] [stderr]    Compiling dispose-derive v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling raw-window-handle v0.4.3
[INFO] [stderr]    Compiling raw-window-handle v0.3.4
[INFO] [stderr]    Compiling gfx-hal v0.6.0
[INFO] [stderr]    Compiling dispose v0.5.1
[INFO] [stderr]    Compiling gfx-backend-empty v0.6.0
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.06s
[INFO] running `Command { std: "docker" "inspect" "97a2e41445c0694f0690d3f973a5fbab7cfa03bab70377494366bd2fd1a23f81", kill_on_drop: false }`
[INFO] running `Command { std: "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" "97a2e41445c0694f0690d3f973a5fbab7cfa03bab70377494366bd2fd1a23f81" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests lib.rs (/opt/rustwide/target/debug/deps/dispose_derive-3360ac4a6b775065)
[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 dispose_derive
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test lib.rs - derive_dispose (line 65) ... FAILED
[INFO] [stdout] test lib.rs - derive_dispose (line 120) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- lib.rs - derive_dispose (line 65) stdout ----
[INFO] [stdout] error[E0404]: expected trait, found derive macro `Dispose`
[INFO] [stdout]   --> lib.rs:72:6
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl Dispose for MyResource {
[INFO] [stdout]    |      ^^^^^^^ not a trait
[INFO] [stdout] 
[INFO] [stdout] error[E0404]: expected trait, found derive macro `Dispose`
[INFO] [stdout]   --> lib.rs:82:6
[INFO] [stdout]    |
[INFO] [stdout] 82 | impl Dispose for MyOtherResource {
[INFO] [stdout]    |      ^^^^^^^ not a trait
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0404`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- lib.rs - derive_dispose (line 120) stdout ----
[INFO] [stdout] error: Failed to parse #[dispose] attribute: unexpected token
[INFO] [stdout]    --> lib.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 139 |     #[dispose(ignore)]
[INFO] [stdout]     |     ^
[INFO] [stdout] 
[INFO] [stdout] error: Failed to parse #[dispose] attribute: unexpected token
[INFO] [stdout]    --> lib.rs:156:5
[INFO] [stdout]     |
[INFO] [stdout] 156 |     #[dispose(ignore)]
[INFO] [stdout]     |     ^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: expected an `FnOnce()` closure, found `SingleBuffer<'a, B>`
[INFO] [stdout]    --> lib.rs:148:67
[INFO] [stdout]     |
[INFO] [stdout] 148 |     fn new(dev: &'a B::Device, buf: Buffer<B>, mem: Memory<B>) -> Disposable<Self> {
[INFO] [stdout]     |                                                                   ^^^^^^^^^^^^^^^^ expected an `FnOnce()` closure, found `SingleBuffer<'a, B>`
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FnOnce()` is not implemented for `SingleBuffer<'a, B>`
[INFO] [stdout]    --> lib.rs:138:1
[INFO] [stdout]     |
[INFO] [stdout] 138 | struct SingleBuffer<'a, B: Backend> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: wrap the `SingleBuffer<'a, B>` in a closure with no arguments: `|| { /* code */ }`
[INFO] [stdout]     = help: the following other types implement trait `_`:
[INFO] [stdout]               &'a [T]
[INFO] [stdout]               (W, T)
[INFO] [stdout]               AbortCanary
[INFO] [stdout]               Box<[T]>
[INFO] [stdout]               Vec<T>
[INFO] [stdout]     = note: required for `SingleBuffer<'a, B>` to implement `_`
[INFO] [stdout] note: required by a bound in `Disposable`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dispose-0.5.1/disposable.rs:20:26
[INFO] [stdout]     |
[INFO] [stdout]  20 | pub struct Disposable<T: Dispose>(ManuallyDrop<T>);
[INFO] [stdout]     |                          ^^^^^^^ required by this bound in `Disposable`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: expected an `FnOnce()` closure, found `MultiBuffer<'a, B>`
[INFO] [stdout]    --> lib.rs:169:10
[INFO] [stdout]     |
[INFO] [stdout] 169 |     ) -> Disposable<Self> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^ expected an `FnOnce()` closure, found `MultiBuffer<'a, B>`
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FnOnce()` is not implemented for `MultiBuffer<'a, B>`
[INFO] [stdout]    --> lib.rs:155:1
[INFO] [stdout]     |
[INFO] [stdout] 155 | struct MultiBuffer<'a, B: Backend> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: wrap the `MultiBuffer<'a, B>` in a closure with no arguments: `|| { /* code */ }`
[INFO] [stdout]     = help: the following other types implement trait `_`:
[INFO] [stdout]               &'a [T]
[INFO] [stdout]               (W, T)
[INFO] [stdout]               AbortCanary
[INFO] [stdout]               Box<[T]>
[INFO] [stdout]               Vec<T>
[INFO] [stdout]     = note: required for `MultiBuffer<'a, B>` to implement `_`
[INFO] [stdout] note: required by a bound in `Disposable`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dispose-0.5.1/disposable.rs:20:26
[INFO] [stdout]     |
[INFO] [stdout]  20 | pub struct Disposable<T: Dispose>(ManuallyDrop<T>);
[INFO] [stdout]     |                          ^^^^^^^ required by this bound in `Disposable`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: expected an `FnOnce()` closure, found `SingleBuffer<'_, gfx_backend_empty::Backend>`
[INFO] [stdout]    --> lib.rs:192:11
[INFO] [stdout]     |
[INFO] [stdout] 192 |   let buf = SingleBuffer::new(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 193 | |     a_device,
[INFO] [stdout] 194 | |     create_buffer(a_device),
[INFO] [stdout] 195 | |     alloc_memory(a_device),
[INFO] [stdout] 196 | | );
[INFO] [stdout]     | |_^ expected an `FnOnce()` closure, found `SingleBuffer<'_, gfx_backend_empty::Backend>`
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FnOnce()` is not implemented for `SingleBuffer<'_, gfx_backend_empty::Backend>`
[INFO] [stdout]    --> lib.rs:138:1
[INFO] [stdout]     |
[INFO] [stdout] 138 | struct SingleBuffer<'a, B: Backend> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: wrap the `SingleBuffer<'_, gfx_backend_empty::Backend>` in a closure with no arguments: `|| { /* code */ }`
[INFO] [stdout]     = help: the following other types implement trait `_`:
[INFO] [stdout]               &'a [T]
[INFO] [stdout]               (W, T)
[INFO] [stdout]               AbortCanary
[INFO] [stdout]               Box<[T]>
[INFO] [stdout]               Vec<T>
[INFO] [stdout]     = note: required for `SingleBuffer<'_, gfx_backend_empty::Backend>` to implement `_`
[INFO] [stdout] note: required by a bound in `Disposable`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dispose-0.5.1/disposable.rs:20:26
[INFO] [stdout]     |
[INFO] [stdout]  20 | pub struct Disposable<T: Dispose>(ManuallyDrop<T>);
[INFO] [stdout]     |                          ^^^^^^^ required by this bound in `Disposable`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: expected an `FnOnce()` closure, found `MultiBuffer<'_, gfx_backend_empty::Backend>`
[INFO] [stdout]    --> lib.rs:200:12
[INFO] [stdout]     |
[INFO] [stdout] 200 |   let bufs = MultiBuffer::new(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 201 | |     a_device,
[INFO] [stdout] 202 | |     (0..16).into_iter().map(|_| create_buffer(a_device)),
[INFO] [stdout] 203 | |     alloc_memory(a_device),
[INFO] [stdout] 204 | | );
[INFO] [stdout]     | |_^ expected an `FnOnce()` closure, found `MultiBuffer<'_, gfx_backend_empty::Backend>`
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FnOnce()` is not implemented for `MultiBuffer<'_, gfx_backend_empty::Backend>`
[INFO] [stdout]    --> lib.rs:155:1
[INFO] [stdout]     |
[INFO] [stdout] 155 | struct MultiBuffer<'a, B: Backend> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: wrap the `MultiBuffer<'_, gfx_backend_empty::Backend>` in a closure with no arguments: `|| { /* code */ }`
[INFO] [stdout]     = help: the following other types implement trait `_`:
[INFO] [stdout]               &'a [T]
[INFO] [stdout]               (W, T)
[INFO] [stdout]               AbortCanary
[INFO] [stdout]               Box<[T]>
[INFO] [stdout]               Vec<T>
[INFO] [stdout]     = note: required for `MultiBuffer<'_, gfx_backend_empty::Backend>` to implement `_`
[INFO] [stdout] note: required by a bound in `Disposable`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dispose-0.5.1/disposable.rs:20:26
[INFO] [stdout]     |
[INFO] [stdout]  20 | pub struct Disposable<T: Dispose>(ManuallyDrop<T>);
[INFO] [stdout]     |                          ^^^^^^^ required by this bound in `Disposable`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: expected an `FnOnce()` closure, found `SingleBuffer<'_, B>`
[INFO] [stdout]    --> lib.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         Self { dev, buf, mem }.into()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce()` closure, found `SingleBuffer<'_, B>`
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FnOnce()` is not implemented for `SingleBuffer<'_, B>`
[INFO] [stdout]    --> lib.rs:138:1
[INFO] [stdout]     |
[INFO] [stdout] 138 | struct SingleBuffer<'a, B: Backend> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: wrap the `SingleBuffer<'_, B>` in a closure with no arguments: `|| { /* code */ }`
[INFO] [stdout]     = help: the following other types implement trait `_`:
[INFO] [stdout]               &'a [T]
[INFO] [stdout]               (W, T)
[INFO] [stdout]               AbortCanary
[INFO] [stdout]               Box<[T]>
[INFO] [stdout]               Vec<T>
[INFO] [stdout]     = note: required for `SingleBuffer<'_, B>` to implement `_`
[INFO] [stdout] note: required by a bound in `Disposable`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dispose-0.5.1/disposable.rs:20:26
[INFO] [stdout]     |
[INFO] [stdout]  20 | pub struct Disposable<T: Dispose>(ManuallyDrop<T>);
[INFO] [stdout]     |                          ^^^^^^^ required by this bound in `Disposable`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: expected an `FnOnce()` closure, found `MultiBuffer<'_, B>`
[INFO] [stdout]    --> lib.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 | /         Self {
[INFO] [stdout] 171 | |             dev,
[INFO] [stdout] 172 | |             bufs: bufs.into_iter().collect(),
[INFO] [stdout] 173 | |             mem,
[INFO] [stdout] 174 | |         }.into()
[INFO] [stdout]     | |________________^ expected an `FnOnce()` closure, found `MultiBuffer<'_, B>`
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FnOnce()` is not implemented for `MultiBuffer<'_, B>`
[INFO] [stdout]    --> lib.rs:155:1
[INFO] [stdout]     |
[INFO] [stdout] 155 | struct MultiBuffer<'a, B: Backend> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: wrap the `MultiBuffer<'_, B>` in a closure with no arguments: `|| { /* code */ }`
[INFO] [stdout]     = help: the following other types implement trait `_`:
[INFO] [stdout]               &'a [T]
[INFO] [stdout]               (W, T)
[INFO] [stdout]               AbortCanary
[INFO] [stdout]               Box<[T]>
[INFO] [stdout]               Vec<T>
[INFO] [stdout]     = note: required for `MultiBuffer<'_, B>` to implement `_`
[INFO] [stdout] note: required by a bound in `Disposable`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dispose-0.5.1/disposable.rs:20:26
[INFO] [stdout]     |
[INFO] [stdout]  20 | pub struct Disposable<T: Dispose>(ManuallyDrop<T>);
[INFO] [stdout]     |                          ^^^^^^^ required by this bound in `Disposable`
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<Backend as Backend>::Buffer == ()`
[INFO] [stdout]    --> lib.rs:181:5
[INFO] [stdout]     |
[INFO] [stdout] 181 |     Buffer(())
[INFO] [stdout]     |     ^^^^^^^^^^ expected `()`, found `Buffer`
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<Backend as Backend>::Memory == ()`
[INFO] [stdout]    --> lib.rs:184:5
[INFO] [stdout]     |
[INFO] [stdout] 184 |     Memory(())
[INFO] [stdout]     |     ^^^^^^^^^^ expected `()`, found `Memory`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0277.
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     lib.rs - derive_dispose (line 120)
[INFO] [stdout]     lib.rs - derive_dispose (line 65)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "97a2e41445c0694f0690d3f973a5fbab7cfa03bab70377494366bd2fd1a23f81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97a2e41445c0694f0690d3f973a5fbab7cfa03bab70377494366bd2fd1a23f81", kill_on_drop: false }`
[INFO] [stdout] 97a2e41445c0694f0690d3f973a5fbab7cfa03bab70377494366bd2fd1a23f81
