[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] checking rodaine/rlox against nightly-2024-02-05 for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodaine%2Frlox" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rodaine/rlox on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c346df3b025232d3faf46b4af20e7be5be4bf78a27b7eed8b217a8e0c0ee7284 [INFO] running `Command { std: "docker" "start" "-a" "c346df3b025232d3faf46b4af20e7be5be4bf78a27b7eed8b217a8e0c0ee7284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c346df3b025232d3faf46b4af20e7be5be4bf78a27b7eed8b217a8e0c0ee7284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c346df3b025232d3faf46b4af20e7be5be4bf78a27b7eed8b217a8e0c0ee7284", kill_on_drop: false }` [INFO] [stdout] c346df3b025232d3faf46b4af20e7be5be4bf78a27b7eed8b217a8e0c0ee7284 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e7dca0fd68bd854652e72da906cf684b2e1acb80969379e6bd7e41d3b1efee8 [INFO] running `Command { std: "docker" "start" "-a" "9e7dca0fd68bd854652e72da906cf684b2e1acb80969379e6bd7e41d3b1efee8", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking 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/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: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [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 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 dyn Visitor) -> T { [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/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: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [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 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 dyn Visitor) -> T { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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: use of deprecated method `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 method `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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "9e7dca0fd68bd854652e72da906cf684b2e1acb80969379e6bd7e41d3b1efee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e7dca0fd68bd854652e72da906cf684b2e1acb80969379e6bd7e41d3b1efee8", kill_on_drop: false }` [INFO] [stdout] 9e7dca0fd68bd854652e72da906cf684b2e1acb80969379e6bd7e41d3b1efee8 [INFO] checking rodaine/rlox against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodaine%2Frlox" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rodaine/rlox on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "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-7-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 294614ceecff3ab35db591501d9569f8dce6dd085a43dbc88a889a572628dbf1 [INFO] running `Command { std: "docker" "start" "-a" "294614ceecff3ab35db591501d9569f8dce6dd085a43dbc88a889a572628dbf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "294614ceecff3ab35db591501d9569f8dce6dd085a43dbc88a889a572628dbf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "294614ceecff3ab35db591501d9569f8dce6dd085a43dbc88a889a572628dbf1", kill_on_drop: false }` [INFO] [stdout] 294614ceecff3ab35db591501d9569f8dce6dd085a43dbc88a889a572628dbf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Dunexpected_cfgs" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }` [INFO] [stdout] c9fed5ca95493975f0c531f513e34d87a5720c63e1f1786623d1b4d19069bf10 [INFO] running `Command { std: "docker" "start" "-a" "c9fed5ca95493975f0c531f513e34d87a5720c63e1f1786623d1b4d19069bf10", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/functions.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | #[cfg_attr(feature = "cargo-clippy", allow(cast_lossless))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug`, `debug-assign`, `debug-constructors`, `debug-define`, `debug-destructors`, `debug-timings` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/functions.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | #[cfg_attr(feature = "cargo-clippy", allow(cast_lossless))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug`, `debug-assign`, `debug-constructors`, `debug-define`, `debug-destructors`, `debug-timings` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [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: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [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 dyn Visitor) -> T { [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/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: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 dyn Visitor) -> T { [INFO] [stdout] | +++ [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [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 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 dyn Visitor) -> T { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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: use of deprecated method `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 method `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] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rlox` (lib) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rlox` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c9fed5ca95493975f0c531f513e34d87a5720c63e1f1786623d1b4d19069bf10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9fed5ca95493975f0c531f513e34d87a5720c63e1f1786623d1b4d19069bf10", kill_on_drop: false }` [INFO] [stdout] c9fed5ca95493975f0c531f513e34d87a5720c63e1f1786623d1b4d19069bf10