[INFO] fetching crate accel 0.3.0-alpha.2... [INFO] checking accel-0.3.0-alpha.2 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate accel 0.3.0-alpha.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate accel 0.3.0-alpha.2 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate accel 0.3.0-alpha.2 [INFO] finished tweaking crates.io crate accel 0.3.0-alpha.2 [INFO] tweaked toml for crates.io crate accel 0.3.0-alpha.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8ca627991f1b6aad209012d83f2175fe40389323de28eb37c6532266d8bdb50b [INFO] running `"docker" "start" "-a" "8ca627991f1b6aad209012d83f2175fe40389323de28eb37c6532266d8bdb50b"` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cuda-config v0.1.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling cuda-driver-sys v0.3.0-alpha.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling thiserror-impl v1.0.16 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Checking thiserror v1.0.16 [INFO] [stderr] Checking accel v0.3.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `accel_derive` [INFO] [stderr] --> tests/printf.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use accel_derive::kernel; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `accel_derive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `accel_core` [INFO] [stderr] --> tests/printf.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | accel_core::println!("Hello from {}", i); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `accel_core` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `kernel` [INFO] [stderr] --> tests/printf.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[kernel] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `accel_core` [INFO] [stderr] --> tests/printf.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | let i = accel_core::index(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `accel_core` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `accel_derive` [INFO] [stderr] --> tests/add.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use accel_derive::kernel; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `accel_derive` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 0 arguments but 4 arguments were supplied [INFO] [stderr] --> tests/printf.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn print() { [INFO] [stderr] | -------------- defined here [INFO] [stderr] ... [INFO] [stderr] 14 | print(&ctx, 1, 4, &())?; [INFO] [stderr] | ^^^^^ ---- - - --- supplied 4 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 0 arguments [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `kernel` [INFO] [stderr] --> tests/add.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[kernel] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `accel_core` [INFO] [stderr] --> tests/add.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | let i = accel_core::index(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `accel_core` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `add` [INFO] [stderr] --> tests/add.rs:38:20 [INFO] [stderr] | [INFO] [stderr] 38 | println!("{}", add::PTX_STR); [INFO] [stderr] | ^^^ use of undeclared type or module `add` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `accel_derive` [INFO] [stderr] --> tests/read_host_memory.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use accel_derive::kernel; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `accel_derive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `accel_core` [INFO] [stderr] --> tests/read_host_memory.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | accel_core::println!("a[{}] = {}", i, unsafe { *(a.offset(i)) }); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `accel_core` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `kernel` [INFO] [stderr] --> tests/read_host_memory.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[kernel] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `accel_core` [INFO] [stderr] --> tests/read_host_memory.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | let i = accel_core::index() as isize; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `accel_core` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `accel_derive` [INFO] [stderr] --> tests/assert.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use accel_derive::kernel; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `accel_derive` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `accel_core` [INFO] [stderr] --> tests/assert.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | accel_core::assert_eq!(1 + 2, 4); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `accel_core` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `kernel` [INFO] [stderr] --> tests/assert.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[kernel] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `assert` [INFO] [stderr] --> tests/assert.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | let module = assert::Module::new(&ctx)?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `assert` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 4 arguments were supplied [INFO] [stderr] --> tests/read_host_memory.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub unsafe fn read_host_memory(a: *const i32) { [INFO] [stderr] | --------------------------------------------- defined here [INFO] [stderr] ... [INFO] [stderr] 20 | read_host_memory(&ctx, 1, 4, &(&a.as_ptr(),))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ---- - - --------------- supplied 4 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stderr] --> tests/printf.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | print(&ctx, 1, 4, &())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::into_result` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `accel`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0061]: this function takes 0 arguments but 4 arguments were supplied [INFO] [stderr] --> tests/assert.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn assert() { [INFO] [stderr] | --------------- defined here [INFO] [stderr] ... [INFO] [stderr] 13 | let result = assert(&ctx, 1, 4, &()); [INFO] [stderr] | ^^^^^^ ---- - - --- supplied 4 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 0 arguments [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> tests/add.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | add(&ctx, 1, n, &(&a.as_ptr(), &b.as_ptr(), &c.as_mut_ptr(), &n)).expect("Kernel call failed"); [INFO] [stderr] | ^^^^ expected `f64`, found struct `accel::device::Context` [INFO] [stderr] | [INFO] [stderr] = note: expected raw pointer `*const f64` [INFO] [stderr] found reference `&accel::device::Context` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stderr] --> tests/read_host_memory.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | read_host_memory(&ctx, 1, 4, &(&a.as_ptr(),))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::into_result` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error[E0599]: no method named `is_err` found for unit type `()` in the current scope [INFO] [stderr] --> tests/assert.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | assert!(result.is_err()); // assertion failed [INFO] [stderr] | ^^^^^^ method not found in `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> tests/add.rs:29:15 [INFO] [stderr] | [INFO] [stderr] 29 | add(&ctx, 1, n, &(&a.as_ptr(), &b.as_ptr(), &c.as_mut_ptr(), &n)).expect("Kernel call failed"); [INFO] [stderr] | ^ expected *-ptr, found `usize` [INFO] [stderr] | [INFO] [stderr] = note: expected raw pointer `*const f64` [INFO] [stderr] found type `usize` [INFO] [stderr] [INFO] [stderr] error: could not compile `accel`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `accel`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> tests/add.rs:29:18 [INFO] [stderr] | [INFO] [stderr] 29 | add(&ctx, 1, n, &(&a.as_ptr(), &b.as_ptr(), &c.as_mut_ptr(), &n)).expect("Kernel call failed"); [INFO] [stderr] | ^ expected *-ptr, found `usize` [INFO] [stderr] | [INFO] [stderr] = note: expected raw pointer `*mut f64` [INFO] [stderr] found type `usize` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> tests/add.rs:29:21 [INFO] [stderr] | [INFO] [stderr] 29 | add(&ctx, 1, n, &(&a.as_ptr(), &b.as_ptr(), &c.as_mut_ptr(), &n)).expect("Kernel call failed"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `usize` [INFO] [stderr] found reference `&(&*const f64, &*const f64, &*mut f64, &usize)` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `expect` found for unit type `()` in the current scope [INFO] [stderr] --> tests/add.rs:29:71 [INFO] [stderr] | [INFO] [stderr] 29 | add(&ctx, 1, n, &(&a.as_ptr(), &b.as_ptr(), &c.as_mut_ptr(), &n)).expect("Kernel call failed"); [INFO] [stderr] | ^^^^^^ method not found in `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `accel`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8ca627991f1b6aad209012d83f2175fe40389323de28eb37c6532266d8bdb50b"` [INFO] running `"docker" "rm" "-f" "8ca627991f1b6aad209012d83f2175fe40389323de28eb37c6532266d8bdb50b"` [INFO] [stdout] 8ca627991f1b6aad209012d83f2175fe40389323de28eb37c6532266d8bdb50b