[INFO] fetching crate accel 0.3.1... [INFO] checking accel-0.3.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate accel 0.3.1 into /workspace/builds/worker-7-tc2/source [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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate accel 0.3.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a1384de50d58fd8617f7d139c7afb48dcbc5cc85e4dd33f7f594a7b2830fac0 [INFO] running `Command { std: "docker" "start" "-a" "9a1384de50d58fd8617f7d139c7afb48dcbc5cc85e4dd33f7f594a7b2830fac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a1384de50d58fd8617f7d139c7afb48dcbc5cc85e4dd33f7f594a7b2830fac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a1384de50d58fd8617f7d139c7afb48dcbc5cc85e4dd33f7f594a7b2830fac0", kill_on_drop: false }` [INFO] [stdout] 9a1384de50d58fd8617f7d139c7afb48dcbc5cc85e4dd33f7f594a7b2830fac0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 267a44ae84edd28f6789c3858e5f158c73eadfa47d5b2fb57b9d7d321fc99cd5 [INFO] running `Command { std: "docker" "start" "-a" "267a44ae84edd28f6789c3858e5f158c73eadfa47d5b2fb57b9d7d321fc99cd5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.17 [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] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling gimli v0.21.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 failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cuda-config v0.1.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling cuda-driver-sys v0.3.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking plotters v0.2.14 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Checking criterion-plot v0.4.2 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling paste-impl v0.1.13 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Checking paste v0.1.13 [INFO] [stderr] Checking thiserror v1.0.19 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking tinytemplate v1.0.4 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Compiling accel-derive v0.3.0 [INFO] [stderr] Checking criterion v0.3.2 [INFO] [stderr] Checking accel v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [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] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `cargo-clippy` [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] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ToPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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] 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] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/module.rs:477:19 [INFO] [stdout] | [INFO] [stdout] 477 | fn get_kernel(&self) -> Result; [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 477 | fn get_kernel(&self) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/module.rs:578:23 [INFO] [stdout] | [INFO] [stdout] 578 | pub fn get_kernel(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 578 | pub fn get_kernel(&self, name: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] info: syncing channel updates for 'nightly-2020-05-01-x86_64-unknown-linux-gnu' [INFO] [stderr] error: could not create temp file /opt/rustwide/rustup-home/tmp/2pesu76qw2yu20bn_file: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] info: syncing channel updates for 'nightly-2020-05-01-x86_64-unknown-linux-gnu' [INFO] [stderr] error: could not create temp file /opt/rustwide/rustup-home/tmp/s2l4qr2di62yohn6_file: Read-only file system (os error 30) [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=\"267a44ae84ed\" LD_LIBRARY_PATH=\"/opt/rustwide/target/debug/deps:/opt/rustwide/rustup-home/toolchains/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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=\"c659ee110de67e82444e4b6c8407c1a9af9c2cf6\" 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/cert.pem\" \"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: >::from [INFO] [stdout] 3: >::from [INFO] [stdout] 4: failure::error_message::err_msg [INFO] [stdout] 5: ::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: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] 14: std::panicking::catch_unwind::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: > as rustc_proc_macro::bridge::server::ExecutionStrategy>::run_bridge_and_client::>> [INFO] [stdout] 20: ::expand [INFO] [stdout] 21: ::fully_expand_fragment [INFO] [stdout] 22: ::expand_crate [INFO] [stdout] 23: rustc_interface::passes::configure_and_expand [INFO] [stdout] 24: rustc_interface::passes::resolver_for_lowering_raw [INFO] [stdout] 25: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> [INFO] [stdout] 26: >::call_once [INFO] [stdout] 27: _RINvNtNtCs9NRY56dXTlf_18rustc_query_system5query8plumbing17try_execute_queryINtCsaVza927zK22_16rustc_query_impl13DynamicConfigINtNtB4_6caches11SingleCacheINtNtNtCsdnN3nyS8NoE_12rustc_middle5query5erase6ErasedAhj10_EEKb0_KB3t_KB3t_ENtNtB1f_8plumbing9QueryCtxtKB3t_EB1f_ [INFO] [stdout] 28: rustc_query_impl::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace [INFO] [stdout] 29: rustc_interface::passes::create_and_enter_global_ctxt::, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stdout] 30: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} [INFO] [stdout] 31: std::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stdout] 32: <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 33: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] 34: [INFO] [stdout] 35: 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] warning: unexpected `cfg` condition value: `cargo-clippy` [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] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `cargo-clippy` [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] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ToPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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] 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: 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=\"267a44ae84ed\" LD_LIBRARY_PATH=\"/opt/rustwide/target/debug/deps:/opt/rustwide/rustup-home/toolchains/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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=\"c659ee110de67e82444e4b6c8407c1a9af9c2cf6\" 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/cert.pem\" \"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: >::from [INFO] [stdout] 3: >::from [INFO] [stdout] 4: failure::error_message::err_msg [INFO] [stdout] 5: ::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: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] 14: std::panicking::catch_unwind::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: > as rustc_proc_macro::bridge::server::ExecutionStrategy>::run_bridge_and_client::>> [INFO] [stdout] 20: ::expand [INFO] [stdout] 21: ::fully_expand_fragment [INFO] [stdout] 22: ::expand_crate [INFO] [stdout] 23: rustc_interface::passes::configure_and_expand [INFO] [stdout] 24: rustc_interface::passes::resolver_for_lowering_raw [INFO] [stdout] 25: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> [INFO] [stdout] 26: >::call_once [INFO] [stdout] 27: _RINvNtNtCs9NRY56dXTlf_18rustc_query_system5query8plumbing17try_execute_queryINtCsaVza927zK22_16rustc_query_impl13DynamicConfigINtNtB4_6caches11SingleCacheINtNtNtCsdnN3nyS8NoE_12rustc_middle5query5erase6ErasedAhj10_EEKb0_KB3t_KB3t_ENtNtB1f_8plumbing9QueryCtxtKB3t_EB1f_ [INFO] [stdout] 28: rustc_query_impl::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace [INFO] [stdout] 29: rustc_interface::passes::create_and_enter_global_ctxt::, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stdout] 30: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} [INFO] [stdout] 31: std::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stdout] 32: <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 33: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] 34: [INFO] [stdout] 35: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [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] 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] [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] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/module.rs:477:19 [INFO] [stdout] | [INFO] [stdout] 477 | fn get_kernel(&self) -> Result; [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 477 | fn get_kernel(&self) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/module.rs:578:23 [INFO] [stdout] | [INFO] [stdout] 578 | pub fn get_kernel(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 578 | pub fn get_kernel(&self, name: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "267a44ae84edd28f6789c3858e5f158c73eadfa47d5b2fb57b9d7d321fc99cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "267a44ae84edd28f6789c3858e5f158c73eadfa47d5b2fb57b9d7d321fc99cd5", kill_on_drop: false }` [INFO] [stdout] 267a44ae84edd28f6789c3858e5f158c73eadfa47d5b2fb57b9d7d321fc99cd5