[INFO] cloning repository https://github.com/rodaine/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rodaine/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodaine%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodaine%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d54bce35da8c110b33fa3249900095756f56d6bc [INFO] testing rodaine/rlox against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodaine%2Frlox" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rodaine/rlox on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rodaine/rlox [INFO] finished tweaking git repo https://github.com/rodaine/rlox [INFO] tweaked toml for git repo https://github.com/rodaine/rlox written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/rodaine/rlox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6965612467bcd6c6ff9780bb68f2cc54869f3111bd2ab4c82b3d95f0f6bfdec1 [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" "6965612467bcd6c6ff9780bb68f2cc54869f3111bd2ab4c82b3d95f0f6bfdec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6965612467bcd6c6ff9780bb68f2cc54869f3111bd2ab4c82b3d95f0f6bfdec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6965612467bcd6c6ff9780bb68f2cc54869f3111bd2ab4c82b3d95f0f6bfdec1", kill_on_drop: false }` [INFO] [stdout] 6965612467bcd6c6ff9780bb68f2cc54869f3111bd2ab4c82b3d95f0f6bfdec1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3280b1faeb173516442fa2661fa5ec9d97b4ea6b2915e7d665bf64762d1bcb8a [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" "3280b1faeb173516442fa2661fa5ec9d97b4ea6b2915e7d665bf64762d1bcb8a", kill_on_drop: false }` [INFO] [stderr] Compiling rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/functions.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / lazy_static! { [INFO] [stdout] 201 | | pub static ref CLOCK_ID : Token = Token { [INFO] [stdout] 202 | | typ: TokenType::Identifier, [INFO] [stdout] 203 | | lexeme: "clock".to_owned(), [INFO] [stdout] 204 | | ..Token::default() [INFO] [stdout] 205 | | }; [INFO] [stdout] 206 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/class.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / lazy_static! { [INFO] [stdout] 149 | | pub static ref THIS_ID : Token = Token { [INFO] [stdout] 150 | | typ: TokenType::This, [INFO] [stdout] 151 | | lexeme: "this".to_owned(), [INFO] [stdout] ... | [INFO] [stdout] 159 | | }; [INFO] [stdout] 160 | | } [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/class.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / lazy_static! { [INFO] [stdout] 149 | | pub static ref THIS_ID : Token = Token { [INFO] [stdout] 150 | | typ: TokenType::This, [INFO] [stdout] 151 | | lexeme: "this".to_owned(), [INFO] [stdout] ... | [INFO] [stdout] 159 | | }; [INFO] [stdout] 160 | | } [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/ast/token.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | / lazy_static! { [INFO] [stdout] 197 | | static ref RESERVED: HashMap<&'static str, Type> = [ [INFO] [stdout] 198 | | ("and", Type::And), [INFO] [stdout] 199 | | ("class", Type::Class), [INFO] [stdout] ... | [INFO] [stdout] 215 | | ].iter().cloned().collect(); [INFO] [stdout] 216 | | } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 70 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/expr.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn accept(&self, v: &mut Visitor) -> T { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - pub fn accept(&self, v: &mut Visitor) -> T { [INFO] [stdout] 76 + pub fn accept(&self, v: &mut dyn Visitor) -> T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/stmt.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn accept(&self, v: &mut Visitor) -> T { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - pub fn accept(&self, v: &mut Visitor) -> T { [INFO] [stdout] 73 + pub fn accept(&self, v: &mut dyn Visitor) -> T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | Error::IO(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/result.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | Error::IO(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.82s [INFO] running `Command { std: "docker" "inspect" "3280b1faeb173516442fa2661fa5ec9d97b4ea6b2915e7d665bf64762d1bcb8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3280b1faeb173516442fa2661fa5ec9d97b4ea6b2915e7d665bf64762d1bcb8a", kill_on_drop: false }` [INFO] [stdout] 3280b1faeb173516442fa2661fa5ec9d97b4ea6b2915e7d665bf64762d1bcb8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--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] 2589f2076ef268228010ea490194dbc8da3aaf217659bae6c76321a73fbcdd26 [INFO] running `Command { std: "docker" "start" "-a" "2589f2076ef268228010ea490194dbc8da3aaf217659bae6c76321a73fbcdd26", kill_on_drop: false }` [INFO] [stderr] Compiling rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/functions.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / lazy_static! { [INFO] [stdout] 201 | | pub static ref CLOCK_ID : Token = Token { [INFO] [stdout] 202 | | typ: TokenType::Identifier, [INFO] [stdout] 203 | | lexeme: "clock".to_owned(), [INFO] [stdout] 204 | | ..Token::default() [INFO] [stdout] 205 | | }; [INFO] [stdout] 206 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/class.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / lazy_static! { [INFO] [stdout] 149 | | pub static ref THIS_ID : Token = Token { [INFO] [stdout] 150 | | typ: TokenType::This, [INFO] [stdout] 151 | | lexeme: "this".to_owned(), [INFO] [stdout] ... | [INFO] [stdout] 159 | | }; [INFO] [stdout] 160 | | } [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/class.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / lazy_static! { [INFO] [stdout] 149 | | pub static ref THIS_ID : Token = Token { [INFO] [stdout] 150 | | typ: TokenType::This, [INFO] [stdout] 151 | | lexeme: "this".to_owned(), [INFO] [stdout] ... | [INFO] [stdout] 159 | | }; [INFO] [stdout] 160 | | } [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/ast/token.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | / lazy_static! { [INFO] [stdout] 197 | | static ref RESERVED: HashMap<&'static str, Type> = [ [INFO] [stdout] 198 | | ("and", Type::And), [INFO] [stdout] 199 | | ("class", Type::Class), [INFO] [stdout] ... | [INFO] [stdout] 215 | | ].iter().cloned().collect(); [INFO] [stdout] 216 | | } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 70 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/expr.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn accept(&self, v: &mut Visitor) -> T { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - pub fn accept(&self, v: &mut Visitor) -> T { [INFO] [stdout] 76 + pub fn accept(&self, v: &mut dyn Visitor) -> T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/stmt.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn accept(&self, v: &mut Visitor) -> T { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - pub fn accept(&self, v: &mut Visitor) -> T { [INFO] [stdout] 73 + pub fn accept(&self, v: &mut dyn Visitor) -> T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | Error::IO(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/result.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | Error::IO(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/functions.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / lazy_static! { [INFO] [stdout] 201 | | pub static ref CLOCK_ID : Token = Token { [INFO] [stdout] 202 | | typ: TokenType::Identifier, [INFO] [stdout] 203 | | lexeme: "clock".to_owned(), [INFO] [stdout] 204 | | ..Token::default() [INFO] [stdout] 205 | | }; [INFO] [stdout] 206 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/class.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / lazy_static! { [INFO] [stdout] 149 | | pub static ref THIS_ID : Token = Token { [INFO] [stdout] 150 | | typ: TokenType::This, [INFO] [stdout] 151 | | lexeme: "this".to_owned(), [INFO] [stdout] ... | [INFO] [stdout] 159 | | }; [INFO] [stdout] 160 | | } [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/class.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / lazy_static! { [INFO] [stdout] 149 | | pub static ref THIS_ID : Token = Token { [INFO] [stdout] 150 | | typ: TokenType::This, [INFO] [stdout] 151 | | lexeme: "this".to_owned(), [INFO] [stdout] ... | [INFO] [stdout] 159 | | }; [INFO] [stdout] 160 | | } [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/ast/token.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | / lazy_static! { [INFO] [stdout] 197 | | static ref RESERVED: HashMap<&'static str, Type> = [ [INFO] [stdout] 198 | | ("and", Type::And), [INFO] [stdout] 199 | | ("class", Type::Class), [INFO] [stdout] ... | [INFO] [stdout] 215 | | ].iter().cloned().collect(); [INFO] [stdout] 216 | | } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 70 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/expr.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn accept(&self, v: &mut Visitor) -> T { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - pub fn accept(&self, v: &mut Visitor) -> T { [INFO] [stdout] 76 + pub fn accept(&self, v: &mut dyn Visitor) -> T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/stmt.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn accept(&self, v: &mut Visitor) -> T { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - pub fn accept(&self, v: &mut Visitor) -> T { [INFO] [stdout] 73 + pub fn accept(&self, v: &mut dyn Visitor) -> T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | Error::IO(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/result.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | Error::IO(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.30s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rlox-86b392c830fcda9a) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rlox-b9b60ebde5ad4e1c) [INFO] [stderr] Executable tests/golden_master.rs (/opt/rustwide/target/debug/deps/golden_master-262042eaf406852c) [INFO] running `Command { std: "docker" "inspect" "2589f2076ef268228010ea490194dbc8da3aaf217659bae6c76321a73fbcdd26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2589f2076ef268228010ea490194dbc8da3aaf217659bae6c76321a73fbcdd26", kill_on_drop: false }` [INFO] [stdout] 2589f2076ef268228010ea490194dbc8da3aaf217659bae6c76321a73fbcdd26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 97cf6b10f3bc910674919268dcb8b84248e9c02df0c4599bcabab78a9b3c0be8 [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" "97cf6b10f3bc910674919268dcb8b84248e9c02df0c4599bcabab78a9b3c0be8", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/functions.rs:200:1 [INFO] [stderr] | [INFO] [stderr] 200 | / lazy_static! { [INFO] [stderr] 201 | | pub static ref CLOCK_ID : Token = Token { [INFO] [stderr] 202 | | typ: TokenType::Identifier, [INFO] [stderr] 203 | | lexeme: "clock".to_owned(), [INFO] [stderr] 204 | | ..Token::default() [INFO] [stderr] 205 | | }; [INFO] [stderr] 206 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/class.rs:148:1 [INFO] [stderr] | [INFO] [stderr] 148 | / lazy_static! { [INFO] [stderr] 149 | | pub static ref THIS_ID : Token = Token { [INFO] [stderr] 150 | | typ: TokenType::This, [INFO] [stderr] 151 | | lexeme: "this".to_owned(), [INFO] [stderr] ... | [INFO] [stderr] 159 | | }; [INFO] [stderr] 160 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/ast/token.rs:196:1 [INFO] [stderr] | [INFO] [stderr] 196 | / lazy_static! { [INFO] [stderr] 197 | | static ref RESERVED: HashMap<&'static str, Type> = [ [INFO] [stderr] 198 | | ("and", Type::And), [INFO] [stderr] 199 | | ("class", Type::Class), [INFO] [stderr] ... | [INFO] [stderr] 215 | | ].iter().cloned().collect(); [INFO] [stderr] 216 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/result.rs:70:32 [INFO] [stderr] | [INFO] [stderr] 70 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 70 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 70 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/expr.rs:76:37 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn accept(&self, v: &mut Visitor) -> T { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 76 - pub fn accept(&self, v: &mut Visitor) -> T { [INFO] [stderr] 76 + pub fn accept(&self, v: &mut dyn Visitor) -> T { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/stmt.rs:73:37 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn accept(&self, v: &mut Visitor) -> T { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 73 - pub fn accept(&self, v: &mut Visitor) -> T { [INFO] [stderr] 73 + pub fn accept(&self, v: &mut dyn Visitor) -> T { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/result.rs:61:35 [INFO] [stderr] | [INFO] [stderr] 61 | Error::IO(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/result.rs:72:35 [INFO] [stderr] | [INFO] [stderr] 72 | Error::IO(ref e) => e.cause(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rlox` (lib) generated 9 warnings (1 duplicate) [INFO] [stderr] warning: `rlox` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rlox-86b392c830fcda9a) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rlox-b9b60ebde5ad4e1c) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/golden_master.rs (/opt/rustwide/target/debug/deps/golden_master-262042eaf406852c) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test brk ... ok [INFO] [stdout] test loops ... ok [INFO] [stdout] test expr ... ok [INFO] [stdout] test function ... ok [INFO] [stdout] test counter ... ok [INFO] [stdout] test scopes ... ok [INFO] [stdout] test lambda ... ok [INFO] [stdout] test class ... ok [INFO] [stdout] test inheritance ... ok [INFO] [stdout] test stmts ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests rlox [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/ast/token.rs - ast::token::Type::reserved (line 181) ... ok [INFO] [stdout] test src/scanner.rs - scanner::Scanner (line 15) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.43s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "97cf6b10f3bc910674919268dcb8b84248e9c02df0c4599bcabab78a9b3c0be8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97cf6b10f3bc910674919268dcb8b84248e9c02df0c4599bcabab78a9b3c0be8", kill_on_drop: false }` [INFO] [stdout] 97cf6b10f3bc910674919268dcb8b84248e9c02df0c4599bcabab78a9b3c0be8