[INFO] fetching crate accel 0.3.1... [INFO] testing accel-0.3.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate accel 0.3.1 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate accel 0.3.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4439d052202abf1dedda98ae6179aa9029a05b68995f42fd50dc98c472cc2fc0 [INFO] running `Command { std: "docker" "start" "-a" "4439d052202abf1dedda98ae6179aa9029a05b68995f42fd50dc98c472cc2fc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4439d052202abf1dedda98ae6179aa9029a05b68995f42fd50dc98c472cc2fc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4439d052202abf1dedda98ae6179aa9029a05b68995f42fd50dc98c472cc2fc0", kill_on_drop: false }` [INFO] [stdout] 4439d052202abf1dedda98ae6179aa9029a05b68995f42fd50dc98c472cc2fc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 424b523ab419f0748aca7e278a0124ad2f374b7d3146101e89113210716165b5 [INFO] running `Command { std: "docker" "start" "-a" "424b523ab419f0748aca7e278a0124ad2f374b7d3146101e89113210716165b5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling cuda-config v0.1.0 [INFO] [stderr] Compiling cuda-driver-sys v0.3.0 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling quote v1.0.6 [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 paste-impl v0.1.13 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Compiling paste v0.1.13 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.19 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling accel-derive v0.3.0 [INFO] [stderr] Compiling 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: value assigned to `id` is never read [INFO] [stdout] --> src/error.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | DeviceNotFound { id: usize, count: usize }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/error.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | DeviceNotFound { id: usize, count: usize }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.58s [INFO] running `Command { std: "docker" "inspect" "424b523ab419f0748aca7e278a0124ad2f374b7d3146101e89113210716165b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "424b523ab419f0748aca7e278a0124ad2f374b7d3146101e89113210716165b5", kill_on_drop: false }` [INFO] [stdout] 424b523ab419f0748aca7e278a0124ad2f374b7d3146101e89113210716165b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff8e5ababddee5aba6e0a10cf0953f41ca5bd1bb92a159caa99527e48cac6d3f [INFO] running `Command { std: "docker" "start" "-a" "ff8e5ababddee5aba6e0a10cf0953f41ca5bd1bb92a159caa99527e48cac6d3f", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling serde v1.0.110 [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 cast v0.2.3 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling plotters v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling criterion-plot v0.4.2 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tinytemplate v1.0.4 [INFO] [stderr] Compiling criterion v0.3.2 [INFO] [stderr] Compiling accel-derive v0.3.0 [INFO] [stderr] Compiling 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: value assigned to `id` is never read [INFO] [stdout] --> src/error.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | DeviceNotFound { id: usize, count: usize }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/error.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | DeviceNotFound { id: usize, count: usize }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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] [stdout] [INFO] [stderr] error: could not create temp file /opt/rustwide/rustup-home/tmp/u65ba9yoif__6yp8_file: Read-only file system (os error 30) [INFO] [stderr] [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/tgtf5i9rdiww8ksx_file: Read-only file system (os error 30) [INFO] [stderr] [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] 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=\"ff8e5ababdde\" LD_LIBRARY_PATH=\"/opt/rustwide/target/debug/deps:/opt/rustwide/rustup-home/toolchains/c2e32f1c9652b13ed99608599c1e855462f421f3/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=\"c2e32f1c9652b13ed99608599c1e855462f421f3\" 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: ::expand_with_safety [INFO] [stdout] 22: ::fully_expand_fragment [INFO] [stdout] 23: ::expand_crate [INFO] [stdout] 24: rustc_interface::passes::configure_and_expand [INFO] [stdout] 25: rustc_interface::passes::resolver_for_lowering_raw [INFO] [stdout] 26: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> [INFO] [stdout] 27: >::call_once [INFO] [stdout] 28: _RINvNtNtCsgFuYfON5NUV_18rustc_query_system5query8plumbing17try_execute_queryINtCsbp2sd513NZB_16rustc_query_impl13DynamicConfigINtNtB4_6caches11SingleCacheINtNtNtCsaLrXHBdcrrm_12rustc_middle5query5erase6ErasedAhj10_EEKb0_KB3t_KB3t_ENtNtB1f_8plumbing9QueryCtxtKB3t_EB1f_ [INFO] [stdout] 29: rustc_query_impl::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace [INFO] [stdout] 30: , rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core::ops::function::FnOnce<(&rustc_session::session::Session, rustc_middle::ty::context::CurrentGcx, alloc::sync::Arc, &std::sync::once_lock::OnceLock, &rustc_data_structures::sync::worker_local::WorkerLocal, &rustc_data_structures::sync::worker_local::WorkerLocal, rustc_driver_impl::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0} [INFO] [stdout] 31: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} [INFO] [stdout] 32: std::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stdout] 33: <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 34: std::sys::thread::unix::Thread::new::thread_start [INFO] [stdout] 35: [INFO] [stdout] 36: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [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=\"ff8e5ababdde\" LD_LIBRARY_PATH=\"/opt/rustwide/target/debug/deps:/opt/rustwide/rustup-home/toolchains/c2e32f1c9652b13ed99608599c1e855462f421f3/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=\"c2e32f1c9652b13ed99608599c1e855462f421f3\" 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: ::expand_with_safety [INFO] [stdout] 22: ::fully_expand_fragment [INFO] [stdout] 23: ::expand_crate [INFO] [stdout] 24: rustc_interface::passes::configure_and_expand [INFO] [stdout] 25: rustc_interface::passes::resolver_for_lowering_raw [INFO] [stdout] 26: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> [INFO] [stdout] 27: >::call_once [INFO] [stdout] 28: _RINvNtNtCsgFuYfON5NUV_18rustc_query_system5query8plumbing17try_execute_queryINtCsbp2sd513NZB_16rustc_query_impl13DynamicConfigINtNtB4_6caches11SingleCacheINtNtNtCsaLrXHBdcrrm_12rustc_middle5query5erase6ErasedAhj10_EEKb0_KB3t_KB3t_ENtNtB1f_8plumbing9QueryCtxtKB3t_EB1f_ [INFO] [stdout] 29: rustc_query_impl::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace [INFO] [stdout] 30: , rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core::ops::function::FnOnce<(&rustc_session::session::Session, rustc_middle::ty::context::CurrentGcx, alloc::sync::Arc, &std::sync::once_lock::OnceLock, &rustc_data_structures::sync::worker_local::WorkerLocal, &rustc_data_structures::sync::worker_local::WorkerLocal, rustc_driver_impl::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0} [INFO] [stdout] 31: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} [INFO] [stdout] 32: std::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stdout] 33: <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 34: std::sys::thread::unix::Thread::new::thread_start [INFO] [stdout] 35: [INFO] [stdout] 36: 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] 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] For more information about this error, try `rustc --explain E0425`. [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] [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] 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: value assigned to `id` is never read [INFO] [stdout] --> src/error.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | DeviceNotFound { id: usize, count: usize }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/error.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | DeviceNotFound { id: usize, count: usize }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcrMbUkZ/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libpaste-09b2d69a77edd1a9,libbitflags-0629d6d36c0d1ed3,libthiserror-448a486f92a12a37}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{liblog-2796cc19bfbad145,libcfg_if-7e9efee4241be1ca,libnum_traits-0d36cb6e8692c360,libcuda_driver_sys-e13ef8c19dcf2f53}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lcuda" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcrMbUkZ/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/accel-96fec3a9883beed2" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lcuda [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `accel` (lib test) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ff8e5ababddee5aba6e0a10cf0953f41ca5bd1bb92a159caa99527e48cac6d3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff8e5ababddee5aba6e0a10cf0953f41ca5bd1bb92a159caa99527e48cac6d3f", kill_on_drop: false }` [INFO] [stdout] ff8e5ababddee5aba6e0a10cf0953f41ca5bd1bb92a159caa99527e48cac6d3f