[INFO] cloning repository https://github.com/FurryR/lpp-ng [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FurryR/lpp-ng" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFurryR%2Flpp-ng", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFurryR%2Flpp-ng'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0160a86128e0b48325143be1bbb85575bf820472 [INFO] building FurryR/lpp-ng against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFurryR%2Flpp-ng" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FurryR/lpp-ng on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FurryR/lpp-ng [INFO] finished tweaking git repo https://github.com/FurryR/lpp-ng [INFO] tweaked toml for git repo https://github.com/FurryR/lpp-ng written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/FurryR/lpp-ng 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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b1422f3411fe760cd258d060a8577eae1a973fda5c874c9445972445644df88 [INFO] running `Command { std: "docker" "start" "-a" "3b1422f3411fe760cd258d060a8577eae1a973fda5c874c9445972445644df88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b1422f3411fe760cd258d060a8577eae1a973fda5c874c9445972445644df88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b1422f3411fe760cd258d060a8577eae1a973fda5c874c9445972445644df88", kill_on_drop: false }` [INFO] [stdout] 3b1422f3411fe760cd258d060a8577eae1a973fda5c874c9445972445644df88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fed49d93a5e2e056ecf220b7ba2011f461419d1644fdd8f15a8be8c09e95d367 [INFO] running `Command { std: "docker" "start" "-a" "fed49d93a5e2e056ecf220b7ba2011f461419d1644fdd8f15a8be8c09e95d367", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling utf8_slice v1.0.0 [INFO] [stderr] Compiling parse_int v0.6.0 [INFO] [stderr] Compiling lpp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/module/lpp.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | *self = LazyRef::Value(rc.clone()); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `Weak>`, found `Rc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::rc::Weak>` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/module/lpp.rs:138:3 [INFO] [stdout] | [INFO] [stdout] 138 | Value(Weak>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/module/lpp.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get(&self) -> Weak> { [INFO] [stdout] | ------------------ expected `std::rc::Weak>` because of return type [INFO] [stdout] 210 | match self { [INFO] [stdout] 211 | LazyRef::Value(val) => Some(val.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `Weak>`, found `Option>>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::rc::Weak<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for reference `&std::rc::Weak>` in the current scope [INFO] [stdout] --> src/module/lpp.rs:213:40 [INFO] [stdout] | [INFO] [stdout] 213 | if let Var::Array(arr) = &*val.borrow() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Borrow` which provides `borrow` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::borrow::Borrow; [INFO] [stdout] | [INFO] [stdout] help: there is a method `borrow_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 213 | if let Var::Array(arr) = &*val.borrow_mut() { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/module/lpp.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get(&self) -> Weak> { [INFO] [stdout] | ------------------ expected `std::rc::Weak>` because of return type [INFO] [stdout] ... [INFO] [stdout] 215 | Some(rc.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `Weak>`, found `Option>>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::rc::Weak>` [INFO] [stdout] found enum `Option>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/module/lpp.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get(&self) -> Weak> { [INFO] [stdout] | ------------------ expected `std::rc::Weak>` because of return type [INFO] [stdout] ... [INFO] [stdout] 217 | None [INFO] [stdout] | ^^^^ expected `Weak>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::rc::Weak>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for reference `&std::rc::Weak>` in the current scope [INFO] [stdout] --> src/module/lpp.rs:224:41 [INFO] [stdout] | [INFO] [stdout] 224 | if let Var::Object(obj) = &*val.borrow() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Borrow` which provides `borrow` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::borrow::Borrow; [INFO] [stdout] | [INFO] [stdout] help: there is a method `borrow_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 224 | if let Var::Object(obj) = &*val.borrow_mut() { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/module/lpp.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get(&self) -> Weak> { [INFO] [stdout] | ------------------ expected `std::rc::Weak>` because of return type [INFO] [stdout] ... [INFO] [stdout] 226 | Some(rc.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `Weak>`, found `Option>>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::rc::Weak>` [INFO] [stdout] found enum `Option>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/module/lpp.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get(&self) -> Weak> { [INFO] [stdout] | ------------------ expected `std::rc::Weak>` because of return type [INFO] [stdout] ... [INFO] [stdout] 228 | None [INFO] [stdout] | ^^^^ expected `Weak>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::rc::Weak>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for reference `&std::rc::Weak>` in the current scope [INFO] [stdout] --> src/module/lpp.rs:234:46 [INFO] [stdout] | [INFO] [stdout] 234 | LazyRef::ScopeVar((val, index)) => val.borrow().get(index).0, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Borrow` which provides `borrow` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::borrow::Borrow; [INFO] [stdout] | [INFO] [stdout] help: there is a method `borrow_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 234 | LazyRef::ScopeVar((val, index)) => val.borrow_mut().get(index).0, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/module/lpp.rs:241:20 [INFO] [stdout] | [INFO] [stdout] 241 | LazyRef::Value(val) [INFO] [stdout] | -------------- ^^^ expected `Weak>`, found `Rc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::rc::Weak>` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/module/lpp.rs:138:3 [INFO] [stdout] | [INFO] [stdout] 138 | Value(Weak>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/module/lpp.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | LazyRef::Array(val) [INFO] [stdout] | -------------- ^^^ expected `(Weak>, usize)`, found `(Rc>, usize)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(std::rc::Weak>, _)` [INFO] [stdout] found tuple `(Rc>, _)` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/module/lpp.rs:139:3 [INFO] [stdout] | [INFO] [stdout] 139 | Array((Weak>, usize)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/module/lpp.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | LazyRef::Object(val) [INFO] [stdout] | --------------- ^^^ expected `(Weak>, String)`, found `(Rc>, String)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(std::rc::Weak>, String)` [INFO] [stdout] found tuple `(Rc>, String)` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/module/lpp.rs:140:3 [INFO] [stdout] | [INFO] [stdout] 140 | Object((Weak>, String)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/module/lpp.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | LazyRef::Scope(val) [INFO] [stdout] | -------------- ^^^ expected `Weak>`, found `Rc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::rc::Weak>` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/module/lpp.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | Scope(Weak>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/module/lpp.rs:261:23 [INFO] [stdout] | [INFO] [stdout] 261 | LazyRef::ScopeVar(val) [INFO] [stdout] | ----------------- ^^^ expected `(Weak>, String)`, found `(Rc>, String)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(std::rc::Weak>, String)` [INFO] [stdout] found tuple `(Rc>, String)` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/module/lpp.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | ScopeVar((Weak>, String)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expr` found for reference `&Handler` in the current scope [INFO] [stdout] --> src/module/lpp.rs:363:22 [INFO] [stdout] | [INFO] [stdout] 363 | let v = self.expr(Var::parse(item.value.as_str()))?; [INFO] [stdout] | ^^^^ method not found in `&Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/module/lpp.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn runfunc(&self, func: &FuncValue, args: Vec) -> Result { [INFO] [stdout] | --------------------- expected `Result` because of return type [INFO] [stdout] ... [INFO] [stdout] 368 | scope.set(String::from("arguments"), (Var::Array(arguments), false)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] note: method `set` modifies its receiver in-place [INFO] [stdout] --> src/module/lpp.rs:368:11 [INFO] [stdout] | [INFO] [stdout] 368 | scope.set(String::from("arguments"), (Var::Array(arguments), false)) [INFO] [stdout] | ^^^ this call modifies `scope` in-place [INFO] [stdout] help: try adding an expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 368 ~ scope.set(String::from("arguments"), (Var::Array(arguments), false)); [INFO] [stdout] 369 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/module/lpp.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 383 | || if let Some(tmp) = obj.get() { [INFO] [stdout] | ^^^^^^^^^ --------- this expression has type `std::rc::Weak>` [INFO] [stdout] | | [INFO] [stdout] | expected `Weak>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::rc::Weak>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `lpp::Context: From<(Rc>, Rc>)>` is not satisfied [INFO] [stdout] --> src/module/lpp.rs:391:15 [INFO] [stdout] | [INFO] [stdout] 391 | Context::from((self.context.now, self.context.global)), [INFO] [stdout] | ^^^^^^^ the trait `From<(Rc>, Rc>)>` is not implemented for `lpp::Context` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `lpp::Context` implements `From<(Rc>, Rc>, Rc>)>` [INFO] [stdout] `lpp::Context` implements `From>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/module/lpp.rs:389:25 [INFO] [stdout] | [INFO] [stdout] 389 | if item.isval { [INFO] [stdout] | _________________________^ [INFO] [stdout] 390 | | let a = Handler::::from(( [INFO] [stdout] 391 | | Context::from((self.context.now, self.context.global)), [INFO] [stdout] 392 | | self.cmd.clone(), [INFO] [stdout] ... | [INFO] [stdout] 395 | | )); [INFO] [stdout] 396 | | } [INFO] [stdout] | |___________^ expected `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/module/lpp.rs:442:16 [INFO] [stdout] | [INFO] [stdout] 442 | if let Some(s) = v.get() { [INFO] [stdout] | ^^^^^^^ ------- this expression has type `std::rc::Weak>` [INFO] [stdout] | | [INFO] [stdout] | expected `Weak>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::rc::Weak>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `this` found for struct `lpp::Context` in the current scope [INFO] [stdout] --> src/module/lpp.rs:443:44 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Context { [INFO] [stdout] | ------------------ method `this` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 443 | ptr::eq(s.as_ptr(), self.context.this().as_ptr()) [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/module/lpp.rs:448:16 [INFO] [stdout] | [INFO] [stdout] 448 | if let Some(s) = v.1.get() { [INFO] [stdout] | ^^^^^^^ --------- this expression has type `std::rc::Weak>` [INFO] [stdout] | | [INFO] [stdout] | expected `Weak>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::rc::Weak>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `this` found for struct `lpp::Context` in the current scope [INFO] [stdout] --> src/module/lpp.rs:449:49 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Context { [INFO] [stdout] | ------------------ method `this` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 449 | std::ptr::eq(s.as_ptr(), self.context.this().as_ptr()) [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `this` found for struct `lpp::Context` in the current scope [INFO] [stdout] --> src/module/lpp.rs:472:56 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Context { [INFO] [stdout] | ------------------ method `this` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 472 | val: RefObj::Ref(LazyRef::Value(self.context.this())), [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `this` found for struct `lpp::Context` in the current scope [INFO] [stdout] --> src/module/lpp.rs:473:55 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Context { [INFO] [stdout] | ------------------ method `this` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 473 | pr: RefObj::Ref(LazyRef::Value(self.context.this())), [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `now` [INFO] [stdout] --> src/module/lpp.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 76 | fn from(now: Rc>) -> Self { [INFO] [stdout] | --- move occurs because `now` has type `Rc>`, which does not implement the `Copy` trait [INFO] [stdout] 77 | Context { [INFO] [stdout] 78 | now, [INFO] [stdout] | --- value moved here [INFO] [stdout] 79 | global: now.clone(), [INFO] [stdout] | ^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] help: clone the value to increment its reference count [INFO] [stdout] | [INFO] [stdout] 78 | now: now.clone(), [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/module/lpp.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 402 | if let Var::Object(obj) = &*now.raw().borrow() { [INFO] [stdout] | --------- consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] ... [INFO] [stdout] 413 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `now` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/module/lpp.rs:401:19 [INFO] [stdout] | [INFO] [stdout] 401 | fn update_scope(now: Scope, temp: &Scope) -> Scope { [INFO] [stdout] | ^^^ not mutable [INFO] [stdout] ... [INFO] [stdout] 405 | now.set(item, (v.borrow().clone(), c)) [INFO] [stdout] | --- cannot borrow as mutable [INFO] [stdout] 406 | } else { [INFO] [stdout] 407 | now.remove(&item); [INFO] [stdout] | --- cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 401 | fn update_scope(mut now: Scope, temp: &Scope) -> Scope { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb511 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x71ff71981caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x71ff72013cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x71ff72f28e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x71ff71981b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x71ff71983ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x71ff71983e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x71ff70aeff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x71ff719847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x71ff70b2a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x71ff70b1f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x71ff70b1f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x71ff70b342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x71ff71084fdc - ::span_bug:: [INFO] [stderr] 13: 0x71ff7110a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x71ff710f006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x71ff710efefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x71ff6f534437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x71ff729d541b - ::build_unwind_tree [INFO] [stderr] 18: 0x71ff729cd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x71ff72007714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x71ff720076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x71ff722953d1 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 22: 0x71ff72294f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x71ff6f067185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x71ff728e98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x71ff728e9b69 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 26: 0x71ff728e97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x71ff7249bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x71ff72f2cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x71ff72f2cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x71ff72f7b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x71ff72f7b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x71ff72f701de - rustc_interface[b59e7ee7606ca029]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 33: 0x71ff72fdff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x71ff72ef5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x71ff72ef551c - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[303105738bd0c2ae]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 36: 0x71ff72ef6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x71ff6d26bac3 - [INFO] [stderr] 38: 0x71ff6d2fca04 - clone [INFO] [stderr] 39: 0x0 - [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: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2024-12-31T20_32_17-109.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.85.0-nightly (9b5e8b16b 2024-12-19) 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_built] building MIR for `module::var::::parse` [INFO] [stderr] #1 [check_unsafety] unsafety-checking `module::var::::parse` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382, E0596, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lpp` (bin "lpp") due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "fed49d93a5e2e056ecf220b7ba2011f461419d1644fdd8f15a8be8c09e95d367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fed49d93a5e2e056ecf220b7ba2011f461419d1644fdd8f15a8be8c09e95d367", kill_on_drop: false }` [INFO] [stdout] fed49d93a5e2e056ecf220b7ba2011f461419d1644fdd8f15a8be8c09e95d367