[INFO] cloning repository https://github.com/matklad/s [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matklad/s" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatklad%2Fs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatklad%2Fs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7be36a4cf85c5dbb1046a41ef01c8d441c60f98f [INFO] checking matklad/s against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatklad%2Fs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matklad/s on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matklad/s [INFO] finished tweaking git repo https://github.com/matklad/s [INFO] tweaked toml for git repo https://github.com/matklad/s written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/matklad/s 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 695176eabcb9d31083e591c57d763e1bbe88c0159aaa9e6ac19f1de59079ec85 [INFO] running `Command { std: "docker" "start" "-a" "695176eabcb9d31083e591c57d763e1bbe88c0159aaa9e6ac19f1de59079ec85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "695176eabcb9d31083e591c57d763e1bbe88c0159aaa9e6ac19f1de59079ec85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "695176eabcb9d31083e591c57d763e1bbe88c0159aaa9e6ac19f1de59079ec85", kill_on_drop: false }` [INFO] [stdout] 695176eabcb9d31083e591c57d763e1bbe88c0159aaa9e6ac19f1de59079ec85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9724a64e0aff05ef01a011a718c5649b44a5e0e025b522ca39d279ebc30655f4 [INFO] running `Command { std: "docker" "start" "-a" "9724a64e0aff05ef01a011a718c5649b44a5e0e025b522ca39d279ebc30655f4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking s v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sexpr.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | try!(start.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sexpr.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | try!(x.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sexpr.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | try!(sep.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | if try!(eval_number(env, cond)) != 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | try!(args.iter().map(|arg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:144:42 [INFO] [stdout] | [INFO] [stdout] 144 | let values: Vec = try!(values.iter().map(|v| eval(val_env, v)).collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:163:33 [INFO] [stdout] | [INFO] [stdout] 163 | let desugared = try!(f(args)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:292:40 [INFO] [stdout] | [INFO] [stdout] 292 | let args: Vec = try!(args.iter().map(|a| eval(env, a)).collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:407:11 [INFO] [stdout] | [INFO] [stdout] 407 | match try!(eval(env, expr)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:422:23 [INFO] [stdout] | [INFO] [stdout] 422 | let fun = try!(eval(env, &args[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eval.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | Closure(Rc Result>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Closure(Rc Result>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eval.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub type Env = Rc Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | pub type Env = Rc Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sexpr.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | try!(start.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sexpr.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | try!(x.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sexpr.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | try!(sep.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | if try!(eval_number(env, cond)) != 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | try!(args.iter().map(|arg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:144:42 [INFO] [stdout] | [INFO] [stdout] 144 | let values: Vec = try!(values.iter().map(|v| eval(val_env, v)).collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:163:33 [INFO] [stdout] | [INFO] [stdout] 163 | let desugared = try!(f(args)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:292:40 [INFO] [stdout] | [INFO] [stdout] 292 | let args: Vec = try!(args.iter().map(|a| eval(env, a)).collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:407:11 [INFO] [stdout] | [INFO] [stdout] 407 | match try!(eval(env, expr)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:422:23 [INFO] [stdout] | [INFO] [stdout] 422 | let fun = try!(eval(env, &args[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:733:64 [INFO] [stdout] | [INFO] [stdout] 733 | let closure = Value::Closure(Rc::new(|env, args| match try!(eval(env, &args[0])) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eval.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | Closure(Rc Result>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Closure(Rc Result>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eval.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub type Env = Rc Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | pub type Env = Rc Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/sexpr.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let s = s.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 57 | let s = s.trim_start(); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/sexpr.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | s = s.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 68 | s = s.trim_start(); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/sexpr.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let s = s.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 57 | let s = s.trim_start(); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/sexpr.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | s = s.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 68 | s = s.trim_start(); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Number`, `Atom`, `List`, and `Closure` are never constructed [INFO] [stdout] --> src/eval.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 11 | Number(i64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Atom(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | List(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Closure(Rc Result>) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `closure`, `number`, `from_bool`, and `from_sexpr` are never used [INFO] [stdout] --> src/eval.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Value { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 31 | pub fn closure Result + 'static>(f: F) -> Value { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn number(i: i64) -> Value { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_bool(b: bool) -> Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn from_sexpr(sexpr: &Sexpr) -> Value { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `eval` is never used [INFO] [stdout] --> src/eval.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl Sexpr { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 79 | pub fn eval(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `builtin` is never used [INFO] [stdout] --> src/eval.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn builtin() -> Env { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mk_env` is never used [INFO] [stdout] --> src/eval.rs:401:4 [INFO] [stdout] | [INFO] [stdout] 401 | fn mk_env Option + 'static>(f: F) -> Env { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_number` is never used [INFO] [stdout] --> src/eval.rs:406:4 [INFO] [stdout] | [INFO] [stdout] 406 | fn eval_number(env: &Env, expr: &Sexpr) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> src/eval.rs:414:4 [INFO] [stdout] | [INFO] [stdout] 414 | fn eval(env: &Env, expr: &Sexpr) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "9724a64e0aff05ef01a011a718c5649b44a5e0e025b522ca39d279ebc30655f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9724a64e0aff05ef01a011a718c5649b44a5e0e025b522ca39d279ebc30655f4", kill_on_drop: false }` [INFO] [stdout] 9724a64e0aff05ef01a011a718c5649b44a5e0e025b522ca39d279ebc30655f4 [INFO] checking matklad/s against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatklad%2Fs" "/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/matklad/s on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matklad/s [INFO] finished tweaking git repo https://github.com/matklad/s [INFO] tweaked toml for git repo https://github.com/matklad/s written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/matklad/s 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7934ce054fe34819a6c7fcf7e3f0bb159142a9417d25a9e5c789a48a1886ae94 [INFO] running `Command { std: "docker" "start" "-a" "7934ce054fe34819a6c7fcf7e3f0bb159142a9417d25a9e5c789a48a1886ae94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7934ce054fe34819a6c7fcf7e3f0bb159142a9417d25a9e5c789a48a1886ae94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7934ce054fe34819a6c7fcf7e3f0bb159142a9417d25a9e5c789a48a1886ae94", kill_on_drop: false }` [INFO] [stdout] 7934ce054fe34819a6c7fcf7e3f0bb159142a9417d25a9e5c789a48a1886ae94 [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 752ded4d338b91bd8deafaf5dc29244242f2044a0b2f4f1e4f6d01a014858a23 [INFO] running `Command { std: "docker" "start" "-a" "752ded4d338b91bd8deafaf5dc29244242f2044a0b2f4f1e4f6d01a014858a23", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking s v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sexpr.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | try!(start.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sexpr.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | try!(x.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sexpr.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | try!(sep.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | if try!(eval_number(env, cond)) != 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | try!(args.iter().map(|arg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:144:42 [INFO] [stdout] | [INFO] [stdout] 144 | let values: Vec = try!(values.iter().map(|v| eval(val_env, v)).collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:163:33 [INFO] [stdout] | [INFO] [stdout] 163 | let desugared = try!(f(args)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:292:40 [INFO] [stdout] | [INFO] [stdout] 292 | let args: Vec = try!(args.iter().map(|a| eval(env, a)).collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:407:11 [INFO] [stdout] | [INFO] [stdout] 407 | match try!(eval(env, expr)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:422:23 [INFO] [stdout] | [INFO] [stdout] 422 | let fun = try!(eval(env, &args[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eval.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | Closure(Rc Result>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Closure(Rc Result>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eval.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub type Env = Rc Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | pub type Env = Rc Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sexpr.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | try!(start.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sexpr.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | try!(x.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sexpr.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | try!(sep.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | if try!(eval_number(env, cond)) != 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | try!(args.iter().map(|arg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:144:42 [INFO] [stdout] | [INFO] [stdout] 144 | let values: Vec = try!(values.iter().map(|v| eval(val_env, v)).collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:163:33 [INFO] [stdout] | [INFO] [stdout] 163 | let desugared = try!(f(args)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:292:40 [INFO] [stdout] | [INFO] [stdout] 292 | let args: Vec = try!(args.iter().map(|a| eval(env, a)).collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:407:11 [INFO] [stdout] | [INFO] [stdout] 407 | match try!(eval(env, expr)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:422:23 [INFO] [stdout] | [INFO] [stdout] 422 | let fun = try!(eval(env, &args[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:733:64 [INFO] [stdout] | [INFO] [stdout] 733 | let closure = Value::Closure(Rc::new(|env, args| match try!(eval(env, &args[0])) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eval.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | Closure(Rc Result>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Closure(Rc Result>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eval.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub type Env = Rc Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | pub type Env = Rc Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/sexpr.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let s = s.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 57 | let s = s.trim_start(); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/sexpr.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | s = s.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 68 | s = s.trim_start(); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/sexpr.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let s = s.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 57 | let s = s.trim_start(); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/sexpr.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | s = s.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 68 | s = s.trim_start(); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Number`, `Atom`, `List`, and `Closure` are never constructed [INFO] [stdout] --> src/eval.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 11 | Number(i64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Atom(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | List(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Closure(Rc Result>) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `closure`, `number`, `from_bool`, and `from_sexpr` are never used [INFO] [stdout] --> src/eval.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Value { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 31 | pub fn closure Result + 'static>(f: F) -> Value { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn number(i: i64) -> Value { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_bool(b: bool) -> Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn from_sexpr(sexpr: &Sexpr) -> Value { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `eval` is never used [INFO] [stdout] --> src/eval.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl Sexpr { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 79 | pub fn eval(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `builtin` is never used [INFO] [stdout] --> src/eval.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn builtin() -> Env { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mk_env` is never used [INFO] [stdout] --> src/eval.rs:401:4 [INFO] [stdout] | [INFO] [stdout] 401 | fn mk_env Option + 'static>(f: F) -> Env { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_number` is never used [INFO] [stdout] --> src/eval.rs:406:4 [INFO] [stdout] | [INFO] [stdout] 406 | fn eval_number(env: &Env, expr: &Sexpr) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> src/eval.rs:414:4 [INFO] [stdout] | [INFO] [stdout] 414 | fn eval(env: &Env, expr: &Sexpr) -> Result { [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] --> src/eval.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn closure Result + 'static>(f: F) -> Value { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | Value::Closure(Rc::new(f)) [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] --> src/eval.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 95 | let mut map = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 397 | mk_env(move |x| map.get(x).cloned()) [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] --> src/eval.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 136 | let env = env.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | [INFO] [stdout] 138 | Ok(Value::closure(move |val_env, values| { [INFO] [stdout] | ________________^ [INFO] [stdout] 139 | | let env = env.clone(); [INFO] [stdout] 140 | | let formals = formals.clone(); [INFO] [stdout] 141 | | if values.len() != formals.len() { [INFO] [stdout] ... | [INFO] [stdout] 152 | | eval(&new_env, &body) [INFO] [stdout] 153 | | })) [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] --> src/eval.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | eval(&bare_env, &code.parse::().unwrap()).unwrap() [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] --> src/eval.rs:291:39 [INFO] [stdout] | [INFO] [stdout] 289 | f: F [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | ) { [INFO] [stdout] 291 | insert_closure(map, name, move |env, args| { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 292 | | let args: Vec = try!(args.iter().map(|a| eval(env, a)).collect()); [INFO] [stdout] 293 | | f(&args) [INFO] [stdout] 294 | | }) [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] --> src/eval.rs:389:16 [INFO] [stdout] | [INFO] [stdout] 385 | let hd = args[0].clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 386 | let ls = extract!(List, args[1], "Expected list in `cons`!"); [INFO] [stdout] 387 | let mut result = vec![hd]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 388 | result.extend(ls.iter().cloned()); [INFO] [stdout] 389 | Ok(Value::List(result)) [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 6 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `s` (bin "s") due to 7 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> src/eval.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn closure Result + 'static>(f: F) -> Value { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | Value::Closure(Rc::new(f)) [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] --> src/eval.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 95 | let mut map = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 397 | mk_env(move |x| map.get(x).cloned()) [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] --> src/eval.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 136 | let env = env.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | [INFO] [stdout] 138 | Ok(Value::closure(move |val_env, values| { [INFO] [stdout] | ________________^ [INFO] [stdout] 139 | | let env = env.clone(); [INFO] [stdout] 140 | | let formals = formals.clone(); [INFO] [stdout] 141 | | if values.len() != formals.len() { [INFO] [stdout] ... | [INFO] [stdout] 152 | | eval(&new_env, &body) [INFO] [stdout] 153 | | })) [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] --> src/eval.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | eval(&bare_env, &code.parse::().unwrap()).unwrap() [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] --> src/eval.rs:291:39 [INFO] [stdout] | [INFO] [stdout] 289 | f: F [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | ) { [INFO] [stdout] 291 | insert_closure(map, name, move |env, args| { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 292 | | let args: Vec = try!(args.iter().map(|a| eval(env, a)).collect()); [INFO] [stdout] 293 | | f(&args) [INFO] [stdout] 294 | | }) [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] --> src/eval.rs:389:16 [INFO] [stdout] | [INFO] [stdout] 385 | let hd = args[0].clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 386 | let ls = extract!(List, args[1], "Expected list in `cons`!"); [INFO] [stdout] 387 | let mut result = vec![hd]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 388 | result.extend(ls.iter().cloned()); [INFO] [stdout] 389 | Ok(Value::List(result)) [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] --> src/eval.rs:727:20 [INFO] [stdout] | [INFO] [stdout] 726 | let env = mk_env(|x| if x == "foo" { Some(Value::number(92)) } else { None }); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 727 | assert_eq!(eval(&env, &"foo".parse().unwrap()).unwrap().to_string(), "92") [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] --> src/eval.rs:738:20 [INFO] [stdout] | [INFO] [stdout] 733 | let closure = Value::Closure(Rc::new(|env, args| match try!(eval(env, &args[0])) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 737 | let env = mk_env(move |x| if x == "f" { Some(closure.clone()) } else { None }); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 738 | assert_eq!(eval(&env, &"(f 91)".parse().unwrap()).unwrap().to_string(), "92") [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] --> src/eval.rs:752:20 [INFO] [stdout] | [INFO] [stdout] 744 | let initial = builtin(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 745 | let env = mk_env(move |x| Some(Value::number(match x { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 752 | assert_eq!(eval(&env, &"(/ (+ x y) z)".parse().unwrap()).unwrap().to_string(), "1") [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] --> src/eval.rs:745:40 [INFO] [stdout] | [INFO] [stdout] 744 | let initial = builtin(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 745 | let env = mk_env(move |x| Some(Value::number(match x { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 746 | | "x" => 1, [INFO] [stdout] 747 | | "y" => 2, [INFO] [stdout] 748 | | "z" => 3, [INFO] [stdout] 749 | | _ => return initial(x) [INFO] [stdout] 750 | | }))); [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 10 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `s` (bin "s" test) due to 11 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "752ded4d338b91bd8deafaf5dc29244242f2044a0b2f4f1e4f6d01a014858a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "752ded4d338b91bd8deafaf5dc29244242f2044a0b2f4f1e4f6d01a014858a23", kill_on_drop: false }` [INFO] [stdout] 752ded4d338b91bd8deafaf5dc29244242f2044a0b2f4f1e4f6d01a014858a23