[INFO] cloning repository https://github.com/miquels/webnis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miquels/webnis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiquels%2Fwebnis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiquels%2Fwebnis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9860b3d33a4301d294714650c8c1af7da6f71536 [INFO] building miquels/webnis against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiquels%2Fwebnis" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miquels/webnis on toolchain b755f8b9936d084e0363ce6b393c7e444a37080e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/miquels/webnis [INFO] finished tweaking git repo https://github.com/miquels/webnis [INFO] tweaked toml for git repo https://github.com/miquels/webnis written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/miquels/webnis already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70a3a43e9be61d3989fa7656bb5dde756c27efbba84243018927de6448b0bebe [INFO] running `Command { std: "docker" "start" "-a" "70a3a43e9be61d3989fa7656bb5dde756c27efbba84243018927de6448b0bebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70a3a43e9be61d3989fa7656bb5dde756c27efbba84243018927de6448b0bebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70a3a43e9be61d3989fa7656bb5dde756c27efbba84243018927de6448b0bebe", kill_on_drop: false }` [INFO] [stdout] 70a3a43e9be61d3989fa7656bb5dde756c27efbba84243018927de6448b0bebe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d32f6bd954f9ddd6ba9d8d43b8ace47a4ec6cc62c61539c9b68c105092d9a2c [INFO] running `Command { std: "docker" "start" "-a" "9d32f6bd954f9ddd6ba9d8d43b8ace47a4ec6cc62c61539c9b68c105092d9a2c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling gdbm-sys v0.3.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rlua v0.17.0 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pamsm v0.5.1 [INFO] [stderr] Compiling gdbm v0.2.0 (https://github.com/miquels/gdbm#ca7ad103) [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling syslog v5.0.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling webnis-pam v0.3.0 (/opt/rustwide/workdir/webnis-pam) [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rustls v0.19.0 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling blowfish v0.7.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling webnis-nss v0.1.0 (/opt/rustwide/workdir/webnis-nss) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> webnis-nss/src/webnis.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn getgidlist(&self, name: &str) -> NssResult<(Vec)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - pub fn getgidlist(&self, name: &str) -> NssResult<(Vec)> { [INFO] [stdout] 27 + pub fn getgidlist(&self, name: &str) -> NssResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> webnis-nss/src/webnis.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | 200 ... 299 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> webnis-nss/src/webnis.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | 400 ... 499 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> webnis-nss/src/webnis.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | let mut s = line.trim_right().splitn(2, ' '); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 87 | let mut s = line.trim_end().splitn(2, ' '); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling pwhash v1.0.0 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling tokio-util v0.6.5 [INFO] [stderr] Compiling tokio-stream v0.1.5 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-tungstenite v0.13.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling h2 v0.3.2 [INFO] [stderr] Compiling tk-listen v0.2.1 [INFO] [stderr] Compiling crossfire v0.1.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling webnis-bind v0.1.0 (/opt/rustwide/workdir/webnis-bind) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> webnis-bind/src/request.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn process(ctx: Context, line: String) -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - pub(crate) fn process(ctx: Context, line: String) -> Box + Send> { [INFO] [stdout] 34 + pub(crate) fn process(ctx: Context, line: String) -> Box + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> webnis-bind/src/request.rs:162:115 [INFO] [stdout] | [INFO] [stdout] 162 | ...g, body: Option, try_no: u32) -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 - fn req_with_retries(ctx: &Context, path: String, authorization: String, body: Option, try_no: u32) -> Box + Send> { [INFO] [stdout] 162 + fn req_with_retries(ctx: &Context, path: String, authorization: String, body: Option, try_no: u32) -> Box + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> webnis-bind/src/response.rs:64:53 [INFO] [stdout] | [INFO] [stdout] 64 | Err(e) => return Response::error(400, e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper v0.14.5 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling warp v0.3.1 [INFO] [stderr] Compiling webnis-server v0.7.0 (/opt/rustwide/workdir/webnis-server) [INFO] [stdout] warning: field `mapname` is never read [INFO] [stdout] --> webnis-server/src/lua.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 271 | pub(crate) struct Request { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 275 | pub mapname: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/compiler/rustc_errors/src/lib.rs:1398:9 [INFO] [stderr] stack backtrace: [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_transform/src/generator.rs:760:13: Broken MIR: generator contains type &mut std::option::Option> in MIR, but typeck only knows about {ResumeTy, Opts, config::Config, (), Webnis, config::Server, std::option::Option, &std::string::String, impl futures::Future>, std::option::Option, warp::filter::recover::Recover>, warp::filter::and::And, Exact>>, Exact>>>>, warp::filter::or::Or, impl warp::Filter + std::marker::Copy + warp::filter::FilterBase>, impl warp::Filter + std::marker::Copy + warp::filter::FilterBase>, impl warp::Filter + std::marker::Copy + warp::filter::FilterBase>, impl warp::Filter + std::marker::Copy + warp::filter::FilterBase>, [closure@webnis-server/src/main.rs:126:19: 126:97]>, warp::filter::and_then::AndThen, impl warp::Filter + std::marker::Copy + warp::filter::FilterBase>, impl warp::Filter + std::marker::Copy + warp::filter::FilterBase>, impl warp::Filter + std::marker::Copy + warp::filter::FilterBase>, impl warp::Filter + std::marker::Copy + warp::filter::FilterBase>, impl warp::Filter + std::marker::Copy + warp::filter::FilterBase>, [closure@webnis-server/src/main.rs:148:19: 148:100]>>, warp::filter::and_then::AndThen, impl warp::Filter + std::marker::Copy + warp::filter::FilterBase>, impl warp::Filter + std::marker::Copy + warp::filter::FilterBase>, [closure@webnis-server/src/main.rs:161:19: 161:67]>>>, fn(Rejection) -> impl futures::Future> {util::Reject::handle_rejection}>, impl futures::Future, impl futures::Future>, std::io::Error>>, Arc>, impl futures::Future>, tokio::sync::MutexGuard, Vec>, FuturesUnordered>, std::option::Option>, tokio_stream::stream_ext::next::Next>>, std::option::Option>, Result<(), JoinError>, bool} and [] [INFO] [stdout] --> webnis-server/src/main.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | async fn async_main() { [INFO] [stdout] | _______________________^ [INFO] [stdout] 66 | | let opts = Opts::from_args(); [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | let config = match config::read(&opts.cfg) { [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 0: 0x7f5f00c1f210 - std::backtrace_rs::backtrace::libunwind::trace::h0635bbcc15f1a527 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 1: 0x7f5f00c1f210 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f139649c4717994 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7f5f00c1f210 - std::sys_common::backtrace::_print_fmt::h1bfd64239328f990 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x7f5f00c1f210 - ::fmt::h0228dc1410a56233 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x7f5f00c7a02e - core::fmt::write::hceb37e40129b2ef6 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/core/src/fmt/mod.rs:1202:17 [INFO] [stderr] 5: 0x7f5f00c0fad5 - std::io::Write::write_fmt::h7aef09b2f8dd6912 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/io/mod.rs:1679:15 [INFO] [stderr] 6: 0x7f5f00c21e63 - std::sys_common::backtrace::_print::h9317a39a27ffc158 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x7f5f00c21e63 - std::sys_common::backtrace::print::h3f862bf30220d547 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x7f5f00c21e63 - std::panicking::default_hook::{{closure}}::h5f1809c5cfd4c61f [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x7f5f00c21b4f - std::panicking::default_hook::h48ae03b43c4da387 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x7f5f0349a461 - >::call_once::{shim:vtable#0} [INFO] [stderr] 11: 0x7f5f00c2269d - std::panicking::rust_panic_with_hook::h064155defabdfb6a [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/panicking.rs:702:17 [INFO] [stderr] 12: 0x7f5f036fe651 - std[2aca39d6cbfe9e59]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 13: 0x7f5f036f9796 - std[2aca39d6cbfe9e59]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 14: 0x7f5f036f8b46 - std[2aca39d6cbfe9e59]::panicking::begin_panic:: [INFO] [stderr] 15: 0x7f5f03741be6 - std[2aca39d6cbfe9e59]::panic::panic_any:: [INFO] [stderr] 16: 0x7f5f03740801 - ::span_bug:: [INFO] [stderr] 17: 0x7f5f03740570 - ::span_bug:: [INFO] [stderr] 18: 0x7f5f0376d788 - rustc_middle[7be35d0dc781b06b]::ty::context::tls::with_context_opt::::{closure#0}, ()>::{closure#0}, ()> [INFO] [stderr] 19: 0x7f5f0376d5a6 - rustc_middle[7be35d0dc781b06b]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 20: 0x7f5f0376d564 - rustc_middle[7be35d0dc781b06b]::util::bug::span_bug_fmt:: [INFO] [stderr] 21: 0x7f5f036f476d - ::run_pass [INFO] [stderr] 22: 0x7f5f01f3af3a - rustc_mir_transform[f8f749f4a15136ee]::pass_manager::run_passes_no_validate [INFO] [stderr] 23: 0x7f5f01f341d4 - rustc_mir_transform[f8f749f4a15136ee]::run_analysis_to_runtime_passes [INFO] [stderr] 24: 0x7f5f01f331e1 - rustc_mir_transform[f8f749f4a15136ee]::mir_drops_elaborated_and_const_checked [INFO] [stderr] 25: 0x7f5f02af61ea - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::try_execute_query::, &rustc_data_structures[54467c84bdba8388]::steal::Steal>> [INFO] [stderr] 26: 0x7f5f033db2fc - ::mir_drops_elaborated_and_const_checked [INFO] [stderr] 27: 0x7f5f01f99afb - rustc_mir_transform[f8f749f4a15136ee]::optimized_mir [INFO] [stderr] 28: 0x7f5f024d7ae9 - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::try_execute_query::> [INFO] [stderr] 29: 0x7f5f033db721 - ::optimized_mir [INFO] [stderr] 30: 0x7f5f044f04ec - ::generator_layout [INFO] [stderr] 31: 0x7f5f02d30079 - >::layout_of_uncached [INFO] [stderr] 32: 0x7f5f02d2ab8c - rustc_middle[7be35d0dc781b06b]::ty::layout::layout_of [INFO] [stderr] 33: 0x7f5f02970d73 - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::get_query:: [INFO] [stderr] 34: 0x7f5f02970933 - ::layout_of [INFO] [stderr] 35: 0x7f5f02747643 - , >::layout_of_uncached::{closure#5}::{closure#0}>, core[87f6064f357e42c2]::result::Result> as core[87f6064f357e42c2]::iter::traits::iterator::Iterator>::next [INFO] [stderr] 36: 0x7f5f02746781 - >> as alloc[70b5d75d5e7e3937]::vec::spec_from_iter::SpecFromIter>, core[87f6064f357e42c2]::iter::adapters::GenericShunt, >::layout_of_uncached::{closure#5}>, core[87f6064f357e42c2]::result::Result>>>::from_iter [INFO] [stderr] 37: 0x7f5f02d2baf8 - >::layout_of_uncached [INFO] [stderr] 38: 0x7f5f02d2ab8c - rustc_middle[7be35d0dc781b06b]::ty::layout::layout_of [INFO] [stderr] 39: 0x7f5f02970d73 - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::get_query:: [INFO] [stderr] 40: 0x7f5f02970933 - ::layout_of [INFO] [stderr] 41: 0x7f5f02d2b20e - rustc_middle[7be35d0dc781b06b]::ty::layout::layout_of [INFO] [stderr] 42: 0x7f5f02970d73 - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::get_query:: [INFO] [stderr] 43: 0x7f5f02970933 - ::layout_of [INFO] [stderr] 44: 0x7f5f02b0a9ab - ::check [INFO] [stderr] 45: 0x7f5f02b014f3 - ::run_lint [INFO] [stderr] 46: 0x7f5f01f3af3a - rustc_mir_transform[f8f749f4a15136ee]::pass_manager::run_passes_no_validate [INFO] [stderr] 47: 0x7f5f01f341d4 - rustc_mir_transform[f8f749f4a15136ee]::run_analysis_to_runtime_passes [INFO] [stderr] 48: 0x7f5f01f331e1 - rustc_mir_transform[f8f749f4a15136ee]::mir_drops_elaborated_and_const_checked [INFO] [stderr] 49: 0x7f5f02af61ea - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::try_execute_query::, &rustc_data_structures[54467c84bdba8388]::steal::Steal>> [INFO] [stderr] 50: 0x7f5f033db2fc - ::mir_drops_elaborated_and_const_checked [INFO] [stderr] 51: 0x7f5f01f99afb - rustc_mir_transform[f8f749f4a15136ee]::optimized_mir [INFO] [stderr] 52: 0x7f5f024d7ae9 - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::try_execute_query::> [INFO] [stderr] 53: 0x7f5f033db721 - ::optimized_mir [INFO] [stderr] 54: 0x7f5f020b4eb6 - ::instance_mir [INFO] [stderr] 55: 0x7f5f020a998c - rustc_monomorphize[19f1ef73da73a7d8]::collector::collect_neighbours [INFO] [stderr] 56: 0x7f5f020a7812 - rustc_monomorphize[19f1ef73da73a7d8]::collector::collect_items_rec [INFO] [stderr] 57: 0x7f5f02c3cabe - rustc_data_structures[54467c84bdba8388]::sync::par_for_each_in::, rustc_monomorphize[19f1ef73da73a7d8]::collector::collect_crate_mono_items::{closure#1}::{closure#0}> [INFO] [stderr] 58: 0x7f5f02c3c93c - ::time::<(), rustc_monomorphize[19f1ef73da73a7d8]::collector::collect_crate_mono_items::{closure#1}> [INFO] [stderr] 59: 0x7f5f02c3c5a9 - rustc_monomorphize[19f1ef73da73a7d8]::collector::collect_crate_mono_items [INFO] [stderr] 60: 0x7f5f02c3b416 - rustc_monomorphize[19f1ef73da73a7d8]::partitioning::collect_and_partition_mono_items [INFO] [stderr] 61: 0x7f5f0326244e - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::try_execute_query::>, &[rustc_middle[7be35d0dc781b06b]::mir::mono::CodegenUnit])>> [INFO] [stderr] 62: 0x7f5f03262127 - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::get_query:: [INFO] [stderr] 63: 0x7f5f0326205e - ::collect_and_partition_mono_items [INFO] [stderr] 64: 0x7f5f02f9cbe2 - rustc_codegen_ssa[33e4c67eaae29b5]::base::codegen_crate:: [INFO] [stderr] 65: 0x7f5f02f9c9ae - ::codegen_crate [INFO] [stderr] 66: 0x7f5f0228d2bc - ::time::, rustc_interface[4ffcd4abddbf64f2]::passes::start_codegen::{closure#0}> [INFO] [stderr] 67: 0x7f5f0228cc9e - ::enter::<::ongoing_codegen::{closure#0}::{closure#0}, core[87f6064f357e42c2]::result::Result, rustc_errors[7468fe47648b8434]::ErrorGuaranteed>> [INFO] [stderr] 68: 0x7f5f0224d2c3 - ::ongoing_codegen [INFO] [stderr] 69: 0x7f5f0224b6fd - rustc_interface[4ffcd4abddbf64f2]::interface::create_compiler_and_run::, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}> [INFO] [stderr] 70: 0x7f5f0224a011 - >::set::, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>> [INFO] [stderr] 71: 0x7f5f02249cff - std[2aca39d6cbfe9e59]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>> [INFO] [stderr] 72: 0x7f5f03310e89 - <::spawn_unchecked_, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>>::{closure#1} as core[87f6064f357e42c2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 73: 0x7f5f00c2c4f3 - as core::ops::function::FnOnce>::call_once::h3998462ded511e97 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 74: 0x7f5f00c2c4f3 - as core::ops::function::FnOnce>::call_once::hb68442c5b53e403f [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 75: 0x7f5f00c2c4f3 - std::sys::unix::thread::Thread::new::thread_start::h9c65d60d9d9c7be4 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 76: 0x7f5f00add609 - start_thread [INFO] [stderr] 77: 0x7f5f00a00133 - clone [INFO] [stderr] 78: 0x0 - [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: rustc 1.65.0-nightly (b755f8b99 2022-09-07) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [mir_drops_elaborated_and_const_checked] elaborating drops for `async_main::{closure#0}` [INFO] [stderr] #1 [optimized_mir] optimizing MIR for `async_main::{closure#0}` [INFO] [stderr] #2 [layout_of] computing layout of `[static generator@webnis-server/src/main.rs:65:23: 234:2]` [INFO] [stderr] #3 [layout_of] computing layout of `core::future::from_generator::GenFuture<[static generator@webnis-server/src/main.rs:65:23: 234:2]>` [INFO] [stderr] #4 [layout_of] computing layout of `impl core::future::future::Future` [INFO] [stderr] #5 [mir_drops_elaborated_and_const_checked] elaborating drops for `main` [INFO] [stderr] #6 [optimized_mir] optimizing MIR for `main` [INFO] [stderr] #7 [collect_and_partition_mono_items] collect_and_partition_mono_items [INFO] [stderr] end of query stack [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `webnis-server` due to previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9d32f6bd954f9ddd6ba9d8d43b8ace47a4ec6cc62c61539c9b68c105092d9a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d32f6bd954f9ddd6ba9d8d43b8ace47a4ec6cc62c61539c9b68c105092d9a2c", kill_on_drop: false }` [INFO] [stdout] 9d32f6bd954f9ddd6ba9d8d43b8ace47a4ec6cc62c61539c9b68c105092d9a2c