[INFO] cloning repository https://github.com/HankelBao/rust_pseudo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HankelBao/rust_pseudo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHankelBao%2Frust_pseudo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHankelBao%2Frust_pseudo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b328f9851527ec7656dfb7aa6c0af6e60907deb [INFO] building HankelBao/rust_pseudo against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHankelBao%2Frust_pseudo" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HankelBao/rust_pseudo on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HankelBao/rust_pseudo [INFO] finished tweaking git repo https://github.com/HankelBao/rust_pseudo [INFO] tweaked toml for git repo https://github.com/HankelBao/rust_pseudo written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HankelBao/rust_pseudo 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest v2.0.2 [INFO] [stderr] Downloaded pest_derive v2.0.1 [INFO] [stderr] Downloaded maplit v1.0.1 [INFO] [stderr] Downloaded pest_meta v2.0.3 [INFO] [stderr] Downloaded ucd-trie v0.1.1 [INFO] [stderr] Downloaded pest_generator v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 455441e838b4ea3981894bbe4956a0b3759b0d5fab35929f95bc434f3cef5506 [INFO] running `Command { std: "docker" "start" "-a" "455441e838b4ea3981894bbe4956a0b3759b0d5fab35929f95bc434f3cef5506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "455441e838b4ea3981894bbe4956a0b3759b0d5fab35929f95bc434f3cef5506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "455441e838b4ea3981894bbe4956a0b3759b0d5fab35929f95bc434f3cef5506", kill_on_drop: false }` [INFO] [stdout] 455441e838b4ea3981894bbe4956a0b3759b0d5fab35929f95bc434f3cef5506 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 067f5a101d19c3e8242310aa5cd1a297767120358784780b2ed781d279ce8fd5 [INFO] running `Command { std: "docker" "start" "-a" "067f5a101d19c3e8242310aa5cd1a297767120358784780b2ed781d279ce8fd5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling pest v2.0.2 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling pest_meta v2.0.3 [INFO] [stderr] Compiling pest_generator v2.0.0 [INFO] [stderr] Compiling pest_derive v2.0.1 [INFO] [stderr] Compiling rust_pseudo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | child_blocks: Vec>>>, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | child_blocks: Vec>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:43:42 [INFO] [stdout] | [INFO] [stdout] 43 | current_block: Option>>>, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | current_block: Option>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | parent_block: Option>>>, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | parent_block: Option>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:58:58 [INFO] [stdout] | [INFO] [stdout] 58 | fn init_env(&mut self, current_block: Rc>>, parent_block: Option>>>) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn init_env(&mut self, current_block: Rc>>, parent_block: Option>>>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:58:104 [INFO] [stdout] | [INFO] [stdout] 58 | fn init_env(&mut self, current_block: Rc>>, parent_block: Option>>>) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn init_env(&mut self, current_block: Rc>>, parent_block: Option>>>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:62:45 [INFO] [stdout] | [INFO] [stdout] 62 | fn init_block_ptr_from_block(block: Box, parent_block: Option>>>) -> Rc>> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | fn init_block_ptr_from_block(block: Box, parent_block: Option>>>) -> Rc>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:62:89 [INFO] [stdout] | [INFO] [stdout] 62 | fn init_block_ptr_from_block(block: Box, parent_block: Option>>>) -> Rc>> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | fn init_block_ptr_from_block(block: Box, parent_block: Option>>>) -> Rc>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:62:118 [INFO] [stdout] | [INFO] [stdout] 62 | fn init_block_ptr_from_block(block: Box, parent_block: Option>>>) -> Rc>> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | fn init_block_ptr_from_block(block: Box, parent_block: Option>>>) -> Rc>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:85:65 [INFO] [stdout] | [INFO] [stdout] 85 | fn mount_child_block(&mut self, child_block: Rc>>) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | fn mount_child_block(&mut self, child_block: Rc>>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | let block_ptr : Rc>> = Rc::new(RefCell::new(block)); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | let block_ptr : Rc>> = Rc::new(RefCell::new(block)); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:73:61 [INFO] [stdout] | [INFO] [stdout] 73 | let parent_block: Option>>> = self.current_block.clone(); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | let parent_block: Option>>> = self.current_block.clone(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VARIABLE` and `CONSTANT` are never constructed [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | enum SymbolType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 18 | VARIABLE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | CONSTANT, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `INT`, `REAL`, `STRING`, and `OTHER` are never constructed [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum ValueType{ [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 23 | INT, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | REAL, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | STRING, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | OTHER, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/main.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | struct Value(i32, f32, str); [INFO] [stdout] | ----- ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol_name`, `symbol_type`, `value_type`, `symbol_value`, and `symbol_scope` are never read [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Symbol{ [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 32 | symbol_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | symbol_type: SymbolType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | value_type: ValueType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | symbol_value: Box, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | symbol_scope: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `test_field` and `symbols` are never read [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | struct BlockStruct { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 40 | pub test_field: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | symbols: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "067f5a101d19c3e8242310aa5cd1a297767120358784780b2ed781d279ce8fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "067f5a101d19c3e8242310aa5cd1a297767120358784780b2ed781d279ce8fd5", kill_on_drop: false }` [INFO] [stdout] 067f5a101d19c3e8242310aa5cd1a297767120358784780b2ed781d279ce8fd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1890c7f373b76f53a7bc03a6febe4b4d3b495061d71dd69f9c1d58dc07367ba [INFO] running `Command { std: "docker" "start" "-a" "f1890c7f373b76f53a7bc03a6febe4b4d3b495061d71dd69f9c1d58dc07367ba", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rust_pseudo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | child_blocks: Vec>>>, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | child_blocks: Vec>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:43:42 [INFO] [stdout] | [INFO] [stdout] 43 | current_block: Option>>>, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | current_block: Option>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | parent_block: Option>>>, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | parent_block: Option>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:58:58 [INFO] [stdout] | [INFO] [stdout] 58 | fn init_env(&mut self, current_block: Rc>>, parent_block: Option>>>) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn init_env(&mut self, current_block: Rc>>, parent_block: Option>>>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:58:104 [INFO] [stdout] | [INFO] [stdout] 58 | fn init_env(&mut self, current_block: Rc>>, parent_block: Option>>>) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn init_env(&mut self, current_block: Rc>>, parent_block: Option>>>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:62:45 [INFO] [stdout] | [INFO] [stdout] 62 | fn init_block_ptr_from_block(block: Box, parent_block: Option>>>) -> Rc>> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | fn init_block_ptr_from_block(block: Box, parent_block: Option>>>) -> Rc>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:62:89 [INFO] [stdout] | [INFO] [stdout] 62 | fn init_block_ptr_from_block(block: Box, parent_block: Option>>>) -> Rc>> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | fn init_block_ptr_from_block(block: Box, parent_block: Option>>>) -> Rc>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:62:118 [INFO] [stdout] | [INFO] [stdout] 62 | fn init_block_ptr_from_block(block: Box, parent_block: Option>>>) -> Rc>> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | fn init_block_ptr_from_block(block: Box, parent_block: Option>>>) -> Rc>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:85:65 [INFO] [stdout] | [INFO] [stdout] 85 | fn mount_child_block(&mut self, child_block: Rc>>) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | fn mount_child_block(&mut self, child_block: Rc>>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | let block_ptr : Rc>> = Rc::new(RefCell::new(block)); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | let block_ptr : Rc>> = Rc::new(RefCell::new(block)); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:73:61 [INFO] [stdout] | [INFO] [stdout] 73 | let parent_block: Option>>> = self.current_block.clone(); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | let parent_block: Option>>> = self.current_block.clone(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VARIABLE` and `CONSTANT` are never constructed [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | enum SymbolType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 18 | VARIABLE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | CONSTANT, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `INT`, `REAL`, `STRING`, and `OTHER` are never constructed [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum ValueType{ [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 23 | INT, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | REAL, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | STRING, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | OTHER, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/main.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | struct Value(i32, f32, str); [INFO] [stdout] | ----- ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol_name`, `symbol_type`, `value_type`, `symbol_value`, and `symbol_scope` are never read [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Symbol{ [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 32 | symbol_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | symbol_type: SymbolType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | value_type: ValueType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | symbol_value: Box, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | symbol_scope: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `test_field` and `symbols` are never read [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | struct BlockStruct { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 40 | pub test_field: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | symbols: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f1890c7f373b76f53a7bc03a6febe4b4d3b495061d71dd69f9c1d58dc07367ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1890c7f373b76f53a7bc03a6febe4b4d3b495061d71dd69f9c1d58dc07367ba", kill_on_drop: false }` [INFO] [stdout] f1890c7f373b76f53a7bc03a6febe4b4d3b495061d71dd69f9c1d58dc07367ba