[INFO] cloning repository https://github.com/jiegec/rust-gpu-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jiegec/rust-gpu-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiegec%2Frust-gpu-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiegec%2Frust-gpu-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe284aeb1943e3bc84a5e5fe6451932d4e77688d [INFO] checking jiegec/rust-gpu-test against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiegec%2Frust-gpu-test" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jiegec/rust-gpu-test on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/source/rust-toolchain [INFO] started tweaking git repo https://github.com/jiegec/rust-gpu-test [INFO] finished tweaking git repo https://github.com/jiegec/rust-gpu-test [INFO] tweaked toml for git repo https://github.com/jiegec/rust-gpu-test written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/jiegec/rust-gpu-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rust-accel/accel.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.11 [INFO] [stderr] Downloaded thiserror v1.0.11 [INFO] [stderr] Downloaded cuda-runtime-sys v0.3.0-alpha.1 [INFO] [stderr] Downloaded cuda-config v0.1.0 [INFO] [stderr] Downloaded cuda-driver-sys v0.3.0-alpha.1 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffca38e4f019e74ea4374ba32b21064e2a965a3a8cf00fa2085ed8fcbf221379 [INFO] running `Command { std: "docker" "start" "-a" "ffca38e4f019e74ea4374ba32b21064e2a965a3a8cf00fa2085ed8fcbf221379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffca38e4f019e74ea4374ba32b21064e2a965a3a8cf00fa2085ed8fcbf221379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffca38e4f019e74ea4374ba32b21064e2a965a3a8cf00fa2085ed8fcbf221379", kill_on_drop: false }` [INFO] [stdout] ffca38e4f019e74ea4374ba32b21064e2a965a3a8cf00fa2085ed8fcbf221379 [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=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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c54f32a27a9c0089dd3524a59d98acc6cfb411892f4996b76e0825f62efbdf8 [INFO] running `Command { std: "docker" "start" "-a" "7c54f32a27a9c0089dd3524a59d98acc6cfb411892f4996b76e0825f62efbdf8", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling cuda-config v0.1.0 [INFO] [stderr] Compiling cuda-driver-sys v0.3.0-alpha.1 [INFO] [stderr] Compiling cuda-runtime-sys v0.3.0-alpha.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling backtrace v0.3.44 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.11 [INFO] [stderr] Compiling accel v0.3.0-alpha.1 (https://github.com/rust-accel/accel.git#cfcea246) [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling accel-derive v0.3.0-alpha.1 (https://github.com/rust-accel/accel.git#cfcea246) [INFO] [stderr] Checking rust-gpu-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] [INFO] [stderr] error: toolchain 'nightly-2020-01-02-x86_64-unknown-linux-gnu' is not installed [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] error: toolchain 'nightly-2020-01-02-x86_64-unknown-linux-gnu' is not installed [INFO] [stderr] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[kernel] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to compile to PTX: ErrorMessage { msg: "External command failed: \"cargo\" \"+nightly-2020-01-02\" \"fmt\"" } [INFO] [stdout] [INFO] [stdout] 0: failure::backtrace::internal::InternalBacktrace::new [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.6/src/backtrace/internal.rs:46 [INFO] [stdout] 1: failure::backtrace::Backtrace::new [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.6/src/backtrace/mod.rs:121 [INFO] [stdout] 2: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.6/src/error/error_impl.rs:19 [INFO] [stdout] 3: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.6/src/error/mod.rs:36 [INFO] [stdout] 4: failure::error_message::err_msg [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.6/src/error_message.rs:12 [INFO] [stdout] 5: ::check_run [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/accel-443e06c3fc679835/cfcea24/accel-derive/src/builder.rs:29 [INFO] [stdout] 6: accel_derive::builder::compile_tokens [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/accel-443e06c3fc679835/cfcea24/accel-derive/src/builder.rs:106 [INFO] [stdout] 7: accel_derive::kernel [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/accel-443e06c3fc679835/cfcea24/accel-derive/src/lib.rs:16 [INFO] [stdout] 8: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/core/src/ops/function.rs:227 [INFO] [stdout] 9: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand2::run::{{closure}} [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/client.rs:426 [INFO] [stdout] 10: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/client.rs:377 [INFO] [stdout] 11: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/scoped_cell.rs:80 [INFO] [stdout] 12: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/scoped_cell.rs:75 [INFO] [stdout] 13: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/scoped_cell.rs:80 [INFO] [stdout] 14: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/client.rs:325 [INFO] [stdout] 15: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/std/src/thread/local.rs:399 [INFO] [stdout] 16: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/std/src/thread/local.rs:375 [INFO] [stdout] 17: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/client.rs:325 [INFO] [stdout] 18: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/client.rs:370 [INFO] [stdout] 19: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/std/src/panic.rs:347 [INFO] [stdout] 20: std::panicking::try::do_call [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/std/src/panicking.rs:401 [INFO] [stdout] 21: __rust_try [INFO] [stdout] 22: std::panicking::try [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/std/src/panicking.rs:365 [INFO] [stdout] 23: std::panic::catch_unwind [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/std/src/panic.rs:434 [INFO] [stdout] 24: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/client.rs:369 [INFO] [stdout] 25: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand2::run [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/client.rs:425 [INFO] [stdout] 26: proc_macro::bridge::server::run_server [INFO] [stdout] 27: ::expand [INFO] [stdout] 28: rustc_expand::expand::MacroExpander::fully_expand_fragment [INFO] [stdout] 29: rustc_expand::expand::MacroExpander::expand_crate [INFO] [stdout] 30: rustc_session::utils::::time [INFO] [stdout] 31: rustc_interface::passes::configure_and_expand [INFO] [stdout] 32: rustc_interface::queries::Queries::expansion [INFO] [stdout] 33: rustc_interface::queries::::enter [INFO] [stdout] 34: rustc_span::with_source_map [INFO] [stdout] 35: rustc_interface::interface::create_compiler_and_run [INFO] [stdout] 36: scoped_tls::ScopedKey::set [INFO] [stdout] 37: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 38: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 39: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/alloc/src/boxed.rs:1572 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/alloc/src/boxed.rs:1572 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at library/std/src/sys/unix/thread.rs:74 [INFO] [stdout] 40: start_thread [INFO] [stdout] 41: __clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | add(&ctx, grid, block, a.as_ptr(), b.as_ptr(), c.as_mut_ptr(), n).expect("Kernel call failed"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-gpu-test` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[kernel] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to compile to PTX: ErrorMessage { msg: "External command failed: \"cargo\" \"+nightly-2020-01-02\" \"fmt\"" } [INFO] [stdout] [INFO] [stdout] 0: failure::backtrace::internal::InternalBacktrace::new [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.6/src/backtrace/internal.rs:46 [INFO] [stdout] 1: failure::backtrace::Backtrace::new [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.6/src/backtrace/mod.rs:121 [INFO] [stdout] 2: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.6/src/error/error_impl.rs:19 [INFO] [stdout] 3: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.6/src/error/mod.rs:36 [INFO] [stdout] 4: failure::error_message::err_msg [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.6/src/error_message.rs:12 [INFO] [stdout] 5: ::check_run [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/accel-443e06c3fc679835/cfcea24/accel-derive/src/builder.rs:29 [INFO] [stdout] 6: accel_derive::builder::compile_tokens [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/accel-443e06c3fc679835/cfcea24/accel-derive/src/builder.rs:106 [INFO] [stdout] 7: accel_derive::kernel [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/accel-443e06c3fc679835/cfcea24/accel-derive/src/lib.rs:16 [INFO] [stdout] 8: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/core/src/ops/function.rs:227 [INFO] [stdout] 9: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand2::run::{{closure}} [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/client.rs:426 [INFO] [stdout] 10: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/client.rs:377 [INFO] [stdout] 11: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/scoped_cell.rs:80 [INFO] [stdout] 12: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/scoped_cell.rs:75 [INFO] [stdout] 13: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/scoped_cell.rs:80 [INFO] [stdout] 14: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/client.rs:325 [INFO] [stdout] 15: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/std/src/thread/local.rs:399 [INFO] [stdout] 16: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/std/src/thread/local.rs:375 [INFO] [stdout] 17: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/client.rs:325 [INFO] [stdout] 18: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/client.rs:370 [INFO] [stdout] 19: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/std/src/panic.rs:347 [INFO] [stdout] 20: std::panicking::try::do_call [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/std/src/panicking.rs:401 [INFO] [stdout] 21: __rust_try [INFO] [stdout] 22: std::panicking::try [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/std/src/panicking.rs:365 [INFO] [stdout] 23: std::panic::catch_unwind [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/std/src/panic.rs:434 [INFO] [stdout] 24: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/client.rs:369 [INFO] [stdout] 25: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand2::run [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/proc_macro/src/bridge/client.rs:425 [INFO] [stdout] 26: proc_macro::bridge::server::run_server [INFO] [stdout] 27: ::expand [INFO] [stdout] 28: rustc_expand::expand::MacroExpander::fully_expand_fragment [INFO] [stdout] 29: rustc_expand::expand::MacroExpander::expand_crate [INFO] [stdout] 30: rustc_session::utils::::time [INFO] [stdout] 31: rustc_interface::passes::configure_and_expand [INFO] [stdout] 32: rustc_interface::queries::Queries::expansion [INFO] [stdout] 33: rustc_interface::queries::::enter [INFO] [stdout] 34: rustc_span::with_source_map [INFO] [stdout] 35: rustc_interface::interface::create_compiler_and_run [INFO] [stdout] 36: scoped_tls::ScopedKey::set [INFO] [stdout] 37: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 38: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 39: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/alloc/src/boxed.rs:1572 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/library/alloc/src/boxed.rs:1572 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at library/std/src/sys/unix/thread.rs:74 [INFO] [stdout] 40: start_thread [INFO] [stdout] 41: __clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | add(&ctx, grid, block, a.as_ptr(), b.as_ptr(), c.as_mut_ptr(), n).expect("Kernel call failed"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7c54f32a27a9c0089dd3524a59d98acc6cfb411892f4996b76e0825f62efbdf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c54f32a27a9c0089dd3524a59d98acc6cfb411892f4996b76e0825f62efbdf8", kill_on_drop: false }` [INFO] [stdout] 7c54f32a27a9c0089dd3524a59d98acc6cfb411892f4996b76e0825f62efbdf8