Rust failing to build a library doesn't raise docker.errors.BuildError
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 13d 8h
- Merged PRs (30d)
- 2
Description
I was building a Docker image which failed due to Rust failed to compile a library. However, it didn't raise any exception.
Step 1/5 : FROM dclong/jupyterhub-jdk:latest
---> 9ef0236b1acc
Step 2/5 : RUN pip3 install kotlin-jupyter-kernel
---> Using cache
---> 191a653744af
Step 3/5 : RUN curl -L -o /usr/local/bin/coursier https://git.io/coursier-cli && chmod +x /usr/local/bin/coursier && /usr/local/bin/coursier launch almond --scala 2.12 --quiet -- --install --global
---> Using cache
---> f67e97667686
Step 4/5 : RUN npm install -g tslab && tslab install --python=python3
---> Using cache
---> 12722d96e163
Step 5/5 : RUN apt-add-repository -y ppa:ubuntu-mozilla-security/rust-updates && apt-get update && apt-get install -y rustc rust-src cargo cmake && cargo install --force evcxr_jupyter && /root/.cargo/bin/evcxr_jupyter --install && cp -r /root/.local/share/jupyter/kernels/rust /usr/local/share/jupyter/kernels/ && chmod -R 755 /root && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*
---> Running in a5692914f508
Get:1 http://ppa.launchpad.net/ubuntu-mozilla-security/rust-updates/ubuntu focal InRelease [23.9 kB]
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:5 http://ppa.launchpad.net/ubuntu-mozilla-security/rust-updates/ubuntu focal/main amd64 Packages [5,709 B]
Get:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Fetched 353 kB in 2s (228 kB/s)
Reading package lists...
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://ppa.launchpad.net/ubuntu-mozilla-security/rust-updates/ubuntu focal InRelease
Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Fetched 101 kB in 1s (143 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
cmake-data gdb gdbserver libarchive13 libbabeltrace1 libc6-dbg libdw1
libhttp-parser2.9 libjsoncpp1 librhash0 libssh2-1 libstd-rust-1.50
libstd-rust-dev rust-gdb
Suggested packages:
cargo-doc cmake-doc ninja-build gdb-doc lrzip rust-doc lld-11
Recommended packages:
cargo
The following NEW packages will be installed:
cargo cmake cmake-data gdb gdbserver libarchive13 libbabeltrace1 libc6-dbg
libdw1 libhttp-parser2.9 libjsoncpp1 librhash0 libssh2-1 libstd-rust-1.50
libstd-rust-dev rust-gdb rust-src rustc
0 upgraded, 18 newly installed, 0 to remove and 8 not upgraded.
Need to get 110 MB of archives.
After this operation, 614 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 cmake-data all 3.16.3-1ubuntu1 [1,612 kB]
Get:2 http://ppa.launchpad.net/ubuntu-mozilla-security/rust-updates/ubuntu focal/main amd64 libstd-rust-1.50 amd64 1.50.0+dfsg1+llvm-0ubuntu5~20.04.1 [40.1 MB]
Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 libarchive13 amd64 3.4.0-2ubuntu1 [327 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 libjsoncpp1 amd64 1.7.4-3.1ubuntu2 [75.6 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 librhash0 amd64 1.3.9-1 [113 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 cmake amd64 3.16.3-1ubuntu1 [3,669 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 libdw1 amd64 0.176-1.1build1 [226 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 libbabeltrace1 amd64 1.5.8-1build1 [156 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gdb amd64 9.2-0ubuntu1~20.04 [3,221 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gdbserver amd64 9.2-0ubuntu1~20.04 [222 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal/universe amd64 libhttp-parser2.9 amd64 2.9.2-2 [21.8 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal/universe amd64 libssh2-1 amd64 1.8.0-2.1build1 [75.4 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 cargo amd64 0.47.0-1~exp1ubuntu1~20.04.1 [3,147 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6-dbg amd64 2.31-0ubuntu9.2 [10.5 MB]
Get:15 http://ppa.launchpad.net/ubuntu-mozilla-security/rust-updates/ubuntu focal/main amd64 libstd-rust-dev amd64 1.50.0+dfsg1+llvm-0ubuntu5~20.04.1 [31.9 MB]
Get:16 http://ppa.launchpad.net/ubuntu-mozilla-security/rust-updates/ubuntu focal/main amd64 rust-gdb all 1.50.0+dfsg1+llvm-0ubuntu5~20.04.1 [28.3 kB]
Get:17 http://ppa.launchpad.net/ubuntu-mozilla-security/rust-updates/ubuntu focal/main amd64 rust-src all 1.50.0+dfsg1+llvm-0ubuntu5~20.04.1 [12.5 MB]
Get:18 http://ppa.launchpad.net/ubuntu-mozilla-security/rust-updates/ubuntu focal/main amd64 rustc amd64 1.50.0+dfsg1+llvm-0ubuntu5~20.04.1 [2,238 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 110 MB in 15s (7,554 kB/s)
Selecting previously unselected package cmake-data.
(Reading database ... 47878 files and directories currently installed.)
Preparing to unpack .../00-cmake-data_3.16.3-1ubuntu1_all.deb ...
Unpacking cmake-data (3.16.3-1ubuntu1) ...
Selecting previously unselected package libarchive13:amd64.
Preparing to unpack .../01-libarchive13_3.4.0-2ubuntu1_amd64.deb ...
Unpacking libarchive13:amd64 (3.4.0-2ubuntu1) ...
Selecting previously unselected package libjsoncpp1:amd64.
Preparing to unpack .../02-libjsoncpp1_1.7.4-3.1ubuntu2_amd64.deb ...
Unpacking libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ...
Selecting previously unselected package librhash0:amd64.
Preparing to unpack .../03-librhash0_1.3.9-1_amd64.deb ...
Unpacking librhash0:amd64 (1.3.9-1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../04-cmake_3.16.3-1ubuntu1_amd64.deb ...
Unpacking cmake (3.16.3-1ubuntu1) ...
Selecting previously unselected package libdw1:amd64.
Preparing to unpack .../05-libdw1_0.176-1.1build1_amd64.deb ...
Unpacking libdw1:amd64 (0.176-1.1build1) ...
Selecting previously unselected package libbabeltrace1:amd64.
Preparing to unpack .../06-libbabeltrace1_1.5.8-1build1_amd64.deb ...
Unpacking libbabeltrace1:amd64 (1.5.8-1build1) ...
Selecting previously unselected package gdb.
Preparing to unpack .../07-gdb_9.2-0ubuntu1~20.04_amd64.deb ...
Unpacking gdb (9.2-0ubuntu1~20.04) ...
Selecting previously unselected package gdbserver.
Preparing to unpack .../08-gdbserver_9.2-0ubuntu1~20.04_amd64.deb ...
Unpacking gdbserver (9.2-0ubuntu1~20.04) ...
Selecting previously unselected package libhttp-parser2.9:amd64.
Preparing to unpack .../09-libhttp-parser2.9_2.9.2-2_amd64.deb ...
Unpacking libhttp-parser2.9:amd64 (2.9.2-2) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../10-libssh2-1_1.8.0-2.1build1_amd64.deb ...
Unpacking libssh2-1:amd64 (1.8.0-2.1build1) ...
Selecting previously unselected package libstd-rust-1.50:amd64.
Preparing to unpack .../11-libstd-rust-1.50_1.50.0+dfsg1+llvm-0ubuntu5~20.04.1_amd64.deb ...
Unpacking libstd-rust-1.50:amd64 (1.50.0+dfsg1+llvm-0ubuntu5~20.04.1) ...
Selecting previously unselected package libstd-rust-dev:amd64.
Preparing to unpack .../12-libstd-rust-dev_1.50.0+dfsg1+llvm-0ubuntu5~20.04.1_amd64.deb ...
Unpacking libstd-rust-dev:amd64 (1.50.0+dfsg1+llvm-0ubuntu5~20.04.1) ...
Selecting previously unselected package rust-gdb.
Preparing to unpack .../13-rust-gdb_1.50.0+dfsg1+llvm-0ubuntu5~20.04.1_all.deb ...
Unpacking rust-gdb (1.50.0+dfsg1+llvm-0ubuntu5~20.04.1) ...
Selecting previously unselected package rust-src.
Preparing to unpack .../14-rust-src_1.50.0+dfsg1+llvm-0ubuntu5~20.04.1_all.deb ...
Unpacking rust-src (1.50.0+dfsg1+llvm-0ubuntu5~20.04.1) ...
Selecting previously unselected package rustc.
Preparing to unpack .../15-rustc_1.50.0+dfsg1+llvm-0ubuntu5~20.04.1_amd64.deb ...
Unpacking rustc (1.50.0+dfsg1+llvm-0ubuntu5~20.04.1) ...
Selecting previously unselected package cargo.
Preparing to unpack .../16-cargo_0.47.0-1~exp1ubuntu1~20.04.1_amd64.deb ...
Unpacking cargo (0.47.0-1~exp1ubuntu1~20.04.1) ...
Selecting previously unselected package libc6-dbg:amd64.
Preparing to unpack .../17-libc6-dbg_2.31-0ubuntu9.2_amd64.deb ...
Unpacking libc6-dbg:amd64 (2.31-0ubuntu9.2) ...
Setting up libdw1:amd64 (0.176-1.1build1) ...
Setting up libstd-rust-1.50:amd64 (1.50.0+dfsg1+llvm-0ubuntu5~20.04.1) ...
Setting up libarchive13:amd64 (3.4.0-2ubuntu1) ...
Setting up libc6-dbg:amd64 (2.31-0ubuntu9.2) ...
Setting up libstd-rust-dev:amd64 (1.50.0+dfsg1+llvm-0ubuntu5~20.04.1) ...
Setting up rust-src (1.50.0+dfsg1+llvm-0ubuntu5~20.04.1) ...
Setting up libbabeltrace1:amd64 (1.5.8-1build1) ...
Setting up rustc (1.50.0+dfsg1+llvm-0ubuntu5~20.04.1) ...
Setting up librhash0:amd64 (1.3.9-1) ...
Setting up gdbserver (9.2-0ubuntu1~20.04) ...
Setting up libssh2-1:amd64 (1.8.0-2.1build1) ...
Setting up cmake-data (3.16.3-1ubuntu1) ...
Setting up libhttp-parser2.9:amd64 (2.9.2-2) ...
Setting up libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ...
Setting up cargo (0.47.0-1~exp1ubuntu1~20.04.1) ...
Setting up gdb (9.2-0ubuntu1~20.04) ...
Setting up cmake (3.16.3-1ubuntu1) ...
Setting up rust-gdb (1.50.0+dfsg1+llvm-0ubuntu5~20.04.1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for man-db (2.9.1-1) ...
Updating crates.io index
Downloading crates ...
Downloaded evcxr_jupyter v0.9.0
Installing evcxr_jupyter v0.9.0
Downloading crates ...
Downloaded dirs-sys v0.3.5
Downloaded dirs v3.0.1
Downloaded ena v0.14.0
Downloaded error-chain v0.10.0
Downloaded either v1.6.1
Downloaded crypto-mac v0.10.0
Downloaded digest v0.9.0
Downloaded addr2line v0.14.1
Downloaded drop_bomb v0.1.5
Downloaded evcxr_input v1.0.0
Downloaded evcxr v0.9.0
Downloaded inotify-sys v0.1.5
Downloaded home v0.5.3
Downloaded jod-thread v0.1.2
Downloaded inotify v0.9.2
Downloaded metadeps v1.1.2
Downloaded perf-event v0.4.6
Downloaded pulldown-cmark v0.8.0
Downloaded pulldown-cmark-to-cmark v6.0.0
Downloaded heck v0.3.2
Downloaded indexmap v1.6.2
Downloaded fixedbitset v0.2.0
Downloaded itoa v0.4.7
Downloaded itertools v0.10.0
Downloaded matches v0.1.8
Downloaded num_cpus v1.13.0
Downloaded oorandom v11.1.3
Downloaded ppv-lite86 v0.2.10
Downloaded percent-encoding v2.1.0
Downloaded num-integer v0.1.44
Downloaded pkg-config v0.3.19
Downloaded pin-project-lite v0.2.6
Downloaded once_cell v1.7.2
Downloaded parking_lot v0.11.1
Downloaded proc-macro2 v1.0.26
Downloaded pest v2.1.3
Downloaded mio v0.7.11
Downloaded parking_lot_core v0.8.3
Downloaded miniz_oxide v0.4.4
Downloaded num-traits v0.2.14
Downloaded log v0.4.14
Downloaded libloading v0.7.0
Downloaded memchr v2.3.4
Downloaded petgraph v0.5.1
Downloaded ra_ap_hir_expand v0.0.45
Downloaded ra_ap_ide_completion v0.0.45
Downloaded ra_ap_toolchain v0.0.45
Downloaded rand_chacha v0.3.0
Downloaded rand v0.8.3
Downloaded atty v0.2.14
Downloaded adler v1.0.2
Downloaded ansi_term v0.12.1
Downloaded idna v0.2.2
Downloaded ra_ap_vfs-notify v0.0.45
Downloaded ra_ap_tt v0.0.45
Downloaded chalk-recursive v0.60.0
Downloaded chalk-ir v0.60.0
Downloaded chalk-derive v0.60.0
Downloaded libc v0.2.93
Downloaded colored v2.0.0
Downloaded rustc-ap-rustc_lexer v710.0.0
Downloaded countme v2.0.4
Downloaded cfg-if v1.0.0
Downloaded crossbeam-deque v0.8.0
Downloaded crossbeam-utils v0.8.3
Downloaded cpuid-bool v0.1.2
Downloaded remove_dir_all v0.5.3
Downloaded hex v0.4.3
Downloaded byteorder v1.4.3
Downloaded cov-mark v1.1.0
Downloaded regex-automata v0.1.9
Downloaded rustc-hash v1.1.0
Downloaded rayon v1.5.0
Downloaded rustc-demangle v0.1.18
Downloaded rowan v0.13.0-pre.3
Downloaded regex-syntax v0.6.23
Downloaded rayon-core v1.9.0
Downloaded salsa-macros v0.16.0
Downloaded gimli v0.23.0
Downloaded syn v1.0.69
Downloaded semver-parser v0.10.2
Downloaded serde v1.0.125
Downloaded synstructure v0.12.4
Downloaded subtle v2.4.0
Downloaded sig v1.0.0
Downloaded text-size v1.1.0
Downloaded toml v0.2.1
Downloaded time v0.1.44
Downloaded tracing-log v0.1.2
Downloaded tracing v0.1.25
Downloaded ucd-trie v0.1.3
Downloaded unicode-segmentation v1.7.1
Downloaded walkdir v2.3.2
Downloaded unicode-xid v0.2.1
Downloaded unicode-normalization v0.1.17
Downloaded typenum v1.13.0
Downloaded tinyvec_macros v0.1.0
Downloaded salsa v0.16.0
Downloaded uuid v0.8.2
Downloaded url v2.2.1
Downloaded zmq v0.9.2
Downloaded version_check v0.9.3
Downloaded zmq-sys v0.11.0
Downloaded same-file v1.0.6
Downloaded zeromq-src v0.1.10+4.3.2
Downloaded tracing-serde v0.1.2
Downloaded ra_ap_vfs v0.0.45
Downloaded crossbeam-epoch v0.9.3
Downloaded serde_json v1.0.64
Downloaded which v4.1.0
Downloaded ra_ap_ide v0.0.45
Downloaded tracing-attributes v0.1.15
Downloaded fst v0.4.5
Downloaded termcolor v1.1.2
Downloaded unicode-bidi v0.3.5
Downloaded tracing-subscriber v0.2.17
Downloaded unicase v2.6.0
Downloaded semver v0.11.0
Downloaded tracing-tree v0.1.9
Downloaded tracing-core v0.1.17
Downloaded smol_str v0.1.17
Downloaded tinyvec v1.2.0
Downloaded thread_local v1.1.3
Downloaded tempfile v3.2.0
Downloaded snap v1.0.4
Downloaded sharded-slab v0.1.1
Downloaded sha2 v0.9.3
Downloaded smallvec v1.6.1
Downloaded serde_derive v1.0.125
Downloaded scoped-tls v1.0.0
Downloaded scopeguard v1.1.0
Downloaded dissimilar v1.0.2
Downloaded cc v1.0.67
Downloaded ryu v1.0.5
Downloaded rand_core v0.6.2
Downloaded regex v1.4.5
Downloaded object v0.23.0
Downloaded cargo_metadata v0.13.1
Downloaded cargo-platform v0.1.1
Downloaded camino v1.0.4
Downloaded chrono v0.4.19
Downloaded backtrace v0.3.56
Downloaded bitflags v1.2.1
Downloaded crossbeam-channel v0.5.1
Downloaded block-buffer v0.9.0
Downloaded autocfg v1.0.1
Downloaded cmake v0.1.45
Downloaded chalk-solve v0.60.0
Downloaded anyhow v1.0.40
Downloaded quote v1.0.9
Downloaded matchers v0.0.1
Downloaded arrayvec v0.6.1
Downloaded anymap v0.12.1
Downloaded always-assert v0.1.2
Downloaded ra_ap_text_edit v0.0.45
Downloaded ra_ap_test_utils v0.0.45
Downloaded ra_ap_syntax v0.0.45
Downloaded ra_ap_stdx v0.0.45
Downloaded ra_ap_project_model v0.0.45
Downloaded ra_ap_profile v0.0.45
Downloaded ra_ap_proc_macro_api v0.0.45
Downloaded ra_ap_paths v0.0.45
Downloaded ra_ap_parser v0.0.45
Downloaded ra_ap_mbe v0.0.45
Downloaded ra_ap_la-arena v0.0.45
Downloaded ra_ap_ide_ssr v0.0.45
Downloaded ra_ap_ide_db v0.0.45
Downloaded ra_ap_hir_def v0.0.45
Downloaded ra_ap_ide_assists v0.0.45
Downloaded ra_ap_hir_ty v0.0.45
Downloaded ra_ap_hir v0.0.45
Downloaded ra_ap_cfg v0.0.45
Downloaded ra_ap_base_db v0.0.45
Downloaded notify v5.0.0-pre.7
Downloaded opaque-debug v0.3.0
Downloaded generic-array v0.14.4
Downloaded lazy_static v1.4.0
Downloaded memoffset v0.6.3
Downloaded hmac v0.10.1
Downloaded instant v0.1.9
Downloaded filetime v0.2.14
Downloaded form_urlencoded v1.0.1
Downloaded hashbrown v0.9.1
Downloaded getrandom v0.2.2
Downloaded dashmap v4.0.2
Downloaded perf-event-open-sys v1.0.1
Downloaded memmap v0.7.0
Downloaded lock_api v0.4.3
Downloaded json v0.12.4
Compiling libc v0.2.93
Compiling cfg-if v1.0.0
Compiling autocfg v1.0.1
Compiling unicode-xid v0.2.1
Compiling proc-macro2 v1.0.26
Compiling syn v1.0.69
Compiling lazy_static v1.4.0
Compiling log v0.4.14
Compiling serde_derive v1.0.125
Compiling serde v1.0.125
Compiling rustc-hash v1.1.0
Compiling once_cell v1.7.2
Compiling smallvec v1.6.1
Compiling hashbrown v0.9.1
Compiling either v1.6.1
Compiling scopeguard v1.1.0
Compiling bitflags v1.2.1
Compiling ryu v1.0.5
Compiling text-size v1.1.0
Compiling serde_json v1.0.64
Compiling fst v0.4.5
Compiling ra_ap_la-arena v0.0.45
Compiling unicode-segmentation v1.7.1
Compiling itoa v0.4.7
Compiling drop_bomb v0.1.5
Compiling regex-syntax v0.6.23
Compiling arrayvec v0.6.1
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:42:30
|
42 | pub struct ArrayVec<T, const CAP: usize> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:48:15
|
48 | impl<T, const CAP: usize> Drop for ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:63:15
|
63 | impl<T, const CAP: usize> ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:616:15
|
616 | impl<T, const CAP: usize> ArrayVecImpl for ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:636:15
|
636 | impl<T, const CAP: usize> Deref for ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:644:15
|
644 | impl<T, const CAP: usize> DerefMut for ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:661:15
|
661 | impl<T, const CAP: usize> From<[T; CAP]> for ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:686:15
|
686 | impl<T, const CAP: usize> std::convert::TryFrom<&[T]> for ArrayVec<T, CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:714:23
|
714 | impl<'a, T: 'a, const CAP: usize> IntoIterator for &'a ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:731:23
|
731 | impl<'a, T: 'a, const CAP: usize> IntoIterator for &'a mut ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:748:15
|
748 | impl<T, const CAP: usize> IntoIterator for ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:758:30
|
758 | pub struct IntoIter<T, const CAP: usize> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:763:15
|
763 | impl<T, const CAP: usize> Iterator for IntoIter<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:784:15
|
784 | impl<T, const CAP: usize> DoubleEndedIterator for IntoIter<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:798:15
|
798 | impl<T, const CAP: usize> ExactSizeIterator for IntoIter<T, CAP> { }
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:800:15
|
800 | impl<T, const CAP: usize> Drop for IntoIter<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:815:15
|
815 | impl<T, const CAP: usize> Clone for IntoIter<T, CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:825:15
|
825 | impl<T, const CAP: usize> fmt::Debug for IntoIter<T, CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:837:35
|
837 | pub struct Drain<'a, T: 'a, const CAP: usize> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:847:32
|
847 | unsafe impl<'a, T: Sync, const CAP: usize> Sync for Drain<'a, T, CAP> {}
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:848:32
|
848 | unsafe impl<'a, T: Send, const CAP: usize> Send for Drain<'a, T, CAP> {}
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:850:23
|
850 | impl<'a, T: 'a, const CAP: usize> Iterator for Drain<'a, T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:866:23
|
866 | impl<'a, T: 'a, const CAP: usize> DoubleEndedIterator for Drain<'a, T, CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:877:23
|
877 | impl<'a, T: 'a, const CAP: usize> ExactSizeIterator for Drain<'a, T, CAP> {}
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:879:23
|
879 | impl<'a, T: 'a, const CAP: usize> Drop for Drain<'a, T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:922:15
|
922 | impl<T, const CAP: usize> Extend<T> for ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:939:15
|
939 | impl<T, const CAP: usize> ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:946:52
|
946 | pub(crate) unsafe fn extend_from_iter<I, const CHECK: bool>(&mut self, iterable: I)
| ^^^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:1005:15
|
1005 | impl<T, const CAP: usize> iter::FromIterator<T> for ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:1016:15
|
1016 | impl<T, const CAP: usize> Clone for ArrayVec<T, CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:1040:15
|
1040 | impl<T, const CAP: usize> Hash for ArrayVec<T, CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:1048:15
|
1048 | impl<T, const CAP: usize> PartialEq for ArrayVec<T, CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:1056:15
|
1056 | impl<T, const CAP: usize> PartialEq<[T]> for ArrayVec<T, CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:1064:15
|
1064 | impl<T, const CAP: usize> Eq for ArrayVec<T, CAP> where T: Eq { }
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:1066:15
|
1066 | impl<T, const CAP: usize> Borrow<[T]> for ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:1070:15
|
1070 | impl<T, const CAP: usize> BorrowMut<[T]> for ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:1074:15
|
1074 | impl<T, const CAP: usize> AsRef<[T]> for ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:1078:15
|
1078 | impl<T, const CAP: usize> AsMut<[T]> for ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:1082:15
|
1082 | impl<T, const CAP: usize> fmt::Debug for ArrayVec<T, CAP> where T: fmt::Debug {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:1086:15
|
1086 | impl<T, const CAP: usize> Default for ArrayVec<T, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:1093:15
|
1093 | impl<T, const CAP: usize> PartialOrd for ArrayVec<T, CAP> where T: PartialOrd {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:1115:15
|
1115 | impl<T, const CAP: usize> Ord for ArrayVec<T, CAP> where T: Ord {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/arrayvec.rs:1125:12
|
1125 | impl<const CAP: usize> io::Write for ArrayVec<u8, CAP> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:34:30
|
34 | pub struct ArrayString<const CAP: usize> {
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:40:12
|
40 | impl<const CAP: usize> Default for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:48:12
|
48 | impl<const CAP: usize> ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:366:12
|
366 | impl<const CAP: usize> Deref for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:378:12
|
378 | impl<const CAP: usize> DerefMut for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:390:12
|
390 | impl<const CAP: usize> PartialEq for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:397:12
|
397 | impl<const CAP: usize> PartialEq<str> for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:404:12
|
404 | impl<const CAP: usize> PartialEq<ArrayString<CAP>> for str
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:411:12
|
411 | impl<const CAP: usize> Eq for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:414:12
|
414 | impl<const CAP: usize> Hash for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:421:12
|
421 | impl<const CAP: usize> Borrow<str> for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:426:12
|
426 | impl<const CAP: usize> AsRef<str> for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:431:12
|
431 | impl<const CAP: usize> fmt::Debug for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:436:12
|
436 | impl<const CAP: usize> fmt::Display for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:442:12
|
442 | impl<const CAP: usize> fmt::Write for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:453:12
|
453 | impl<const CAP: usize> Clone for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:465:12
|
465 | impl<const CAP: usize> PartialOrd for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:476:12
|
476 | impl<const CAP: usize> PartialOrd<str> for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:487:12
|
487 | impl<const CAP: usize> PartialOrd<ArrayString<CAP>> for str
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:498:12
|
498 | impl<const CAP: usize> Ord for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:505:12
|
505 | impl<const CAP: usize> FromStr for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:563:16
|
563 | impl<'a, const CAP: usize> TryFrom<&'a str> for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/array_string.rs:574:16
|
574 | impl<'a, const CAP: usize> TryFrom<fmt::Arguments<'a>> for ArrayString<CAP>
| ^^^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/utils.rs:4:44
|
4 | pub(crate) struct MakeMaybeUninit<T, const N: usize>(PhantomData<fn() -> T>);
| ^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.6.1/src/utils.rs:6:15
|
6 | impl<T, const N: usize> MakeMaybeUninit<T, N> {
| ^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
error: aborting due to 68 previous errors
For more information about this error, try `rustc --explain E0658`.
error: could not compile `arrayvec`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `evcxr_jupyter v0.9.0`, intermediate artifacts can be found at `/tmp/cargo-installU8PT5O`
Caused by:
build failed
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the Docker Python library's build entry point and the docker.errors.BuildError behavior while reproducing the reported image build with a Rust compilation failure. Done means the failed build is surfaced as a docker.errors.BuildError rather than completing without an exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python, rust
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100