[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] checking efyang/rlisp against try#c05ee43175e02d208faed1fcc0f436c56e48bba6 for pr-92413 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefyang%2Frlisp" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/efyang/rlisp on toolchain c05ee43175e02d208faed1fcc0f436c56e48bba6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "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-12/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: "/workspace/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ansi_term v0.7.2 [INFO] [stderr] Downloaded strsim v0.4.1 [INFO] [stderr] Downloaded vec_map v0.4.0 [INFO] [stderr] Downloaded clap v1.5.5 [INFO] [stderr] Downloaded lazy_static v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 720efdf8a7e6c012a368bfc64a817cbcabf35fb89112955bacaf2efff74e9fd5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "720efdf8a7e6c012a368bfc64a817cbcabf35fb89112955bacaf2efff74e9fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "720efdf8a7e6c012a368bfc64a817cbcabf35fb89112955bacaf2efff74e9fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "720efdf8a7e6c012a368bfc64a817cbcabf35fb89112955bacaf2efff74e9fd5", kill_on_drop: false }` [INFO] [stdout] 720efdf8a7e6c012a368bfc64a817cbcabf35fb89112955bacaf2efff74e9fd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e8da7cf49efb3988999d9c6e135ead7775b21dfa32f65a5d79d2d7ee2cb2ca9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8e8da7cf49efb3988999d9c6e135ead7775b21dfa32f65a5d79d2d7ee2cb2ca9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking vec_map v0.4.0 [INFO] [stderr] Checking ansi_term v0.7.2 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking strsim v0.4.1 [INFO] [stderr] Checking clap v1.5.5 [INFO] [stderr] Checking 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 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 `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` (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 `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime parameter `'a` never used [INFO] [stdout] --> src/eval.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | fn match_first_function<'a>(function_name: &str, vars: HashMap<String, Object>) -> Result<Function, String> { [INFO] [stdout] | -^^- help: elide the unused lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` (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 `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime parameter `'a` never used [INFO] [stdout] --> src/eval.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | fn match_first_function<'a>(function_name: &str, vars: HashMap<String, Object>) -> Result<Function, String> { [INFO] [stdout] | -^^- help: elide the unused lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_lifetimes)]` on by default [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: `#[warn(non_fmt_panics)]` on by default [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [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] [stdout] error: aborting due to previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rlisp` due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: `#[warn(non_fmt_panics)]` on by default [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [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] [stdout] error: aborting due to previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8e8da7cf49efb3988999d9c6e135ead7775b21dfa32f65a5d79d2d7ee2cb2ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e8da7cf49efb3988999d9c6e135ead7775b21dfa32f65a5d79d2d7ee2cb2ca9", kill_on_drop: false }` [INFO] [stdout] 8e8da7cf49efb3988999d9c6e135ead7775b21dfa32f65a5d79d2d7ee2cb2ca9