[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-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodaine%2Frlox" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rodaine/rlox on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-4/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-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", 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] 7ea31a0b9af1752874e5c8195278a066efc673316a17bcd98fdf75b73b7a0f95 [INFO] running `Command { std: "docker" "start" "-a" "7ea31a0b9af1752874e5c8195278a066efc673316a17bcd98fdf75b73b7a0f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ea31a0b9af1752874e5c8195278a066efc673316a17bcd98fdf75b73b7a0f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ea31a0b9af1752874e5c8195278a066efc673316a17bcd98fdf75b73b7a0f95", kill_on_drop: false }` [INFO] [stdout] 7ea31a0b9af1752874e5c8195278a066efc673316a17bcd98fdf75b73b7a0f95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "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] c61dcc25fc28e01b62d648449f2fb4e9cd6b3d6a5978752ba40b20b17e46a949 [INFO] running `Command { std: "docker" "start" "-a" "c61dcc25fc28e01b62d648449f2fb4e9cd6b3d6a5978752ba40b20b17e46a949", 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.52s [INFO] running `Command { std: "docker" "inspect" "c61dcc25fc28e01b62d648449f2fb4e9cd6b3d6a5978752ba40b20b17e46a949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c61dcc25fc28e01b62d648449f2fb4e9cd6b3d6a5978752ba40b20b17e46a949", kill_on_drop: false }` [INFO] [stdout] c61dcc25fc28e01b62d648449f2fb4e9cd6b3d6a5978752ba40b20b17e46a949 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f07a78c922c999d99065d8f74c2f65775ce51e13f4bf750a140d69ccba3ae72d [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" "f07a78c922c999d99065d8f74c2f65775ce51e13f4bf750a140d69ccba3ae72d", 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 2.50s [INFO] running `Command { std: "docker" "inspect" "f07a78c922c999d99065d8f74c2f65775ce51e13f4bf750a140d69ccba3ae72d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f07a78c922c999d99065d8f74c2f65775ce51e13f4bf750a140d69ccba3ae72d", kill_on_drop: false }` [INFO] [stdout] f07a78c922c999d99065d8f74c2f65775ce51e13f4bf750a140d69ccba3ae72d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e7a8b31caba413f9096f23dcd264b2c7418b1e51ace6e73b149f80bc51cece1c [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" "e7a8b31caba413f9096f23dcd264b2c7418b1e51ace6e73b149f80bc51cece1c", 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 (/opt/rustwide/target/debug/deps/rlox-86b392c830fcda9a) [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] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rlox-b9b60ebde5ad4e1c) [INFO] [stdout] [INFO] [stderr] Running tests/golden_master.rs (/opt/rustwide/target/debug/deps/golden_master-262042eaf406852c) [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 lambda ... ok [INFO] [stdout] test counter ... ok [INFO] [stdout] test class ... ok [INFO] [stdout] test expr ... ok [INFO] [stdout] test function ... ok [INFO] [stdout] test inheritance ... ok [INFO] [stdout] test scopes ... ok [INFO] [stdout] test stmts ... ok [INFO] [stdout] test loops ... 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/scanner.rs - scanner::Scanner (line 15) ... ok [INFO] [stdout] test src/ast/token.rs - ast::token::Type::reserved (line 181) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e7a8b31caba413f9096f23dcd264b2c7418b1e51ace6e73b149f80bc51cece1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7a8b31caba413f9096f23dcd264b2c7418b1e51ace6e73b149f80bc51cece1c", kill_on_drop: false }` [INFO] [stdout] e7a8b31caba413f9096f23dcd264b2c7418b1e51ace6e73b149f80bc51cece1c