[INFO] fetching crate accel 0.3.1...
[INFO] checking accel-0.3.1 against try#264a7c4a1c917c83d13895a31231f9d93c7b67e1 for pr-132289
[INFO] extracting crate accel 0.3.1 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate accel 0.3.1 on toolchain 264a7c4a1c917c83d13895a31231f9d93c7b67e1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate accel 0.3.1
[INFO] finished tweaking crates.io crate accel 0.3.1
[INFO] tweaked toml for crates.io crate accel 0.3.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate crates.io crate accel 0.3.1 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" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d3a6c1c2b67ae616638b6145d007d9a178a1a3e5a397e51fded11a802c01113
[INFO] running `Command { std: "docker" "start" "-a" "9d3a6c1c2b67ae616638b6145d007d9a178a1a3e5a397e51fded11a802c01113", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d3a6c1c2b67ae616638b6145d007d9a178a1a3e5a397e51fded11a802c01113", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d3a6c1c2b67ae616638b6145d007d9a178a1a3e5a397e51fded11a802c01113", kill_on_drop: false }`
[INFO] [stdout] 9d3a6c1c2b67ae616638b6145d007d9a178a1a3e5a397e51fded11a802c01113
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 406fc293cc8d76d463c9e9a4557330848861bf40b4228bf513de93d8f9b0eae4
[INFO] running `Command { std: "docker" "start" "-a" "406fc293cc8d76d463c9e9a4557330848861bf40b4228bf513de93d8f9b0eae4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.17
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.23
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.70
[INFO] [stderr]    Compiling serde v1.0.110
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling ryu v1.0.4
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling gimli v0.21.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling object v0.19.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling cuda-config v0.1.0
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]    Compiling anyhow v1.0.31
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling cuda-driver-sys v0.3.0
[INFO] [stderr]     Checking regex-automata v0.1.9
[INFO] [stderr]    Compiling proc-macro-hack v0.5.15
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]    Compiling dirs-sys v0.3.4
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking regex-syntax v0.6.17
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]     Checking clap v2.33.1
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking oorandom v11.1.1
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking plotters v0.2.14
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking criterion-plot v0.4.2
[INFO] [stderr]     Checking regex v1.3.7
[INFO] [stderr]    Compiling addr2line v0.12.1
[INFO] [stderr]    Compiling backtrace v0.3.48
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling serde_derive v1.0.110
[INFO] [stderr]    Compiling thiserror-impl v1.0.19
[INFO] [stderr]    Compiling paste-impl v0.1.13
[INFO] [stderr]    Compiling derive-new v0.5.8
[INFO] [stderr]     Checking paste v0.1.13
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]     Checking thiserror v1.0.19
[INFO] [stderr]     Checking serde_json v1.0.53
[INFO] [stderr]     Checking bstr v0.2.13
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]     Checking csv v1.1.3
[INFO] [stderr]     Checking tinytemplate v1.0.4
[INFO] [stderr]     Checking criterion v0.3.2
[INFO] [stderr]    Compiling accel-derive v0.3.0
[INFO] [stderr]     Checking accel v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/memory/dimension.rs:20:53
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Debug, Clone, Copy, PartialEq, PartialOrd, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                     ^------------
[INFO] [stdout]    |                                                     |
[INFO] [stdout]    |                                                     `FromPrimitive` is not local
[INFO] [stdout]    |                                                     move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_NumChannels`
[INFO] [stdout] 21 | pub enum NumChannels {
[INFO] [stdout]    |          ----------- `NumChannels` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/memory/dimension.rs:20:68
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Debug, Clone, Copy, PartialEq, PartialOrd, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                                    ^----------
[INFO] [stdout]    |                                                                    |
[INFO] [stdout]    |                                                                    `ToPrimitive` is not local
[INFO] [stdout]    |                                                                    move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_NumChannels`
[INFO] [stdout] 21 | pub enum NumChannels {
[INFO] [stdout]    |          ----------- `NumChannels` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: toolchain 'nightly-2020-05-01-x86_64-unknown-linux-gnu' is not installed
[INFO] [stdout] 
[INFO] [stderr] error: toolchain 'nightly-2020-05-01-x86_64-unknown-linux-gnu' is not installed
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stdout] error: custom attribute panicked
[INFO] [stdout]  --> examples/add.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[kernel]
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: message: Failed to compile to PTX: ErrorMessage { msg: "External command failed: cd \"/root/.cache/accel-derive/workdir-de0245cf463afb46/add\" && env -i HOME=\"/root\" HOSTNAME=\"406fc293cc8d\" LD_LIBRARY_PATH=\"/opt/rustwide/target/debug/deps:/opt/rustwide/rustup-home/toolchains/264a7c4a1c917c83d13895a31231f9d93c7b67e1/lib\" PATH=\"/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\" RUSTDOCFLAGS=\"--cap-lints=forbid\" RUSTFLAGS=\"--cap-lints=forbid\" RUSTUP_HOME=\"/opt/rustwide/rustup-home\" RUSTUP_TOOLCHAIN=\"264a7c4a1c917c83d13895a31231f9d93c7b67e1\" RUST_BACKTRACE=\"full\" RUST_RECURSION_COUNT=\"1\" SOURCE_DIR=\"/opt/rustwide/workdir\" SSL_CERT_DIR=\"/usr/lib/ssl/certs\" SSL_CERT_FILE=\"/usr/lib/ssl/certs/ca-certificates.crt\" \"cargo\" \"+nightly-2020-05-01\" \"fmt\"" }
[INFO] [stdout]           
[INFO] [stdout]              0: failure::backtrace::internal::InternalBacktrace::new
[INFO] [stdout]              1: failure::backtrace::Backtrace::new
[INFO] [stdout]              2: <failure::error::error_impl::ErrorImpl as core::convert::From<F>>::from
[INFO] [stdout]              3: <failure::error::Error as core::convert::From<F>>::from
[INFO] [stdout]              4: failure::error_message::err_msg
[INFO] [stdout]              5: <std::process::Command as accel_derive::builder::CheckRun>::check_run
[INFO] [stdout]              6: accel_derive::builder::compile_tokens
[INFO] [stdout]              7: accel_derive::kernel
[INFO] [stdout]              8: core::ops::function::Fn::call
[INFO] [stdout]              9: proc_macro::bridge::client::Client<(proc_macro::TokenStream,proc_macro::TokenStream),proc_macro::TokenStream>::expand2::{{closure}}::{{closure}}
[INFO] [stdout]             10: proc_macro::bridge::client::run_client::{{closure}}::{{closure}}
[INFO] [stdout]             11: proc_macro::bridge::client::state::set
[INFO] [stdout]             12: proc_macro::bridge::client::run_client::{{closure}}
[INFO] [stdout]             13: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]             14: std::panicking::try::do_call
[INFO] [stdout]             15: __rust_try
[INFO] [stdout]             16: proc_macro::bridge::client::run_client
[INFO] [stdout]             17: proc_macro::bridge::client::Client<(proc_macro::TokenStream,proc_macro::TokenStream),proc_macro::TokenStream>::expand2::{{closure}}
[INFO] [stdout]             18: proc_macro::bridge::selfless_reify::reify_to_extern_c_fn_hrt_bridge::wrapper
[INFO] [stdout]             19: <proc_macro::bridge::server::MaybeCrossThread<rustc_expand::proc_macro::MessagePipe<proc_macro::bridge::buffer::Buffer>> as proc_macro::bridge::server::ExecutionStrategy>::run_bridge_and_client::<proc_macro::bridge::server::Dispatcher<proc_macro::bridge::server::MarkedTypes<rustc_expand::proc_macro_server::Rustc>>>
[INFO] [stdout]             20: <rustc_expand::proc_macro::AttrProcMacro as rustc_expand::base::AttrProcMacro>::expand
[INFO] [stdout]             21: <rustc_expand::expand::MacroExpander>::fully_expand_fragment
[INFO] [stdout]             22: <rustc_expand::expand::MacroExpander>::expand_crate
[INFO] [stdout]             23: rustc_interface::passes::resolver_for_lowering_raw
[INFO] [stdout]             24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::<rustc_query_impl::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2}::{closure#0}, rustc_middle::query::erase::Erased<[u8; 16]>>
[INFO] [stdout]             25: <rustc_query_impl::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, ())>>::call_once
[INFO] [stdout]             26: _RINvNtNtCsf8L86jQeDgv_18rustc_query_system5query8plumbing17try_execute_queryINtCskTfbDwfsAer_16rustc_query_impl13DynamicConfigINtNtB4_6caches11SingleCacheINtNtNtCs6DLudgHbWCr_12rustc_middle5query5erase6ErasedAhj10_EEKb0_KB3t_KB3t_ENtNtB1f_8plumbing9QueryCtxtKB3t_EB1f_
[INFO] [stdout]             27: rustc_query_impl::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace
[INFO] [stdout]             28: rustc_interface::interface::run_compiler::<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}
[INFO] [stdout]             29: std::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface::util::run_in_thread_with_globals<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>
[INFO] [stdout]             30: <<std::thread::Builder>::spawn_unchecked_<rustc_interface::util::run_in_thread_with_globals<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]             31: std::sys::pal::unix::thread::Thread::new::thread_start
[INFO] [stdout]             32: <unknown>
[INFO] [stdout]             33: clone
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: custom attribute panicked
[INFO] [stdout]  --> tests/read_host_memory.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[kernel]
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: message: Failed to compile to PTX: ErrorMessage { msg: "External command failed: cd \"/root/.cache/accel-derive/workdir-de0245cf463afb46/read_host_memory\" && env -i HOME=\"/root\" HOSTNAME=\"406fc293cc8d\" LD_LIBRARY_PATH=\"/opt/rustwide/target/debug/deps:/opt/rustwide/rustup-home/toolchains/264a7c4a1c917c83d13895a31231f9d93c7b67e1/lib\" PATH=\"/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\" RUSTDOCFLAGS=\"--cap-lints=forbid\" RUSTFLAGS=\"--cap-lints=forbid\" RUSTUP_HOME=\"/opt/rustwide/rustup-home\" RUSTUP_TOOLCHAIN=\"264a7c4a1c917c83d13895a31231f9d93c7b67e1\" RUST_BACKTRACE=\"full\" RUST_RECURSION_COUNT=\"1\" SOURCE_DIR=\"/opt/rustwide/workdir\" SSL_CERT_DIR=\"/usr/lib/ssl/certs\" SSL_CERT_FILE=\"/usr/lib/ssl/certs/ca-certificates.crt\" \"cargo\" \"+nightly-2020-05-01\" \"fmt\"" }
[INFO] [stdout]           
[INFO] [stdout]              0: failure::backtrace::internal::InternalBacktrace::new
[INFO] [stdout]              1: failure::backtrace::Backtrace::new
[INFO] [stdout]              2: <failure::error::error_impl::ErrorImpl as core::convert::From<F>>::from
[INFO] [stdout]              3: <failure::error::Error as core::convert::From<F>>::from
[INFO] [stdout]              4: failure::error_message::err_msg
[INFO] [stdout]              5: <std::process::Command as accel_derive::builder::CheckRun>::check_run
[INFO] [stdout]              6: accel_derive::builder::compile_tokens
[INFO] [stdout]              7: accel_derive::kernel
[INFO] [stdout]              8: core::ops::function::Fn::call
[INFO] [stdout]              9: proc_macro::bridge::client::Client<(proc_macro::TokenStream,proc_macro::TokenStream),proc_macro::TokenStream>::expand2::{{closure}}::{{closure}}
[INFO] [stdout]             10: proc_macro::bridge::client::run_client::{{closure}}::{{closure}}
[INFO] [stdout]             11: proc_macro::bridge::client::state::set
[INFO] [stdout]             12: proc_macro::bridge::client::run_client::{{closure}}
[INFO] [stdout]             13: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]             14: std::panicking::try::do_call
[INFO] [stdout]             15: __rust_try
[INFO] [stdout]             16: proc_macro::bridge::client::run_client
[INFO] [stdout]             17: proc_macro::bridge::client::Client<(proc_macro::TokenStream,proc_macro::TokenStream),proc_macro::TokenStream>::expand2::{{closure}}
[INFO] [stdout]             18: proc_macro::bridge::selfless_reify::reify_to_extern_c_fn_hrt_bridge::wrapper
[INFO] [stdout]             19: <proc_macro::bridge::server::MaybeCrossThread<rustc_expand::proc_macro::MessagePipe<proc_macro::bridge::buffer::Buffer>> as proc_macro::bridge::server::ExecutionStrategy>::run_bridge_and_client::<proc_macro::bridge::server::Dispatcher<proc_macro::bridge::server::MarkedTypes<rustc_expand::proc_macro_server::Rustc>>>
[INFO] [stdout]             20: <rustc_expand::proc_macro::AttrProcMacro as rustc_expand::base::AttrProcMacro>::expand
[INFO] [stdout]             21: <rustc_expand::expand::MacroExpander>::fully_expand_fragment
[INFO] [stdout]             22: <rustc_expand::expand::MacroExpander>::expand_crate
[INFO] [stdout]             23: rustc_interface::passes::resolver_for_lowering_raw
[INFO] [stdout]             24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::<rustc_query_impl::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2}::{closure#0}, rustc_middle::query::erase::Erased<[u8; 16]>>
[INFO] [stdout]             25: <rustc_query_impl::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, ())>>::call_once
[INFO] [stdout]             26: _RINvNtNtCsf8L86jQeDgv_18rustc_query_system5query8plumbing17try_execute_queryINtCskTfbDwfsAer_16rustc_query_impl13DynamicConfigINtNtB4_6caches11SingleCacheINtNtNtCs6DLudgHbWCr_12rustc_middle5query5erase6ErasedAhj10_EEKb0_KB3t_KB3t_ENtNtB1f_8plumbing9QueryCtxtKB3t_EB1f_
[INFO] [stdout]             27: rustc_query_impl::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace
[INFO] [stdout]             28: rustc_interface::interface::run_compiler::<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}
[INFO] [stdout]             29: std::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface::util::run_in_thread_with_globals<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>
[INFO] [stdout]             30: <<std::thread::Builder>::spawn_unchecked_<rustc_interface::util::run_in_thread_with_globals<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]             31: std::sys::pal::unix::thread::Thread::new::thread_start
[INFO] [stdout]             32: <unknown>
[INFO] [stdout]             33: clone
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add` in this scope
[INFO] [stdout]   --> examples/add.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     add(
[INFO] [stdout]    |     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `accel` (example "add") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find function `read_host_memory` in this scope
[INFO] [stdout]   --> tests/read_host_memory.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     read_host_memory(ctx, 1, 4, &(&a.as_ptr(),))?;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/memory/dimension.rs:20:53
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Debug, Clone, Copy, PartialEq, PartialOrd, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                     ^------------
[INFO] [stdout]    |                                                     |
[INFO] [stdout]    |                                                     `FromPrimitive` is not local
[INFO] [stdout]    |                                                     move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_NumChannels`
[INFO] [stdout] 21 | pub enum NumChannels {
[INFO] [stdout]    |          ----------- `NumChannels` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/memory/dimension.rs:20:68
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Debug, Clone, Copy, PartialEq, PartialOrd, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                                    ^----------
[INFO] [stdout]    |                                                                    |
[INFO] [stdout]    |                                                                    `ToPrimitive` is not local
[INFO] [stdout]    |                                                                    move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_NumChannels`
[INFO] [stdout] 21 | pub enum NumChannels {
[INFO] [stdout]    |          ----------- `NumChannels` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_host_memory` in this scope
[INFO] [stdout]   --> tests/read_host_memory.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     read_host_memory(ctx, 1, 4, &(&mem.as_ptr(),))?;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `accel` (test "read_host_memory") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "406fc293cc8d76d463c9e9a4557330848861bf40b4228bf513de93d8f9b0eae4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "406fc293cc8d76d463c9e9a4557330848861bf40b4228bf513de93d8f9b0eae4", kill_on_drop: false }`
[INFO] [stdout] 406fc293cc8d76d463c9e9a4557330848861bf40b4228bf513de93d8f9b0eae4
