[INFO] cloning repository https://github.com/efyang/rlisp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/efyang/rlisp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefyang%2Frlisp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefyang%2Frlisp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 103aae788e91bef5d5425a2c7d4d504719f4731f [INFO] building efyang/rlisp against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefyang%2Frlisp" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/efyang/rlisp on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/efyang/rlisp [INFO] finished tweaking git repo https://github.com/efyang/rlisp [INFO] tweaked toml for git repo https://github.com/efyang/rlisp written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/efyang/rlisp 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v1.5.5 [INFO] [stderr] Downloaded vec_map v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9784706b655f58ffbd3dff36a2d0fd9cb98e527800bf93aab28d169900b940a1 [INFO] running `Command { std: "docker" "start" "-a" "9784706b655f58ffbd3dff36a2d0fd9cb98e527800bf93aab28d169900b940a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9784706b655f58ffbd3dff36a2d0fd9cb98e527800bf93aab28d169900b940a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9784706b655f58ffbd3dff36a2d0fd9cb98e527800bf93aab28d169900b940a1", kill_on_drop: false }` [INFO] [stdout] 9784706b655f58ffbd3dff36a2d0fd9cb98e527800bf93aab28d169900b940a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce9810bfcc44140e53292c682bedec4e3c76a435138ed28c5d5ba85ba266ccb1 [INFO] running `Command { std: "docker" "start" "-a" "ce9810bfcc44140e53292c682bedec4e3c76a435138ed28c5d5ba85ba266ccb1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling strsim v0.4.1 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling vec_map v0.4.0 [INFO] [stderr] Compiling ansi_term v0.7.2 [INFO] [stderr] Compiling lazy_static v0.2.1 [INFO] [stderr] Compiling clap v1.5.5 [INFO] [stderr] Compiling rlisp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | exprs.push(try!(tokens_to_expr(&mut tokens))); [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/eval.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | try!(self[i].eval(env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 74 | head = Expr::Expr(try!((*orig_head).eval(env)).unwrap()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:96:54 [INFO] [stdout] | [INFO] [stdout] 96 | ... Ok(Some(Object::Function(try!(Function::from_exprs(fndef, rest))))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | let function = try!(Function::from_exprs(fnargs, body)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | try!(expr.replace_all(&var_mappings).eval(env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stdlisp.rs:175:65 [INFO] [stdout] | [INFO] [stdout] 175 | if let Some(Object::Boolean(ref boolean)) = try!(case.eval(env)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/stdlisp.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / lazy_static! { [INFO] [stdout] 18 | | pub static ref BASE_FUNCTIONS: [(&'static str, Function); 14] = [ [INFO] [stdout] 19 | | generate_normal_base_fn!(list), [INFO] [stdout] 20 | | generate_normal_base_fn!(cons), [INFO] [stdout] ... | [INFO] [stdout] 33 | | ]; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/stdlisp.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / lazy_static! { [INFO] [stdout] 18 | | pub static ref BASE_FUNCTIONS: [(&'static str, Function); 14] = [ [INFO] [stdout] 19 | | generate_normal_base_fn!(list), [INFO] [stdout] 20 | | generate_normal_base_fn!(cons), [INFO] [stdout] ... | [INFO] [stdout] 33 | | ]; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/data.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | panic!(format!("Variable {:?} cannot be set because it already exists in current env.", var)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 237 - panic!(format!("Variable {:?} cannot be set because it already exists in current env.", var)); [INFO] [stdout] 237 + panic!("Variable {:?} cannot be set because it already exists in current env.", var); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/data.rs:244:30 [INFO] [stdout] | [INFO] [stdout] 244 | panic!("Variable {:?} cannot be changed because it does not exist."); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 244 | panic!("Variable {:?} cannot be changed because it does not exist.", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 244 | panic!("{}", "Variable {:?} cannot be changed because it does not exist."); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.97s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: clap v1.5.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ce9810bfcc44140e53292c682bedec4e3c76a435138ed28c5d5ba85ba266ccb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce9810bfcc44140e53292c682bedec4e3c76a435138ed28c5d5ba85ba266ccb1", kill_on_drop: false }` [INFO] [stdout] ce9810bfcc44140e53292c682bedec4e3c76a435138ed28c5d5ba85ba266ccb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cba5007581c3cdfb65403d1959932347a0fdada5dede2762ed1d66ff0d5f5c31 [INFO] running `Command { std: "docker" "start" "-a" "cba5007581c3cdfb65403d1959932347a0fdada5dede2762ed1d66ff0d5f5c31", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rlisp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | exprs.push(try!(tokens_to_expr(&mut tokens))); [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/eval.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | try!(self[i].eval(env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 74 | head = Expr::Expr(try!((*orig_head).eval(env)).unwrap()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:96:54 [INFO] [stdout] | [INFO] [stdout] 96 | ... Ok(Some(Object::Function(try!(Function::from_exprs(fndef, rest))))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | let function = try!(Function::from_exprs(fnargs, body)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | try!(expr.replace_all(&var_mappings).eval(env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stdlisp.rs:175:65 [INFO] [stdout] | [INFO] [stdout] 175 | if let Some(Object::Boolean(ref boolean)) = try!(case.eval(env)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/stdlisp.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / lazy_static! { [INFO] [stdout] 18 | | pub static ref BASE_FUNCTIONS: [(&'static str, Function); 14] = [ [INFO] [stdout] 19 | | generate_normal_base_fn!(list), [INFO] [stdout] 20 | | generate_normal_base_fn!(cons), [INFO] [stdout] ... | [INFO] [stdout] 33 | | ]; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/stdlisp.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / lazy_static! { [INFO] [stdout] 18 | | pub static ref BASE_FUNCTIONS: [(&'static str, Function); 14] = [ [INFO] [stdout] 19 | | generate_normal_base_fn!(list), [INFO] [stdout] 20 | | generate_normal_base_fn!(cons), [INFO] [stdout] ... | [INFO] [stdout] 33 | | ]; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/data.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | panic!(format!("Variable {:?} cannot be set because it already exists in current env.", var)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 237 - panic!(format!("Variable {:?} cannot be set because it already exists in current env.", var)); [INFO] [stdout] 237 + panic!("Variable {:?} cannot be set because it already exists in current env.", var); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/data.rs:244:30 [INFO] [stdout] | [INFO] [stdout] 244 | panic!("Variable {:?} cannot be changed because it does not exist."); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 244 | panic!("Variable {:?} cannot be changed because it does not exist.", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 244 | panic!("{}", "Variable {:?} cannot be changed because it does not exist."); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: clap v1.5.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "cba5007581c3cdfb65403d1959932347a0fdada5dede2762ed1d66ff0d5f5c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cba5007581c3cdfb65403d1959932347a0fdada5dede2762ed1d66ff0d5f5c31", kill_on_drop: false }` [INFO] [stdout] cba5007581c3cdfb65403d1959932347a0fdada5dede2762ed1d66ff0d5f5c31