[INFO] fetching crate fil-rustacuda 0.1.3... [INFO] testing fil-rustacuda-0.1.3 against 1.59.0 for beta-1.60-1 [INFO] extracting crate fil-rustacuda 0.1.3 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate fil-rustacuda 0.1.3 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fil-rustacuda 0.1.3 [INFO] finished tweaking crates.io crate fil-rustacuda 0.1.3 [INFO] tweaked toml for crates.io crate fil-rustacuda 0.1.3 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate fil-rustacuda 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b60961441dc16be1884f6b97493c7483f8f18275c0c47d1c3de252e7eed4b73 [INFO] running `Command { std: "docker" "start" "-a" "1b60961441dc16be1884f6b97493c7483f8f18275c0c47d1c3de252e7eed4b73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b60961441dc16be1884f6b97493c7483f8f18275c0c47d1c3de252e7eed4b73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b60961441dc16be1884f6b97493c7483f8f18275c0c47d1c3de252e7eed4b73", kill_on_drop: false }` [INFO] [stdout] 1b60961441dc16be1884f6b97493c7483f8f18275c0c47d1c3de252e7eed4b73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5f230d3cf1dd00f988e5b0ef0035df82235ee3b06ee3496cf79eb6dee684cc9 [INFO] running `Command { std: "docker" "start" "-a" "d5f230d3cf1dd00f988e5b0ef0035df82235ee3b06ee3496cf79eb6dee684cc9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling rustacuda_core v0.1.2 [INFO] [stderr] Compiling cuda-config v0.1.0 [INFO] [stderr] Compiling cuda-driver-sys v0.3.0 [INFO] [stderr] Compiling rustacuda_derive v0.1.2 [INFO] [stderr] Compiling fil-rustacuda v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.50s [INFO] running `Command { std: "docker" "inspect" "d5f230d3cf1dd00f988e5b0ef0035df82235ee3b06ee3496cf79eb6dee684cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5f230d3cf1dd00f988e5b0ef0035df82235ee3b06ee3496cf79eb6dee684cc9", kill_on_drop: false }` [INFO] [stdout] d5f230d3cf1dd00f988e5b0ef0035df82235ee3b06ee3496cf79eb6dee684cc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c36ad1021f0679c50fe385348eee0f635d1661d56dd151ac741399dfb819290d [INFO] running `Command { std: "docker" "start" "-a" "c36ad1021f0679c50fe385348eee0f635d1661d56dd151ac741399dfb819290d", kill_on_drop: false }` [INFO] [stderr] Compiling fil-rustacuda v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `rustacuda` [INFO] [stdout] --> tests/test_derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate rustacuda; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustacuda` [INFO] [stdout] --> tests/test_stream.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate rustacuda; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, DeviceCopy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] fil_rustacuda::DeviceCopy [INFO] [stdout] rustacuda_derive::DeviceCopy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, DeviceCopy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] fil_rustacuda::DeviceCopy [INFO] [stdout] rustacuda_derive::DeviceCopy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, DeviceCopy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] fil_rustacuda::DeviceCopy [INFO] [stdout] rustacuda_derive::DeviceCopy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, DeviceCopy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] fil_rustacuda::DeviceCopy [INFO] [stdout] rustacuda_derive::DeviceCopy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, DeviceCopy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] fil_rustacuda::DeviceCopy [INFO] [stdout] rustacuda_derive::DeviceCopy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone, DeviceCopy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] fil_rustacuda::DeviceCopy [INFO] [stdout] rustacuda_derive::DeviceCopy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustacuda` [INFO] [stdout] --> examples/launch.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rustacuda; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone, DeviceCopy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] fil_rustacuda::DeviceCopy [INFO] [stdout] rustacuda_derive::DeviceCopy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Copy, Clone, DeviceCopy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] fil_rustacuda::DeviceCopy [INFO] [stdout] rustacuda_derive::DeviceCopy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__verify_ZeroSizedStruct_can_implement_DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | __verify_ZeroSizedStruct_can_implement_DeviceCopy(&ZeroSizedStruct); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__verify_TupleStruct_can_implement_DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | __verify_TupleStruct_can_implement_DeviceCopy(&TupleStruct(0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__verify_NormalStruct_can_implement_DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | __verify_NormalStruct_can_implement_DeviceCopy(&NormalStruct { x: 0, y: 0 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__verify_ContainerStruct_can_implement_DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | __verify_ContainerStruct_can_implement_DeviceCopy(&ContainerStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__verify_GenericStruct_can_implement_DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | __verify_GenericStruct_can_implement_DeviceCopy(&GenericStruct { value: 0u64 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__verify_TestEnum_can_implement_DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | __verify_TestEnum_can_implement_DeviceCopy(&TestEnum::Unit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__verify_GenericEnum_can_implement_DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | __verify_GenericEnum_can_implement_DeviceCopy::(&GenericEnum::Unit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__verify_TestUnion_can_implement_DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | __verify_TestUnion_can_implement_DeviceCopy(&TestUnion { u: 0u64 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamFlags` [INFO] [stdout] --> tests/test_stream.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | let stream = Stream::new(StreamFlags::NON_BLOCKING, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StreamFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamFlags` [INFO] [stdout] --> tests/test_stream.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | let stream = Stream::new(StreamFlags::NON_BLOCKING, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StreamFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamFlags` [INFO] [stdout] --> tests/test_stream.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | let stream = Stream::new(StreamFlags::NON_BLOCKING, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StreamFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quick_init` in this scope [INFO] [stdout] --> tests/test_stream.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | let _ctx = quick_init(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use fil_rustacuda::quick_init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stream` [INFO] [stdout] --> tests/test_stream.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let stream = Stream::new(StreamFlags::NON_BLOCKING, None).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::stream::Stream; [INFO] [stdout] | [INFO] [stdout] 3 | use fil_rustacuda::stream::Stream; [INFO] [stdout] | [INFO] [stdout] 3 | use std::stream::Stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quick_init` in this scope [INFO] [stdout] --> tests/test_stream.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | let _ctx = quick_init(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use fil_rustacuda::quick_init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stream` [INFO] [stdout] --> tests/test_stream.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let stream = Stream::new(StreamFlags::NON_BLOCKING, None).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::stream::Stream; [INFO] [stdout] | [INFO] [stdout] 3 | use fil_rustacuda::stream::Stream; [INFO] [stdout] | [INFO] [stdout] 3 | use std::stream::Stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quick_init` in this scope [INFO] [stdout] --> tests/test_stream.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | let _ctx = quick_init(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use fil_rustacuda::quick_init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stream` [INFO] [stdout] --> tests/test_stream.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | let stream = Stream::new(StreamFlags::NON_BLOCKING, None).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::stream::Stream; [INFO] [stdout] | [INFO] [stdout] 3 | use fil_rustacuda::stream::Stream; [INFO] [stdout] | [INFO] [stdout] 3 | use std::stream::Stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `launch` in this scope [INFO] [stdout] --> examples/launch.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let result = launch!(module.sum<<<1, 1, 0, stream>>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] fil_rustacuda::launch [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `launch` in this scope [INFO] [stdout] --> examples/launch.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let result = launch!(sum<<<(1, 1, 1), (10, 1, 1), 0, stream>>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] fil_rustacuda::launch [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContextFlags` [INFO] [stdout] --> examples/launch.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | let _ctx = Context::create_and_push(ContextFlags::MAP_HOST | ContextFlags::SCHED_AUTO, device)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ContextFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContextFlags` [INFO] [stdout] --> examples/launch.rs:12:66 [INFO] [stdout] | [INFO] [stdout] 12 | let _ctx = Context::create_and_push(ContextFlags::MAP_HOST | ContextFlags::SCHED_AUTO, device)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ContextFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamFlags` [INFO] [stdout] --> examples/launch.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let stream = Stream::new(StreamFlags::NON_BLOCKING, None)?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StreamFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fil-rustacuda` due to 18 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CudaFlags` [INFO] [stdout] --> examples/launch.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | rustacuda::init(CudaFlags::empty())?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use fil_rustacuda::CudaFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Device` [INFO] [stdout] --> examples/launch.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let device = Device::get_device(0)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use fil_rustacuda::prelude::Device; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> examples/launch.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | let _ctx = Context::create_and_push(ContextFlags::MAP_HOST | ContextFlags::SCHED_AUTO, device)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 4 | use fil_rustacuda::prelude::Context; [INFO] [stdout] | [INFO] [stdout] 4 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> examples/launch.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let module = Module::load_from_string(&ptx)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use fil_rustacuda::prelude::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stream` [INFO] [stdout] --> examples/launch.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | let stream = Stream::new(StreamFlags::NON_BLOCKING, None)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::stream::Stream; [INFO] [stdout] | [INFO] [stdout] 4 | use fil_rustacuda::stream::Stream; [INFO] [stdout] | [INFO] [stdout] 4 | use std::stream::Stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceBuffer` [INFO] [stdout] --> examples/launch.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let mut in_x = DeviceBuffer::from_slice(&[1.0f32; 10])?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use fil_rustacuda::prelude::DeviceBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceBuffer` [INFO] [stdout] --> examples/launch.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let mut in_y = DeviceBuffer::from_slice(&[2.0f32; 10])?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use fil_rustacuda::prelude::DeviceBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceBuffer` [INFO] [stdout] --> examples/launch.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let mut out_1 = DeviceBuffer::from_slice(&[0.0f32; 10])?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use fil_rustacuda::prelude::DeviceBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceBuffer` [INFO] [stdout] --> examples/launch.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut out_2 = DeviceBuffer::from_slice(&[0.0f32; 10])?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use fil_rustacuda::prelude::DeviceBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.fil_rustacuda.71502005-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.fil_rustacuda.71502005-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.fil_rustacuda.71502005-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.fil_rustacuda.71502005-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.fil_rustacuda.71502005-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.fil_rustacuda.71502005-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.fil_rustacuda.71502005-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.fil_rustacuda.71502005-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.fil_rustacuda.71502005-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.fil_rustacuda.71502005-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.fil_rustacuda.71502005-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.fil_rustacuda.71502005-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.fil_rustacuda.71502005-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.fil_rustacuda.71502005-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.fil_rustacuda.71502005-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.fil_rustacuda.71502005-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8.4mdznalmspblm3s2.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-758a09c353a92957.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-743b1b40789d9970.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-03c847826ae3c573.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-b1a47273c37bf80e.rlib" "/opt/rustwide/target/debug/deps/libcuda_driver_sys-a057342a847b0af6.rlib" "/opt/rustwide/target/debug/deps/librustacuda_core-d2251f44397ffb31.rlib" "/opt/rustwide/target/debug/deps/libbitflags-1693f043aa7c36ab.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a46a068050a12a4b.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1df56095db9453cb.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-9062de483386e50b.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-b988ab269ff13602.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-1bc822d886d4f7bd.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-963eca8df4c224a6.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d805b480c9102e58.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-06dfdbc22b935051.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-d7523a4d118e6572.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5d7898c7fac3a07d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8c2bdbab4845bf3d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-d578639df0547b30.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-58bbb7b1efa3a5e2.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4c9b082d197c16f8.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-70f9ed6d8e7a5ce6.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-8c0a241d0360fa53.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-bad7ed93fdd31371.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-98b4d121af2b7335.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1d9f7e5920635d15.rlib" "-Wl,-Bdynamic" "-lcuda" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/fil_rustacuda-87ef181b9daf14a8" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lcuda [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c36ad1021f0679c50fe385348eee0f635d1661d56dd151ac741399dfb819290d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c36ad1021f0679c50fe385348eee0f635d1661d56dd151ac741399dfb819290d", kill_on_drop: false }` [INFO] [stdout] c36ad1021f0679c50fe385348eee0f635d1661d56dd151ac741399dfb819290d