[INFO] cloning repository https://github.com/zegl/kram-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zegl/kram-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzegl%2Fkram-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzegl%2Fkram-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cff99c048aa188d71d57a3fa7a8bade0556178de [INFO] checking zegl/kram-rust against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzegl%2Fkram-rust" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zegl/kram-rust on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zegl/kram-rust [INFO] finished tweaking git repo https://github.com/zegl/kram-rust [INFO] tweaked toml for git repo https://github.com/zegl/kram-rust written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/zegl/kram-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 160b728067d8bc5ecb9b3c0b3ab873ae098a07be0de7c5045991e641b4460ce8 [INFO] running `Command { std: "docker" "start" "-a" "160b728067d8bc5ecb9b3c0b3ab873ae098a07be0de7c5045991e641b4460ce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "160b728067d8bc5ecb9b3c0b3ab873ae098a07be0de7c5045991e641b4460ce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "160b728067d8bc5ecb9b3c0b3ab873ae098a07be0de7c5045991e641b4460ce8", kill_on_drop: false }` [INFO] [stdout] 160b728067d8bc5ecb9b3c0b3ab873ae098a07be0de7c5045991e641b4460ce8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb4f9f196a3dcf24021655c88fd019a74f307d6071c8433b24cb513d48d59f8a [INFO] running `Command { std: "docker" "start" "-a" "bb4f9f196a3dcf24021655c88fd019a74f307d6071c8433b24cb513d48d59f8a", kill_on_drop: false }` [INFO] [stderr] Checking kram-rust v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | classes: Vec>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Library` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PUSH_CLASS` should have an upper camel case name [INFO] [stdout] --> src/vm/mod.rs:129:2 [INFO] [stdout] | [INFO] [stdout] 129 | PUSH_CLASS, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PushClass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/mod.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | Reference: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Library` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/mod.rs:260:34 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn reference(reference: Box) -> Value { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Library` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lexer::Lexer` [INFO] [stdout] --> src/parser/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CLASS_BODY` should have an upper camel case name [INFO] [stdout] --> src/parser/mod.rs:527:2 [INFO] [stdout] | [INFO] [stdout] 527 | CLASS_BODY, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ClassBody` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PUSH_CLASS` should have an upper camel case name [INFO] [stdout] --> src/parser/mod.rs:528:2 [INFO] [stdout] | [INFO] [stdout] 528 | PUSH_CLASS, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PushClass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `METHOD_PARAMETERS` should have an upper camel case name [INFO] [stdout] --> src/parser/mod.rs:529:2 [INFO] [stdout] | [INFO] [stdout] 529 | METHOD_PARAMETERS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MethodParameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/libraries/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | fn call(&self, String) -> Value; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/libraries/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | impl std::fmt::Debug for Library { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Library` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | classes: Vec>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Library` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PUSH_CLASS` should have an upper camel case name [INFO] [stdout] --> src/vm/mod.rs:129:2 [INFO] [stdout] | [INFO] [stdout] 129 | PUSH_CLASS, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PushClass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/mod.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | Reference: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Library` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/mod.rs:260:34 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn reference(reference: Box) -> Value { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Library` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lexer::Lexer` [INFO] [stdout] --> src/parser/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CLASS_BODY` should have an upper camel case name [INFO] [stdout] --> src/parser/mod.rs:527:2 [INFO] [stdout] | [INFO] [stdout] 527 | CLASS_BODY, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ClassBody` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PUSH_CLASS` should have an upper camel case name [INFO] [stdout] --> src/parser/mod.rs:528:2 [INFO] [stdout] | [INFO] [stdout] 528 | PUSH_CLASS, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PushClass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `METHOD_PARAMETERS` should have an upper camel case name [INFO] [stdout] --> src/parser/mod.rs:529:2 [INFO] [stdout] | [INFO] [stdout] 529 | METHOD_PARAMETERS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MethodParameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/libraries/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | fn call(&self, String) -> Value; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/libraries/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | impl std::fmt::Debug for Library { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Library` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Library: Clone` is not satisfied [INFO] [stdout] --> src/vm/mod.rs:230:2 [INFO] [stdout] | [INFO] [stdout] 230 | Reference: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `dyn Library` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Clone` for `Box` [INFO] [stdout] = note: required by `clone` [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Library: Clone` is not satisfied [INFO] [stdout] --> src/vm/mod.rs:230:2 [INFO] [stdout] | [INFO] [stdout] 230 | Reference: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `dyn Library` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Clone` for `Box` [INFO] [stdout] = note: required by `clone` [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `Reference` in initializer of `Value` [INFO] [stdout] --> src/vm/mod.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 241 | Value { [INFO] [stdout] | ^^^^^ missing `Reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `Reference` in initializer of `Value` [INFO] [stdout] --> src/vm/mod.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 241 | Value { [INFO] [stdout] | ^^^^^ missing `Reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/libraries/mod.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::fmt::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/libraries/mod.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::fmt::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kram-rust` due to 4 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bb4f9f196a3dcf24021655c88fd019a74f307d6071c8433b24cb513d48d59f8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb4f9f196a3dcf24021655c88fd019a74f307d6071c8433b24cb513d48d59f8a", kill_on_drop: false }` [INFO] [stdout] bb4f9f196a3dcf24021655c88fd019a74f307d6071c8433b24cb513d48d59f8a