[INFO] cloning repository https://github.com/ai-chen2050/Learning-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ai-chen2050/Learning-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fai-chen2050%2FLearning-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fai-chen2050%2FLearning-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffa58a4fe92aa7b71ef75a70b4ce5affb7f53054 [INFO] checking ai-chen2050/Learning-rust/ffa58a4fe92aa7b71ef75a70b4ce5affb7f53054 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fai-chen2050%2FLearning-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ai-chen2050/Learning-rust on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ai-chen2050/Learning-rust [INFO] finished tweaking git repo https://github.com/ai-chen2050/Learning-rust [INFO] tweaked toml for git repo https://github.com/ai-chen2050/Learning-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ai-chen2050/Learning-rust 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-3-tc2/source/projs/wasm-hello/hello-wasm/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d023381d4d184d0d4b467b2ed1536709ec76098bf2284d10ef30041cfa64a5fe [INFO] running `Command { std: "docker" "start" "-a" "d023381d4d184d0d4b467b2ed1536709ec76098bf2284d10ef30041cfa64a5fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d023381d4d184d0d4b467b2ed1536709ec76098bf2284d10ef30041cfa64a5fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d023381d4d184d0d4b467b2ed1536709ec76098bf2284d10ef30041cfa64a5fe", kill_on_drop: false }` [INFO] [stdout] d023381d4d184d0d4b467b2ed1536709ec76098bf2284d10ef30041cfa64a5fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3eafa0d8ce022e093e24af6ef7bc3d07f5673150f3d907396eda754d814a11ab [INFO] running `Command { std: "docker" "start" "-a" "3eafa0d8ce022e093e24af6ef7bc3d07f5673150f3d907396eda754d814a11ab", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/projs/wasm-hello/hello-wasm/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking value-bag v1.8.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking atoi v0.3.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking unsafe-lifetime-my-libs v0.1.0 (/opt/rustwide/workdir/pro/unsafe-lifetime/libs) [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking event-listener v5.3.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking event-listener-strategy v0.5.1 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking async-channel v2.2.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking async-executor v1.11.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling pest v2.7.9 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking data-encoding-macro v0.1.14 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Compiling sea-query-derive v0.4.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling inherent v1.0.11 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking my_lib v0.1.0 (/opt/rustwide/workdir/lang/smart-pointer/lib) [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> lang/smart-pointer/lib/src/linked_list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> lang/smart-pointer/lib/src/linked_list.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> lang/smart-pointer/lib/src/linked_list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rc` and `Weak` [INFO] [stdout] --> lang/smart-pointer/lib/src/linked_list.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::{Rc, Weak}; [INFO] [stdout] | ^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> lang/smart-pointer/lib/src/linked_list.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn insert(&mut self, x: T, index: usize) -> bool { true } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> lang/smart-pointer/lib/src/linked_list.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn insert(&mut self, x: T, index: usize) -> bool { true } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> lang/smart-pointer/lib/src/linked_list.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn delete(&mut self, index: usize) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> lang/smart-pointer/lib/src/linked_list.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn replace(&mut self, index: usize) -> bool { true } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> lang/smart-pointer/lib/src/linked_list.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_elem(&self, index: usize) -> Option> { None } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> lang/smart-pointer/lib/src/linked_list.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn prepend(&mut self, data: T) -> bool { true } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lang/smart-pointer/lib/src/node.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Node { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 28 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with` is never used [INFO] [stdout] --> lang/smart-pointer/lib/src/with.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait With { [INFO] [stdout] | ---- associated function in this trait [INFO] [stdout] 2 | fn with(value: T) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> lang/smart-pointer/lib/src/linked_list.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 22 | fn with(x: Node) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | MyLinkedList { [INFO] [stdout] 24 | head: Some(x), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> lang/smart-pointer/lib/src/linked_list.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 22 | fn with(x: Node) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> lang/smart-pointer/lib/src/node.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 19 | fn with(x: T) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Node { [INFO] [stdout] 21 | value: Some(x), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> lang/smart-pointer/lib/src/node.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 19 | fn with(x: T) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my_lib` (lib) due to 5 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3eafa0d8ce022e093e24af6ef7bc3d07f5673150f3d907396eda754d814a11ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eafa0d8ce022e093e24af6ef7bc3d07f5673150f3d907396eda754d814a11ab", kill_on_drop: false }` [INFO] [stdout] 3eafa0d8ce022e093e24af6ef7bc3d07f5673150f3d907396eda754d814a11ab