[INFO] cloning repository https://github.com/rickyhan/tensorscript [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rickyhan/tensorscript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickyhan%2Ftensorscript", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickyhan%2Ftensorscript'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eba87592b41b974fd21dc6caa5fb766bf8fedb47 [INFO] checking rickyhan/tensorscript/eba87592b41b974fd21dc6caa5fb766bf8fedb47 against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickyhan%2Ftensorscript" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rickyhan/tensorscript [INFO] finished tweaking git repo https://github.com/rickyhan/tensorscript [INFO] tweaked toml for git repo https://github.com/rickyhan/tensorscript written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rickyhan/tensorscript on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rickyhan/tensorscript 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/trsc/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/trsc_core_derive/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded codespan v0.1.2 [INFO] [stderr] Downloaded serde v1.0.57 [INFO] [stderr] Downloaded assert_cli v0.6.0 [INFO] [stderr] Downloaded codespan-reporting v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c796d20a47811a1ea6930c3e9ff9d0a3db312f679b1b714c85244d9d4c240889 [INFO] running `Command { std: "docker" "start" "-a" "c796d20a47811a1ea6930c3e9ff9d0a3db312f679b1b714c85244d9d4c240889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c796d20a47811a1ea6930c3e9ff9d0a3db312f679b1b714c85244d9d4c240889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c796d20a47811a1ea6930c3e9ff9d0a3db312f679b1b714c85244d9d4c240889", kill_on_drop: false }` [INFO] [stdout] c796d20a47811a1ea6930c3e9ff9d0a3db312f679b1b714c85244d9d4c240889 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5bf63a46b3a436e9f55996abeee7a6f0ff880ab7c9e15a3f69699adf453ea8b [INFO] running `Command { std: "docker" "start" "-a" "a5bf63a46b3a436e9f55996abeee7a6f0ff880ab7c9e15a3f69699adf453ea8b", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/trsc/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/trsc_core_derive/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Compiling cc v1.0.15 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Compiling serde v1.0.57 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking colored v1.6.0 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking maplit v1.0.1 [INFO] [stderr] Checking environment v0.1.1 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Checking trsc_core_derive v0.1.0 (/opt/rustwide/workdir/trsc_core_derive) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> trsc_core_derive/src/parser.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | 'A'...'z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> trsc_core_derive/src/parser.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | 'A'...'z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_op_name` is never used [INFO] [stdout] --> trsc_core_derive/src/attrs.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_op_name(attrs: &[syn::Attribute]) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pest_derive v1.0.7 [INFO] [stdout] warning: function `get_op_name` is never used [INFO] [stdout] --> trsc_core_derive/src/attrs.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_op_name(attrs: &[syn::Attribute]) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> trsc_core_derive/src/parser.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | 'A'...'z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_op_name` is never used [INFO] [stdout] --> trsc_core_derive/src/attrs.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_op_name(attrs: &[syn::Attribute]) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking serde_json v1.0.17 [INFO] [stderr] Checking backtrace v0.3.7 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking codespan v0.1.2 [INFO] [stderr] Checking assert_cli v0.6.0 [INFO] [stderr] Checking codespan-reporting v0.1.3 [INFO] [stderr] Checking trsc v0.1.0 (/opt/rustwide/workdir/trsc) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> trsc/src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.70.0; see for more information [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> trsc/src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.0.0; see for more information [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | box ret, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 68 - box ret, [INFO] [stdout] 68 + Box::new(ret), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | box self.annotate(&items), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 93 - box self.annotate(&items), [INFO] [stdout] 93 + Box::new(self.annotate(&items)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 133 | TyTerm::TyFnApp(box TyFnApp { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 134 | | mod_name: Some( [INFO] [stdout] 135 | | self.tenv.borrow().resolve_type(&module, &Alias::Variable(id.clone())) [INFO] [stdout] 136 | | .or_else(|| { [INFO] [stdout] ... | [INFO] [stdout] 147 | | span: *span, [INFO] [stdout] 148 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 133 ~ TyTerm::TyFnApp(Box::new(TyFnApp { [INFO] [stdout] 134 | mod_name: Some( [INFO] [stdout] ... [INFO] [stdout] 147 | span: *span, [INFO] [stdout] 148 ~ })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:163:37 [INFO] [stdout] | [INFO] [stdout] 163 | TyTerm::TyFnApp(box typed_fn_app) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 163 - TyTerm::TyFnApp(box typed_fn_app) [INFO] [stdout] 163 + TyTerm::TyFnApp(Box::new(typed_fn_app)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:176:58 [INFO] [stdout] | [INFO] [stdout] 176 | Term::ViewFn(ref v_f) => TyTerm::TyFnApp(box self.annotate_view_fn(&v_f, &prev_arg)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 176 - Term::ViewFn(ref v_f) => TyTerm::TyFnApp(box self.annotate_view_fn(&v_f, &prev_arg)), [INFO] [stdout] 176 + Term::ViewFn(ref v_f) => TyTerm::TyFnApp(Box::new(self.annotate_view_fn(&v_f, &prev_arg))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:228:26 [INFO] [stdout] | [INFO] [stdout] 228 | Some(box ty_sig.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 228 - Some(box ty_sig.clone()), [INFO] [stdout] 228 + Some(Box::new(ty_sig.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | / box self.annotate_fn_ty_sig( [INFO] [stdout] 355 | | w_assign.mod_name.to_owned(), [INFO] [stdout] 356 | | "forward".to_owned(), [INFO] [stdout] 357 | | &sig, [INFO] [stdout] 358 | | &w_assign.span [INFO] [stdout] 359 | | ).unwrap() [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 354 ~ Box::new(self.annotate_fn_ty_sig( [INFO] [stdout] 355 | w_assign.mod_name.to_owned(), [INFO] [stdout] ... [INFO] [stdout] 358 | &w_assign.span [INFO] [stdout] 359 ~ ).unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:518:17 [INFO] [stdout] | [INFO] [stdout] 518 | box decl.arg_ty.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 518 - box decl.arg_ty.clone(), [INFO] [stdout] 518 + Box::new(decl.arg_ty.clone()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:519:17 [INFO] [stdout] | [INFO] [stdout] 519 | box decl.ret_ty.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 519 - box decl.ret_ty.clone(), [INFO] [stdout] 519 + Box::new(decl.ret_ty.clone()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:560:37 [INFO] [stdout] | [INFO] [stdout] 560 | TyTerm::TyFnApp(box TyFnApp { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 561 | | mod_name: Some(f_a.mod_name.clone()), [INFO] [stdout] 562 | | orig_name: Some(f_a.mod_name.clone()), [INFO] [stdout] 563 | | name: Alias::Function(f_a.field_name.clone()), [INFO] [stdout] ... | [INFO] [stdout] 567 | | span: f_a.span, [INFO] [stdout] 568 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 560 ~ TyTerm::TyFnApp(Box::new(TyFnApp { [INFO] [stdout] 561 | mod_name: Some(f_a.mod_name.clone()), [INFO] [stdout] ... [INFO] [stdout] 567 | span: f_a.span, [INFO] [stdout] 568 ~ })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/typed_term.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | box t_arg.arg.ty().clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 231 - box t_arg.arg.ty().clone(), [INFO] [stdout] 231 + Box::new(t_arg.arg.ty().clone()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/typed_term.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | box t_arg.ty.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 261 - box t_arg.ty.clone(), [INFO] [stdout] 261 + Box::new(t_arg.ty.clone()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/constraint.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | Some(box decl.ty_sig.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 106 - Some(box decl.ty_sig.clone()), [INFO] [stdout] 106 + Some(Box::new(decl.ty_sig.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/constraint.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | Some(box decl.ty_sig.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 142 - Some(box decl.ty_sig.clone()), [INFO] [stdout] 142 + Some(Box::new(decl.ty_sig.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/constraint.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | Some(box decl.ty_sig.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 158 - Some(box decl.ty_sig.clone()), [INFO] [stdout] 158 + Some(Box::new(decl.ty_sig.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/constraint.rs:287:72 [INFO] [stdout] | [INFO] [stdout] 287 | ... Type::FUN(m,n,a,r,s) => Type::FUN(m,n, box a.first_arg_ty().unwrap(),r,s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 287 - Type::FUN(m,n,a,r,s) => Type::FUN(m,n, box a.first_arg_ty().unwrap(),r,s), [INFO] [stdout] 287 + Type::FUN(m,n,a,r,s) => Type::FUN(m,n, Box::new(a.first_arg_ty().unwrap()),r,s), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/constraint.rs:297:79 [INFO] [stdout] | [INFO] [stdout] 297 | ... Type::Module(symbol_name.to_owned(), Some(box ty), sp), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 297 - Type::Module(symbol_name.to_owned(), Some(box ty), sp), [INFO] [stdout] 297 + Type::Module(symbol_name.to_owned(), Some(Box::new(ty)), sp), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/inferred_ast.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | TyFnApp(ref fn_app) => TyFnApp(box subs_fn_app(&fn_app, s)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 16 - TyFnApp(ref fn_app) => TyFnApp(box subs_fn_app(&fn_app, s)), [INFO] [stdout] 16 + TyFnApp(ref fn_app) => TyFnApp(Box::new(subs_fn_app(&fn_app, s))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/inferred_ast.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | stmts: box subs(&stmts, s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 22 - stmts: box subs(&stmts, s), [INFO] [stdout] 22 + stmts: Box::new(subs(&stmts, s)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/inferred_ast.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | ret: box subs(&ret, s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 23 - ret: box subs(&ret, s), [INFO] [stdout] 23 + ret: Box::new(subs(&ret, s)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/inferred_ast.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | box subs(&items, s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 27 - box subs(&items, s), [INFO] [stdout] 27 + Box::new(subs(&items, s)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/inferred_ast.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | box subs(&items, s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 32 - box subs(&items, s), [INFO] [stdout] 32 + Box::new(subs(&items, s)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/inferred_ast.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | c.func_block = box subs(&c.func_block, s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 71 - c.func_block = box subs(&c.func_block, s); [INFO] [stdout] 71 + c.func_block = Box::new(subs(&c.func_block, s)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/inferred_ast.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | arg: box subs(&a.arg, s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 115 - arg: box subs(&a.arg, s), [INFO] [stdout] 115 + arg: Box::new(subs(&a.arg, s)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/unifier.rs:285:54 [INFO] [stdout] | [INFO] [stdout] 285 | FnArg(name, a, s) => FnArg(name, box substitute_tvar(*a, tvar, replacement), s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 285 - FnArg(name, a, s) => FnArg(name, box substitute_tvar(*a, tvar, replacement), s), [INFO] [stdout] 285 + FnArg(name, a, s) => FnArg(name, Box::new(substitute_tvar(*a, tvar, replacement)), s), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/unifier.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | box substitute_tvar(*p, tvar, &replacement), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 295 - box substitute_tvar(*p, tvar, &replacement), [INFO] [stdout] 295 + Box::new(substitute_tvar(*p, tvar, &replacement)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/unifier.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | box substitute_tvar(*r, tvar, &replacement), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 296 - box substitute_tvar(*r, tvar, &replacement), [INFO] [stdout] 296 + Box::new(substitute_tvar(*r, tvar, &replacement)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/unifier.rs:302:28 [INFO] [stdout] | [INFO] [stdout] 302 | Module(n, Some(box substitute_tvar(ty, tvar, replacement)), s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 302 - Module(n, Some(box substitute_tvar(ty, tvar, replacement)), s) [INFO] [stdout] 302 + Module(n, Some(Box::new(substitute_tvar(ty, tvar, replacement))), s) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/unifier.rs:306:47 [INFO] [stdout] | [INFO] [stdout] 306 | FnArg(name, box ty, s) => FnArg(name, box substitute_tvar(ty, tvar, replacement), s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 306 - FnArg(name, box ty, s) => FnArg(name, box substitute_tvar(ty, tvar, replacement), s), [INFO] [stdout] 306 + FnArg(name, box ty, s) => FnArg(name, Box::new(substitute_tvar(ty, tvar, replacement)), s), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> trsc/src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.70.0; see for more information [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> trsc/src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.0.0; see for more information [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | box ret, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 68 - box ret, [INFO] [stdout] 68 + Box::new(ret), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | box self.annotate(&items), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 93 - box self.annotate(&items), [INFO] [stdout] 93 + Box::new(self.annotate(&items)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 133 | TyTerm::TyFnApp(box TyFnApp { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 134 | | mod_name: Some( [INFO] [stdout] 135 | | self.tenv.borrow().resolve_type(&module, &Alias::Variable(id.clone())) [INFO] [stdout] 136 | | .or_else(|| { [INFO] [stdout] ... | [INFO] [stdout] 147 | | span: *span, [INFO] [stdout] 148 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 133 ~ TyTerm::TyFnApp(Box::new(TyFnApp { [INFO] [stdout] 134 | mod_name: Some( [INFO] [stdout] ... [INFO] [stdout] 147 | span: *span, [INFO] [stdout] 148 ~ })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:163:37 [INFO] [stdout] | [INFO] [stdout] 163 | TyTerm::TyFnApp(box typed_fn_app) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 163 - TyTerm::TyFnApp(box typed_fn_app) [INFO] [stdout] 163 + TyTerm::TyFnApp(Box::new(typed_fn_app)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:176:58 [INFO] [stdout] | [INFO] [stdout] 176 | Term::ViewFn(ref v_f) => TyTerm::TyFnApp(box self.annotate_view_fn(&v_f, &prev_arg)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 176 - Term::ViewFn(ref v_f) => TyTerm::TyFnApp(box self.annotate_view_fn(&v_f, &prev_arg)), [INFO] [stdout] 176 + Term::ViewFn(ref v_f) => TyTerm::TyFnApp(Box::new(self.annotate_view_fn(&v_f, &prev_arg))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:228:26 [INFO] [stdout] | [INFO] [stdout] 228 | Some(box ty_sig.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 228 - Some(box ty_sig.clone()), [INFO] [stdout] 228 + Some(Box::new(ty_sig.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | / box self.annotate_fn_ty_sig( [INFO] [stdout] 355 | | w_assign.mod_name.to_owned(), [INFO] [stdout] 356 | | "forward".to_owned(), [INFO] [stdout] 357 | | &sig, [INFO] [stdout] 358 | | &w_assign.span [INFO] [stdout] 359 | | ).unwrap() [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 354 ~ Box::new(self.annotate_fn_ty_sig( [INFO] [stdout] 355 | w_assign.mod_name.to_owned(), [INFO] [stdout] ... [INFO] [stdout] 358 | &w_assign.span [INFO] [stdout] 359 ~ ).unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:518:17 [INFO] [stdout] | [INFO] [stdout] 518 | box decl.arg_ty.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 518 - box decl.arg_ty.clone(), [INFO] [stdout] 518 + Box::new(decl.arg_ty.clone()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:519:17 [INFO] [stdout] | [INFO] [stdout] 519 | box decl.ret_ty.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 519 - box decl.ret_ty.clone(), [INFO] [stdout] 519 + Box::new(decl.ret_ty.clone()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/annotate.rs:560:37 [INFO] [stdout] | [INFO] [stdout] 560 | TyTerm::TyFnApp(box TyFnApp { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 561 | | mod_name: Some(f_a.mod_name.clone()), [INFO] [stdout] 562 | | orig_name: Some(f_a.mod_name.clone()), [INFO] [stdout] 563 | | name: Alias::Function(f_a.field_name.clone()), [INFO] [stdout] ... | [INFO] [stdout] 567 | | span: f_a.span, [INFO] [stdout] 568 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 560 ~ TyTerm::TyFnApp(Box::new(TyFnApp { [INFO] [stdout] 561 | mod_name: Some(f_a.mod_name.clone()), [INFO] [stdout] ... [INFO] [stdout] 567 | span: f_a.span, [INFO] [stdout] 568 ~ })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:328:45 [INFO] [stdout] | [INFO] [stdout] 328 | Type::FnArg(Some($name.to_owned()), box $ty, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/typing/annotate.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 192 | arg_ty: args!(arg!("x", arg.arg.ty())), [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 328 - Type::FnArg(Some($name.to_owned()), box $ty, CSpan::fresh_span()) [INFO] [stdout] 328 + Type::FnArg(Some($name.to_owned()), Box::new($ty), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/typed_term.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | box t_arg.arg.ty().clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 231 - box t_arg.arg.ty().clone(), [INFO] [stdout] 231 + Box::new(t_arg.arg.ty().clone()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/typed_term.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | box t_arg.ty.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 261 - box t_arg.ty.clone(), [INFO] [stdout] 261 + Box::new(t_arg.ty.clone()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/constraint.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | Some(box decl.ty_sig.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 106 - Some(box decl.ty_sig.clone()), [INFO] [stdout] 106 + Some(Box::new(decl.ty_sig.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/constraint.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | Some(box decl.ty_sig.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 142 - Some(box decl.ty_sig.clone()), [INFO] [stdout] 142 + Some(Box::new(decl.ty_sig.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/typing/constraint.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | / fun!( [INFO] [stdout] 276 | | symbol_name, [INFO] [stdout] 277 | | fn_app.name.as_str(), [INFO] [stdout] 278 | | fn_app.arg_ty.clone(), [INFO] [stdout] 279 | | fn_app.ret_ty.clone() [INFO] [stdout] 280 | | ) [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/constraint.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | Some(box decl.ty_sig.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 158 - Some(box decl.ty_sig.clone()), [INFO] [stdout] 158 + Some(Box::new(decl.ty_sig.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/typing/constraint.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | / fun!( [INFO] [stdout] 276 | | symbol_name, [INFO] [stdout] 277 | | fn_app.name.as_str(), [INFO] [stdout] 278 | | fn_app.arg_ty.clone(), [INFO] [stdout] 279 | | fn_app.ret_ty.clone() [INFO] [stdout] 280 | | ) [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/typing/constraint.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | fun!(symbol_name, fn_app.name.as_str(), fn_app.arg_ty.clone(), fn_app.ret_ty.clone()), [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/typing/constraint.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | fun!(symbol_name, fn_app.name.as_str(), fn_app.arg_ty.clone(), fn_app.ret_ty.clone()), [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/constraint.rs:287:72 [INFO] [stdout] | [INFO] [stdout] 287 | ... Type::FUN(m,n,a,r,s) => Type::FUN(m,n, box a.first_arg_ty().unwrap(),r,s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 287 - Type::FUN(m,n,a,r,s) => Type::FUN(m,n, box a.first_arg_ty().unwrap(),r,s), [INFO] [stdout] 287 + Type::FUN(m,n,a,r,s) => Type::FUN(m,n, Box::new(a.first_arg_ty().unwrap()),r,s), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/constraint.rs:297:79 [INFO] [stdout] | [INFO] [stdout] 297 | ... Type::Module(symbol_name.to_owned(), Some(box ty), sp), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 297 - Type::Module(symbol_name.to_owned(), Some(box ty), sp), [INFO] [stdout] 297 + Type::Module(symbol_name.to_owned(), Some(Box::new(ty)), sp), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:328:45 [INFO] [stdout] | [INFO] [stdout] 328 | Type::FnArg(Some($name.to_owned()), box $ty, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/typing/constraint.rs:324:31 [INFO] [stdout] | [INFO] [stdout] 324 | args!(arg!("x",p.clone()))); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 328 - Type::FnArg(Some($name.to_owned()), box $ty, CSpan::fresh_span()) [INFO] [stdout] 328 + Type::FnArg(Some($name.to_owned()), Box::new($ty), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/prelude.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | fun!("view", "forward", arg_ty, tsr!(modified_ret_ty)) [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/prelude.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | fun!("view", "forward", arg_ty, tsr!(modified_ret_ty)) [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/inferred_ast.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | TyFnApp(ref fn_app) => TyFnApp(box subs_fn_app(&fn_app, s)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 16 - TyFnApp(ref fn_app) => TyFnApp(box subs_fn_app(&fn_app, s)), [INFO] [stdout] 16 + TyFnApp(ref fn_app) => TyFnApp(Box::new(subs_fn_app(&fn_app, s))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/inferred_ast.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | stmts: box subs(&stmts, s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 22 - stmts: box subs(&stmts, s), [INFO] [stdout] 22 + stmts: Box::new(subs(&stmts, s)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/inferred_ast.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | ret: box subs(&ret, s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 23 - ret: box subs(&ret, s), [INFO] [stdout] 23 + ret: Box::new(subs(&ret, s)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/inferred_ast.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | box subs(&items, s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 27 - box subs(&items, s), [INFO] [stdout] 27 + Box::new(subs(&items, s)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/inferred_ast.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | box subs(&items, s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 32 - box subs(&items, s), [INFO] [stdout] 32 + Box::new(subs(&items, s)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/inferred_ast.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | c.func_block = box subs(&c.func_block, s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 71 - c.func_block = box subs(&c.func_block, s); [INFO] [stdout] 71 + c.func_block = Box::new(subs(&c.func_block, s)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/inferred_ast.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | arg: box subs(&a.arg, s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 115 - arg: box subs(&a.arg, s), [INFO] [stdout] 115 + arg: Box::new(subs(&a.arg, s)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/unifier.rs:285:54 [INFO] [stdout] | [INFO] [stdout] 285 | FnArg(name, a, s) => FnArg(name, box substitute_tvar(*a, tvar, replacement), s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 285 - FnArg(name, a, s) => FnArg(name, box substitute_tvar(*a, tvar, replacement), s), [INFO] [stdout] 285 + FnArg(name, a, s) => FnArg(name, Box::new(substitute_tvar(*a, tvar, replacement)), s), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/unifier.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | box substitute_tvar(*p, tvar, &replacement), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 295 - box substitute_tvar(*p, tvar, &replacement), [INFO] [stdout] 295 + Box::new(substitute_tvar(*p, tvar, &replacement)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/unifier.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | box substitute_tvar(*r, tvar, &replacement), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 296 - box substitute_tvar(*r, tvar, &replacement), [INFO] [stdout] 296 + Box::new(substitute_tvar(*r, tvar, &replacement)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/conv.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | / fun!( [INFO] [stdout] 87 | | "Conv2d", [INFO] [stdout] 88 | | "forward", [INFO] [stdout] 89 | | arg_ty, [INFO] [stdout] ... | [INFO] [stdout] 95 | | ], span) [INFO] [stdout] 96 | | ) [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/unifier.rs:302:28 [INFO] [stdout] | [INFO] [stdout] 302 | Module(n, Some(box substitute_tvar(ty, tvar, replacement)), s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 302 - Module(n, Some(box substitute_tvar(ty, tvar, replacement)), s) [INFO] [stdout] 302 + Module(n, Some(Box::new(substitute_tvar(ty, tvar, replacement))), s) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/conv.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | / fun!( [INFO] [stdout] 87 | | "Conv2d", [INFO] [stdout] 88 | | "forward", [INFO] [stdout] 89 | | arg_ty, [INFO] [stdout] ... | [INFO] [stdout] 95 | | ], span) [INFO] [stdout] 96 | | ) [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/conv.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | Some(Ok(fun!( [INFO] [stdout] | _________________________- [INFO] [stdout] 102 | | "Conv2d", [INFO] [stdout] 103 | | "new", [INFO] [stdout] 104 | | args!( [INFO] [stdout] ... | [INFO] [stdout] 109 | | module!("Conv2d") [INFO] [stdout] 110 | | ))) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/unifier.rs:306:47 [INFO] [stdout] | [INFO] [stdout] 306 | FnArg(name, box ty, s) => FnArg(name, box substitute_tvar(ty, tvar, replacement), s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 306 - FnArg(name, box ty, s) => FnArg(name, box substitute_tvar(ty, tvar, replacement), s), [INFO] [stdout] 306 + FnArg(name, box ty, s) => FnArg(name, Box::new(substitute_tvar(ty, tvar, replacement)), s), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/conv.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | Some(Ok(fun!( [INFO] [stdout] | _________________________- [INFO] [stdout] 102 | | "Conv2d", [INFO] [stdout] 103 | | "new", [INFO] [stdout] 104 | | args!( [INFO] [stdout] ... | [INFO] [stdout] 109 | | module!("Conv2d") [INFO] [stdout] 110 | | ))) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/conv.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | / fun!( [INFO] [stdout] 192 | | "maxpool2d", [INFO] [stdout] 193 | | "forward", [INFO] [stdout] 194 | | arg_ty, [INFO] [stdout] ... | [INFO] [stdout] 200 | | ], span) [INFO] [stdout] 201 | | ) [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/conv.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | / fun!( [INFO] [stdout] 192 | | "maxpool2d", [INFO] [stdout] 193 | | "forward", [INFO] [stdout] 194 | | arg_ty, [INFO] [stdout] ... | [INFO] [stdout] 200 | | ], span) [INFO] [stdout] 201 | | ) [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/lin.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | Some(Ok(fun!( [INFO] [stdout] | _____________________________- [INFO] [stdout] 75 | | self.get_name(), [INFO] [stdout] 76 | | "forward", [INFO] [stdout] 77 | | args!(arg!("x",Type::TSR(a, span))), [INFO] [stdout] 78 | | Type::TSR(b, span) [INFO] [stdout] 79 | | ))) [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/lin.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | Some(Ok(fun!( [INFO] [stdout] | _____________________________- [INFO] [stdout] 75 | | self.get_name(), [INFO] [stdout] 76 | | "forward", [INFO] [stdout] 77 | | args!(arg!("x",Type::TSR(a, span))), [INFO] [stdout] 78 | | Type::TSR(b, span) [INFO] [stdout] 79 | | ))) [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/reg.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/reg.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/reg.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/reg.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone()), arg!("dim", int!())), ty))) [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone()), arg!("dim", int!())), ty))) [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | "Conv2d" => box self::conv::Conv2d as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 54 - "Conv2d" => box self::conv::Conv2d as Box, [INFO] [stdout] 54 + "Conv2d" => Box::new(self::conv::Conv2d) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | "maxpool2d" => box self::conv::maxpool2d as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 55 - "maxpool2d" => box self::conv::maxpool2d as Box, [INFO] [stdout] 55 + "maxpool2d" => Box::new(self::conv::maxpool2d) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | "relu" => box self::nonlin::relu as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 58 - "relu" => box self::nonlin::relu as Box, [INFO] [stdout] 58 + "relu" => Box::new(self::nonlin::relu) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | "tanh" => box self::nonlin::tanh as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 59 - "tanh" => box self::nonlin::tanh as Box, [INFO] [stdout] 59 + "tanh" => Box::new(self::nonlin::tanh) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | "leaky_relu" => box self::nonlin::leaky_relu as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 60 - "leaky_relu" => box self::nonlin::leaky_relu as Box, [INFO] [stdout] 60 + "leaky_relu" => Box::new(self::nonlin::leaky_relu) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | "log_softmax" => box self::nonlin::log_softmax as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 61 - "log_softmax" => box self::nonlin::log_softmax as Box, [INFO] [stdout] 61 + "log_softmax" => Box::new(self::nonlin::log_softmax) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | "sigmoid" => box self::nonlin::sigmoid as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 62 - "sigmoid" => box self::nonlin::sigmoid as Box, [INFO] [stdout] 62 + "sigmoid" => Box::new(self::nonlin::sigmoid) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | "Linear" => box self::lin::Linear as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 65 - "Linear" => box self::lin::Linear as Box, [INFO] [stdout] 65 + "Linear" => Box::new(self::lin::Linear) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | "view" => box self::prelude::view as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 68 - "view" => box self::prelude::view as Box, [INFO] [stdout] 68 + "view" => Box::new(self::prelude::view) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | "Dropout2d" => box self::reg::Dropout2d as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 71 - "Dropout2d" => box self::reg::Dropout2d as Box, [INFO] [stdout] 71 + "Dropout2d" => Box::new(self::reg::Dropout2d) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | "BatchNorm1d" => box self::reg::BatchNorm1d as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 72 - "BatchNorm1d" => box self::reg::BatchNorm1d as Box, [INFO] [stdout] 72 + "BatchNorm1d" => Box::new(self::reg::BatchNorm1d) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:328:45 [INFO] [stdout] | [INFO] [stdout] 328 | Type::FnArg(Some($name.to_owned()), box $ty, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/typing/annotate.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 192 | arg_ty: args!(arg!("x", arg.arg.ty())), [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 328 - Type::FnArg(Some($name.to_owned()), box $ty, CSpan::fresh_span()) [INFO] [stdout] 328 + Type::FnArg(Some($name.to_owned()), Box::new($ty), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/typing/constraint.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | / fun!( [INFO] [stdout] 276 | | symbol_name, [INFO] [stdout] 277 | | fn_app.name.as_str(), [INFO] [stdout] 278 | | fn_app.arg_ty.clone(), [INFO] [stdout] 279 | | fn_app.ret_ty.clone() [INFO] [stdout] 280 | | ) [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/typing/constraint.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | / fun!( [INFO] [stdout] 276 | | symbol_name, [INFO] [stdout] 277 | | fn_app.name.as_str(), [INFO] [stdout] 278 | | fn_app.arg_ty.clone(), [INFO] [stdout] 279 | | fn_app.ret_ty.clone() [INFO] [stdout] 280 | | ) [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/typing/constraint.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | fun!(symbol_name, fn_app.name.as_str(), fn_app.arg_ty.clone(), fn_app.ret_ty.clone()), [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/typing/constraint.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | fun!(symbol_name, fn_app.name.as_str(), fn_app.arg_ty.clone(), fn_app.ret_ty.clone()), [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:328:45 [INFO] [stdout] | [INFO] [stdout] 328 | Type::FnArg(Some($name.to_owned()), box $ty, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/typing/constraint.rs:324:31 [INFO] [stdout] | [INFO] [stdout] 324 | args!(arg!("x",p.clone()))); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 328 - Type::FnArg(Some($name.to_owned()), box $ty, CSpan::fresh_span()) [INFO] [stdout] 328 + Type::FnArg(Some($name.to_owned()), Box::new($ty), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/prelude.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | fun!("view", "forward", arg_ty, tsr!(modified_ret_ty)) [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/prelude.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | fun!("view", "forward", arg_ty, tsr!(modified_ret_ty)) [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/conv.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | / fun!( [INFO] [stdout] 87 | | "Conv2d", [INFO] [stdout] 88 | | "forward", [INFO] [stdout] 89 | | arg_ty, [INFO] [stdout] ... | [INFO] [stdout] 95 | | ], span) [INFO] [stdout] 96 | | ) [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/conv.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | / fun!( [INFO] [stdout] 87 | | "Conv2d", [INFO] [stdout] 88 | | "forward", [INFO] [stdout] 89 | | arg_ty, [INFO] [stdout] ... | [INFO] [stdout] 95 | | ], span) [INFO] [stdout] 96 | | ) [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/conv.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | Some(Ok(fun!( [INFO] [stdout] | _________________________- [INFO] [stdout] 102 | | "Conv2d", [INFO] [stdout] 103 | | "new", [INFO] [stdout] 104 | | args!( [INFO] [stdout] ... | [INFO] [stdout] 109 | | module!("Conv2d") [INFO] [stdout] 110 | | ))) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/conv.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | Some(Ok(fun!( [INFO] [stdout] | _________________________- [INFO] [stdout] 102 | | "Conv2d", [INFO] [stdout] 103 | | "new", [INFO] [stdout] 104 | | args!( [INFO] [stdout] ... | [INFO] [stdout] 109 | | module!("Conv2d") [INFO] [stdout] 110 | | ))) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/conv.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | / fun!( [INFO] [stdout] 192 | | "maxpool2d", [INFO] [stdout] 193 | | "forward", [INFO] [stdout] 194 | | arg_ty, [INFO] [stdout] ... | [INFO] [stdout] 200 | | ], span) [INFO] [stdout] 201 | | ) [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/conv.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | / fun!( [INFO] [stdout] 192 | | "maxpool2d", [INFO] [stdout] 193 | | "forward", [INFO] [stdout] 194 | | arg_ty, [INFO] [stdout] ... | [INFO] [stdout] 200 | | ], span) [INFO] [stdout] 201 | | ) [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/lin.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | Some(Ok(fun!( [INFO] [stdout] | _____________________________- [INFO] [stdout] 75 | | self.get_name(), [INFO] [stdout] 76 | | "forward", [INFO] [stdout] 77 | | args!(arg!("x",Type::TSR(a, span))), [INFO] [stdout] 78 | | Type::TSR(b, span) [INFO] [stdout] 79 | | ))) [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/lin.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | Some(Ok(fun!( [INFO] [stdout] | _____________________________- [INFO] [stdout] 75 | | self.get_name(), [INFO] [stdout] 76 | | "forward", [INFO] [stdout] 77 | | args!(arg!("x",Type::TSR(a, span))), [INFO] [stdout] 78 | | Type::TSR(b, span) [INFO] [stdout] 79 | | ))) [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/reg.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/reg.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/reg.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/reg.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone())), ty))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone()), arg!("dim", int!())), ty))) [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/nonlin.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | Some(Ok(fun!(self.get_name(), "forward", args!(arg!("x", ty.clone()), arg!("dim", int!())), ty))) [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | "Conv2d" => box self::conv::Conv2d as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 54 - "Conv2d" => box self::conv::Conv2d as Box, [INFO] [stdout] 54 + "Conv2d" => Box::new(self::conv::Conv2d) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | "maxpool2d" => box self::conv::maxpool2d as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 55 - "maxpool2d" => box self::conv::maxpool2d as Box, [INFO] [stdout] 55 + "maxpool2d" => Box::new(self::conv::maxpool2d) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | "relu" => box self::nonlin::relu as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 58 - "relu" => box self::nonlin::relu as Box, [INFO] [stdout] 58 + "relu" => Box::new(self::nonlin::relu) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | "tanh" => box self::nonlin::tanh as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 59 - "tanh" => box self::nonlin::tanh as Box, [INFO] [stdout] 59 + "tanh" => Box::new(self::nonlin::tanh) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | "leaky_relu" => box self::nonlin::leaky_relu as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 60 - "leaky_relu" => box self::nonlin::leaky_relu as Box, [INFO] [stdout] 60 + "leaky_relu" => Box::new(self::nonlin::leaky_relu) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | "log_softmax" => box self::nonlin::log_softmax as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 61 - "log_softmax" => box self::nonlin::log_softmax as Box, [INFO] [stdout] 61 + "log_softmax" => Box::new(self::nonlin::log_softmax) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | "sigmoid" => box self::nonlin::sigmoid as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 62 - "sigmoid" => box self::nonlin::sigmoid as Box, [INFO] [stdout] 62 + "sigmoid" => Box::new(self::nonlin::sigmoid) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | "Linear" => box self::lin::Linear as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 65 - "Linear" => box self::lin::Linear as Box, [INFO] [stdout] 65 + "Linear" => Box::new(self::lin::Linear) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | "view" => box self::prelude::view as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 68 - "view" => box self::prelude::view as Box, [INFO] [stdout] 68 + "view" => Box::new(self::prelude::view) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | "Dropout2d" => box self::reg::Dropout2d as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 71 - "Dropout2d" => box self::reg::Dropout2d as Box, [INFO] [stdout] 71 + "Dropout2d" => Box::new(self::reg::Dropout2d) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/core/mod.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | "BatchNorm1d" => box self::reg::BatchNorm1d as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 72 - "BatchNorm1d" => box self::reg::BatchNorm1d as Box, [INFO] [stdout] 72 + "BatchNorm1d" => Box::new(self::reg::BatchNorm1d) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/reg.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Op)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` which comes from the expansion of the derive macro `Op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/reg.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Op)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` which comes from the expansion of the derive macro `Op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/reg.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Op)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` which comes from the expansion of the derive macro `Op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/reg.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Op)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` which comes from the expansion of the derive macro `Op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/lin.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Op)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` which comes from the expansion of the derive macro `Op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/lin.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Op)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` which comes from the expansion of the derive macro `Op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/lin.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Op)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` which comes from the expansion of the derive macro `Op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/lin.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Op)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` which comes from the expansion of the derive macro `Op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/reg.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Op)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` which comes from the expansion of the derive macro `Op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/reg.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Op)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` which comes from the expansion of the derive macro `Op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/reg.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Op)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` which comes from the expansion of the derive macro `Op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/reg.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Op)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` which comes from the expansion of the derive macro `Op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/lin.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Op)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` which comes from the expansion of the derive macro `Op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/lin.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Op)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` which comes from the expansion of the derive macro `Op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/lin.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Op)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` which comes from the expansion of the derive macro `Op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), Box::new($e1), box $e2, CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> trsc/src/typing/types.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: trsc/src/core/lin.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Op)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fun` which comes from the expansion of the derive macro `Op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 334 - Type::FUN($m.to_owned(),$n.to_owned(), box $e1, box $e2, CSpan::fresh_span()) [INFO] [stdout] 334 + Type::FUN($m.to_owned(),$n.to_owned(), box $e1, Box::new($e2), CSpan::fresh_span()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/nonlin.rs:179:3 [INFO] [stdout] | [INFO] [stdout] 179 | #[path = "nonlin"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/nonlin.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/nonlin.rs:137:3 [INFO] [stdout] | [INFO] [stdout] 137 | #[path = "nonlin"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/nonlin.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/nonlin.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | #[path = "nonlin"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/nonlin.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/nonlin.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 53 | #[path = "nonlin"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/nonlin.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/nonlin.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[path = "nonlin"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/nonlin.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/reg.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | #[path = "reg"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/reg.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/reg.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[path = "reg"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/reg.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/lin.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[path = "lin"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/lin.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/conv.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 148 | #[path = "conv"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/conv.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/conv.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[path = "conv"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/conv.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/prelude.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[path = "prelude"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/prelude.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `float` [INFO] [stdout] --> trsc/src/typing/types.rs:338:14 [INFO] [stdout] | [INFO] [stdout] 338 | macro_rules! float { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `tsr` [INFO] [stdout] --> trsc/src/typing/types.rs:344:14 [INFO] [stdout] | [INFO] [stdout] 344 | macro_rules! tsr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `unit` [INFO] [stdout] --> trsc/src/typing/types.rs:350:14 [INFO] [stdout] | [INFO] [stdout] 350 | macro_rules! unit { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `int` [INFO] [stdout] --> trsc/src/typing/types.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 356 | macro_rules! int { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `tuple` [INFO] [stdout] --> trsc/src/typing/types.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | macro_rules! tuple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::Type::*` [INFO] [stdout] --> trsc/src/core/nonlin.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use self::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/nonlin.rs:179:3 [INFO] [stdout] | [INFO] [stdout] 179 | #[path = "nonlin"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/nonlin.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/nonlin.rs:137:3 [INFO] [stdout] | [INFO] [stdout] 137 | #[path = "nonlin"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/nonlin.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/nonlin.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | #[path = "nonlin"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/nonlin.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/nonlin.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 53 | #[path = "nonlin"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/nonlin.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/nonlin.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[path = "nonlin"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/nonlin.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/reg.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | #[path = "reg"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/reg.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/reg.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[path = "reg"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/reg.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/lin.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[path = "lin"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/lin.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/conv.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 148 | #[path = "conv"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/conv.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/conv.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[path = "conv"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/conv.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `path` is ambiguous [INFO] [stdout] --> trsc/src/core/prelude.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[path = "prelude"] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `path` could refer to a built-in attribute [INFO] [stdout] note: `path` could also refer to the derive helper attribute defined here [INFO] [stdout] --> trsc/src/core/prelude.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Op)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `typing::Type` [INFO] [stdout] --> trsc/src/main.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | use typing::Type; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> trsc/src/main.rs:142:50 [INFO] [stdout] | [INFO] [stdout] 142 | let mut last_ast = subs(&ast, &mut last_sub);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `float` [INFO] [stdout] --> trsc/src/typing/types.rs:338:14 [INFO] [stdout] | [INFO] [stdout] 338 | macro_rules! float { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `tsr` [INFO] [stdout] --> trsc/src/typing/types.rs:344:14 [INFO] [stdout] | [INFO] [stdout] 344 | macro_rules! tsr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `unit` [INFO] [stdout] --> trsc/src/typing/types.rs:350:14 [INFO] [stdout] | [INFO] [stdout] 350 | macro_rules! unit { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `int` [INFO] [stdout] --> trsc/src/typing/types.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 356 | macro_rules! int { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `tuple` [INFO] [stdout] --> trsc/src/typing/types.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | macro_rules! tuple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::Type::*` [INFO] [stdout] --> trsc/src/core/nonlin.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use self::Type::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `typing::Type` [INFO] [stdout] --> trsc/src/main.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | use typing::Type; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> trsc/src/main.rs:142:50 [INFO] [stdout] | [INFO] [stdout] 142 | let mut last_ast = subs(&ast, &mut last_sub);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/prelude.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[path = "prelude"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/conv.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[path = "conv"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/conv.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | #[path = "conv"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/lin.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[path = "lin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/reg.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[path = "reg"] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/reg.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | #[path = "reg"] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/nonlin.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[path = "nonlin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/nonlin.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[path = "nonlin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/nonlin.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | #[path = "nonlin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/nonlin.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | #[path = "nonlin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/nonlin.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | #[path = "nonlin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `attr_literals` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> trsc/src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(attr_literals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `iterator_flatten` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> trsc/src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(iterator_flatten)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `transpose_result` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stdout] --> trsc/src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(transpose_result)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:45:59 [INFO] [stdout] | [INFO] [stdout] 45 | maps: HashMap<&'static str, HashMap<&'static str, Box>>, [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] 45 | maps: HashMap<&'static str, HashMap<&'static str, Box>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/prelude.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[path = "prelude"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/conv.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[path = "conv"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/conv.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | #[path = "conv"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/lin.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[path = "lin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/reg.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[path = "reg"] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/reg.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | #[path = "reg"] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/nonlin.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[path = "nonlin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/nonlin.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[path = "nonlin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/nonlin.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | #[path = "nonlin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/nonlin.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | #[path = "nonlin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` only has an effect on modules [INFO] [stdout] --> trsc/src/core/nonlin.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | #[path = "nonlin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `attr_literals` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> trsc/src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(attr_literals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `iterator_flatten` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> trsc/src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(iterator_flatten)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `transpose_result` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stdout] --> trsc/src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(transpose_result)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:45:59 [INFO] [stdout] | [INFO] [stdout] 45 | maps: HashMap<&'static str, HashMap<&'static str, Box>>, [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] 45 | maps: HashMap<&'static str, HashMap<&'static str, Box>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:84:72 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn find(&self, path_name: &str, mod_name: &str) -> Option<&Box> { [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] 84 | pub fn find(&self, path_name: &str, mod_name: &str) -> Option<&Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:89:58 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn find_mod(&self, mod_name:&str) -> Option<&Box> { [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] 89 | pub fn find_mod(&self, mod_name:&str) -> Option<&Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:84:72 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn find(&self, path_name: &str, mod_name: &str) -> Option<&Box> { [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] 84 | pub fn find(&self, path_name: &str, mod_name: &str) -> Option<&Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:89:58 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn find_mod(&self, mod_name:&str) -> Option<&Box> { [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] 89 | pub fn find_mod(&self, mod_name:&str) -> Option<&Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:54:59 [INFO] [stdout] | [INFO] [stdout] 54 | "Conv2d" => box self::conv::Conv2d as Box, [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] 54 | "Conv2d" => box self::conv::Conv2d as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:55:65 [INFO] [stdout] | [INFO] [stdout] 55 | "maxpool2d" => box self::conv::maxpool2d as Box, [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] 55 | "maxpool2d" => box self::conv::maxpool2d as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:58:57 [INFO] [stdout] | [INFO] [stdout] 58 | "relu" => box self::nonlin::relu as Box, [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 | "relu" => box self::nonlin::relu as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:59:57 [INFO] [stdout] | [INFO] [stdout] 59 | "tanh" => box self::nonlin::tanh as Box, [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] 59 | "tanh" => box self::nonlin::tanh as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:54:59 [INFO] [stdout] | [INFO] [stdout] 54 | "Conv2d" => box self::conv::Conv2d as Box, [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] 54 | "Conv2d" => box self::conv::Conv2d as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:60:69 [INFO] [stdout] | [INFO] [stdout] 60 | "leaky_relu" => box self::nonlin::leaky_relu as Box, [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] 60 | "leaky_relu" => box self::nonlin::leaky_relu as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:61:71 [INFO] [stdout] | [INFO] [stdout] 61 | "log_softmax" => box self::nonlin::log_softmax as Box, [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] 61 | "log_softmax" => box self::nonlin::log_softmax as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:55:65 [INFO] [stdout] | [INFO] [stdout] 55 | "maxpool2d" => box self::conv::maxpool2d as Box, [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] 55 | "maxpool2d" => box self::conv::maxpool2d as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:62:63 [INFO] [stdout] | [INFO] [stdout] 62 | "sigmoid" => box self::nonlin::sigmoid as Box, [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 | "sigmoid" => box self::nonlin::sigmoid as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:58:57 [INFO] [stdout] | [INFO] [stdout] 58 | "relu" => box self::nonlin::relu as Box, [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 | "relu" => box self::nonlin::relu as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:59:57 [INFO] [stdout] | [INFO] [stdout] 59 | "tanh" => box self::nonlin::tanh as Box, [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] 59 | "tanh" => box self::nonlin::tanh as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:65:58 [INFO] [stdout] | [INFO] [stdout] 65 | "Linear" => box self::lin::Linear as Box, [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] 65 | "Linear" => box self::lin::Linear as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:60:69 [INFO] [stdout] | [INFO] [stdout] 60 | "leaky_relu" => box self::nonlin::leaky_relu as Box, [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] 60 | "leaky_relu" => box self::nonlin::leaky_relu as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:68:58 [INFO] [stdout] | [INFO] [stdout] 68 | "view" => box self::prelude::view as Box, [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] 68 | "view" => box self::prelude::view as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:61:71 [INFO] [stdout] | [INFO] [stdout] 61 | "log_softmax" => box self::nonlin::log_softmax as Box, [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] 61 | "log_softmax" => box self::nonlin::log_softmax as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:62:63 [INFO] [stdout] | [INFO] [stdout] 62 | "sigmoid" => box self::nonlin::sigmoid as Box, [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 | "sigmoid" => box self::nonlin::sigmoid as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:71:64 [INFO] [stdout] | [INFO] [stdout] 71 | "Dropout2d" => box self::reg::Dropout2d as Box, [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] 71 | "Dropout2d" => box self::reg::Dropout2d as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:72:68 [INFO] [stdout] | [INFO] [stdout] 72 | "BatchNorm1d" => box self::reg::BatchNorm1d as Box, [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] 72 | "BatchNorm1d" => box self::reg::BatchNorm1d as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:65:58 [INFO] [stdout] | [INFO] [stdout] 65 | "Linear" => box self::lin::Linear as Box, [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] 65 | "Linear" => box self::lin::Linear as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:68:58 [INFO] [stdout] | [INFO] [stdout] 68 | "view" => box self::prelude::view as Box, [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] 68 | "view" => box self::prelude::view as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:71:64 [INFO] [stdout] | [INFO] [stdout] 71 | "Dropout2d" => box self::reg::Dropout2d as Box, [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] 71 | "Dropout2d" => box self::reg::Dropout2d as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> trsc/src/core/mod.rs:72:68 [INFO] [stdout] | [INFO] [stdout] 72 | "BatchNorm1d" => box self::reg::BatchNorm1d as Box, [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] 72 | "BatchNorm1d" => box self::reg::BatchNorm1d as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> trsc/src/typing/unifier.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | Equals(u @ UnresolvedModuleFun(_, _, _, _), ty) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> trsc/src/typing/unifier.rs:160:57 [INFO] [stdout] | [INFO] [stdout] 160 | Equals(u @ UnresolvedModuleFun(_, _, _, _), ty) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> trsc/src/core/nonlin.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | fn gen_fn_app(&self, name: &str, args: &[TyFnAppArg]) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> trsc/src/typing/unifier.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | Equals(u @ UnresolvedModuleFun(_, _, _, _), ty) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> trsc/src/typing/unifier.rs:160:57 [INFO] [stdout] | [INFO] [stdout] 160 | Equals(u @ UnresolvedModuleFun(_, _, _, _), ty) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> trsc/src/core/nonlin.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | fn gen_fn_app(&self, name: &str, args: &[TyFnAppArg]) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> trsc/src/codegen/pytorch.rs:419:21 [INFO] [stdout] | [INFO] [stdout] 419 | let mut m = self.modules.get_mut(&decl.name).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> trsc/src/codegen/pytorch.rs:423:21 [INFO] [stdout] | [INFO] [stdout] 423 | let mut m = self.modules.get_mut(&decl.name).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> trsc/src/codegen/pytorch.rs:419:21 [INFO] [stdout] | [INFO] [stdout] 419 | let mut m = self.modules.get_mut(&decl.name).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> trsc/src/codegen/pytorch.rs:423:21 [INFO] [stdout] | [INFO] [stdout] 423 | let mut m = self.modules.get_mut(&decl.name).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trsc` (bin "trsc") due to 91 previous errors; 41 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `trsc` (bin "trsc" test) due to 91 previous errors; 41 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a5bf63a46b3a436e9f55996abeee7a6f0ff880ab7c9e15a3f69699adf453ea8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5bf63a46b3a436e9f55996abeee7a6f0ff880ab7c9e15a3f69699adf453ea8b", kill_on_drop: false }` [INFO] [stdout] a5bf63a46b3a436e9f55996abeee7a6f0ff880ab7c9e15a3f69699adf453ea8b