[INFO] cloning repository https://github.com/trevarj/roxt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trevarj/roxt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevarj%2Froxt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevarj%2Froxt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01dba387a9df83688586280d208da54a6b55726f [INFO] testing trevarj/roxt against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevarj%2Froxt" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trevarj/roxt on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trevarj/roxt [INFO] finished tweaking git repo https://github.com/trevarj/roxt [INFO] tweaked toml for git repo https://github.com/trevarj/roxt written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/trevarj/roxt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8aab2ed2105b78c8b14f1af20057b4a744c4ed4835174da79bab944d732a86f8 [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" "8aab2ed2105b78c8b14f1af20057b4a744c4ed4835174da79bab944d732a86f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8aab2ed2105b78c8b14f1af20057b4a744c4ed4835174da79bab944d732a86f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aab2ed2105b78c8b14f1af20057b4a744c4ed4835174da79bab944d732a86f8", kill_on_drop: false }` [INFO] [stdout] 8aab2ed2105b78c8b14f1af20057b4a744c4ed4835174da79bab944d732a86f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 92bc2721cbb477f1c434e1a7d7c0daeb4b42807002866d0a261827ac8de6034c [INFO] running `Command { std: "docker" "start" "-a" "92bc2721cbb477f1c434e1a7d7c0daeb4b42807002866d0a261827ac8de6034c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling argh_shared v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling argh_derive v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling argh v0.1.3 [INFO] [stderr] Compiling roxt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::tokens::TokenType` [INFO] [stdout] --> src/interpreter/resolver.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::tokens::TokenType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterpretError` [INFO] [stdout] --> src/bytecode/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | use vm::{InterpretError, VM}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/bytecode/compiler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpValue` [INFO] [stdout] --> src/bytecode/vm.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | compiler::{Compiler, UpValue}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/interpreter/interpreter.rs:180:39 [INFO] [stdout] | [INFO] [stdout] 180 | if let Atom::Function(id, params, stmt, closure) = callee { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/interpreter/interpreter.rs:413:35 [INFO] [stdout] | [INFO] [stdout] 413 | (Atom::Identifier(a, _), Atom::Identifier(b, _)) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/interpreter/interpreter.rs:413:59 [INFO] [stdout] | [INFO] [stdout] 413 | (Atom::Identifier(a, _), Atom::Identifier(b, _)) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/interpreter/interpreter.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | env: &Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/interpreter/resolver.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | Expr::Binary(lhs, op, rhs) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/interpreter/resolver.rs:136:38 [INFO] [stdout] | [INFO] [stdout] 136 | if let Expr::Binary(lhs, op, rhs) = expr { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnsupportedAssignment` [INFO] [stdout] --> src/interpreter/interpreter.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | UnsupportedAssignment { type_a: String, type_b: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/interpreter/interpreter.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SyntaxError` [INFO] [stdout] --> src/interpreter/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | SyntaxError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/interpreter/parser.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Error, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UsingVarInOwnInitializer` [INFO] [stdout] --> src/interpreter/resolver.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | UsingVarInOwnInitializer { id: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/interpreter/resolver.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/interpreter/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(peekable_next_if)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `peekable_next_if` has been stable since 1.51.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/interpreter/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(peekable_next_if)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `roxt` due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `is_captured` [INFO] [stdout] --> src/bytecode/compiler.rs:1028:32 [INFO] [stdout] | [INFO] [stdout] 1028 | for (idx, (l_ident, depth, is_captured)) in locals.iter().enumerate().rev() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_captured` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/bytecode/compiler.rs:143:47 [INFO] [stdout] | [INFO] [stdout] 143 | fn make_constant(&mut self, value: Value, line: usize) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_captured` [INFO] [stdout] --> src/bytecode/compiler.rs:340:32 [INFO] [stdout] | [INFO] [stdout] 340 | for (ident, depth, is_captured) in self.state.locals.iter().rev() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_captured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_captured` [INFO] [stdout] --> src/bytecode/compiler.rs:387:32 [INFO] [stdout] | [INFO] [stdout] 387 | for (ident, depth, is_captured) in self.state.locals.iter().rev() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_captured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/bytecode/compiler.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | let line = self.peek()?.line(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `class` [INFO] [stdout] --> src/bytecode/object.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | class: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Instance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bytecode/object.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fields` [INFO] [stdout] --> src/bytecode/object.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | fields: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bytecode/object.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/bytecode/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/bytecode/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(fn_traits)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "92bc2721cbb477f1c434e1a7d7c0daeb4b42807002866d0a261827ac8de6034c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92bc2721cbb477f1c434e1a7d7c0daeb4b42807002866d0a261827ac8de6034c", kill_on_drop: false }` [INFO] [stdout] 92bc2721cbb477f1c434e1a7d7c0daeb4b42807002866d0a261827ac8de6034c