[INFO] fetching crate giftwrap 0.3.0... [INFO] testing giftwrap-0.3.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate giftwrap 0.3.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate giftwrap 0.3.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate giftwrap 0.3.0 [INFO] finished tweaking crates.io crate giftwrap 0.3.0 [INFO] tweaked toml for crates.io crate giftwrap 0.3.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate giftwrap 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] abaac36e54e81d895cea071f57170442abe64c40a8545a4325ea5e4afcebbb21 [INFO] running `Command { std: "docker" "start" "-a" "abaac36e54e81d895cea071f57170442abe64c40a8545a4325ea5e4afcebbb21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abaac36e54e81d895cea071f57170442abe64c40a8545a4325ea5e4afcebbb21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abaac36e54e81d895cea071f57170442abe64c40a8545a4325ea5e4afcebbb21", kill_on_drop: false }` [INFO] [stdout] abaac36e54e81d895cea071f57170442abe64c40a8545a4325ea5e4afcebbb21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2a1f4e579ebe79fe07f8b677cb55f919b51adb9792175e785fb9895eb50af9f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d2a1f4e579ebe79fe07f8b677cb55f919b51adb9792175e785fb9895eb50af9f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling giftwrap v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.39s [INFO] running `Command { std: "docker" "inspect" "d2a1f4e579ebe79fe07f8b677cb55f919b51adb9792175e785fb9895eb50af9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2a1f4e579ebe79fe07f8b677cb55f919b51adb9792175e785fb9895eb50af9f", kill_on_drop: false }` [INFO] [stdout] d2a1f4e579ebe79fe07f8b677cb55f919b51adb9792175e785fb9895eb50af9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b2ae7bcae431a5448112c6b561f7c784de733a8dfa007d0e533a8fa0a9356635 [INFO] running `Command { std: "docker" "start" "-a" "b2ae7bcae431a5448112c6b561f7c784de733a8dfa007d0e533a8fa0a9356635", kill_on_drop: false }` [INFO] [stderr] Compiling giftwrap v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.76s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/giftwrap-9ca8fe0c122a5b2a) [INFO] running `Command { std: "docker" "inspect" "b2ae7bcae431a5448112c6b561f7c784de733a8dfa007d0e533a8fa0a9356635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2ae7bcae431a5448112c6b561f7c784de733a8dfa007d0e533a8fa0a9356635", kill_on_drop: false }` [INFO] [stdout] b2ae7bcae431a5448112c6b561f7c784de733a8dfa007d0e533a8fa0a9356635 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1a401ebd0174e18562d518a68bc8c6f43d032168df455b93d46769def6720a0c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1a401ebd0174e18562d518a68bc8c6f43d032168df455b93d46769def6720a0c", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/giftwrap-9ca8fe0c122a5b2a) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests giftwrap [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - derive_wrap (line 20) ... FAILED [INFO] [stdout] test src/lib.rs - derive_unwrap (line 79) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - derive_wrap (line 20) stdout ---- [INFO] [stdout] error: expected one of `,`, `=`, or `}`, found `#` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 8 | DeepVariant(Arc>) [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `,`, `=`, or `}` [INFO] [stdout] | help: missing `,` [INFO] [stdout] 9 | #[noWrap] [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Wrap` in this scope [INFO] [stdout] --> src/lib.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Wrap)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] giftwrap::Wrap [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wrapDepth` in this scope [INFO] [stdout] --> src/lib.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[wrapDepth(0)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `noWrap` in this scope [INFO] [stdout] --> src/lib.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[noWrap] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/lib.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 8 | DeepVariant(Arc>) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/lib.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 8 | DeepVariant(Arc>) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/lib.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 26 | impl From>> for SomeEnum { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/lib.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 26 | impl From>> for SomeEnum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/lib.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 27 | fn from(f: Arc>) -> Self { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/lib.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 27 | fn from(f: Arc>) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/lib.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 32 | impl From> for SomeEnum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/lib.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 33 | fn from(f: Mutex) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/lib.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 34 | SomeEnum::DeepVariant(Arc::<_>::from(f)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/lib.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 40 | SomeEnum::DeepVariant(Arc::<_>::from(Mutex::<_>::from(f))) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/lib.rs:58:46 [INFO] [stdout] | [INFO] [stdout] 40 | SomeEnum::DeepVariant(Arc::<_>::from(Mutex::<_>::from(f))) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_unwrap (line 79) stdout ---- [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/lib.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_79_0() { [INFO] [stdout] | - unclosed delimiter - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 16 | match f { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 20 | } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] ... [INFO] [stdout] 33 | } _doctest_main_src_lib_rs_79_0() } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: implementation is not supported in `trait`s or `impl`s [INFO] [stdout] --> src/lib.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 23 | impl TryFrom for String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider moving the implementation out to a nearby module scope [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/lib.rs:110:32 [INFO] [stdout] | [INFO] [stdout] 12 | impl TryFrom for i64 { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 33 | } _doctest_main_src_lib_rs_79_0() } [INFO] [stdout] | ^ - the item list ends here [INFO] [stdout] | | [INFO] [stdout] | expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Unwrap` in this scope [INFO] [stdout] --> src/lib.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Unwrap)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] giftwrap::Unwrap [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `noUnwrap` in this scope [INFO] [stdout] --> src/lib.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[noUnwrap] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TryFrom` in this scope [INFO] [stdout] --> src/lib.rs:89:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl TryFrom for i64 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: 'std::convert::TryFrom' is included in the prelude starting in Edition 2021 [INFO] [stdout] = note: 'core::convert::TryFrom' is included in the prelude starting in Edition 2021 [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::convert::TryFrom; [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - derive_unwrap (line 79) [INFO] [stdout] src/lib.rs - derive_wrap (line 20) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.36s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "1a401ebd0174e18562d518a68bc8c6f43d032168df455b93d46769def6720a0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a401ebd0174e18562d518a68bc8c6f43d032168df455b93d46769def6720a0c", kill_on_drop: false }` [INFO] [stdout] 1a401ebd0174e18562d518a68bc8c6f43d032168df455b93d46769def6720a0c