[INFO] fetching crate metafactory 0.4.4... [INFO] testing metafactory-0.4.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate metafactory 0.4.4 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate metafactory 0.4.4 [INFO] finished tweaking crates.io crate metafactory 0.4.4 [INFO] tweaked toml for crates.io crate metafactory 0.4.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate metafactory 0.4.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typedef v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4af4d0317619f7a7aef09a90741d07e1d64e16ab4394d2479fc0bba2d8275d05 [INFO] running `Command { std: "docker" "start" "-a" "4af4d0317619f7a7aef09a90741d07e1d64e16ab4394d2479fc0bba2d8275d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4af4d0317619f7a7aef09a90741d07e1d64e16ab4394d2479fc0bba2d8275d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4af4d0317619f7a7aef09a90741d07e1d64e16ab4394d2479fc0bba2d8275d05", kill_on_drop: false }` [INFO] [stdout] 4af4d0317619f7a7aef09a90741d07e1d64e16ab4394d2479fc0bba2d8275d05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 858029e4ecf8e02a5ccae43727ac98f8e53b9072a1543a3641b4416f7709645f [INFO] running `Command { std: "docker" "start" "-a" "858029e4ecf8e02a5ccae43727ac98f8e53b9072a1543a3641b4416f7709645f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] [stderr] Compiling typedef v0.3.2 [INFO] [stderr] Compiling metafactory v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/aggregate/mod.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 106 | Aggregate { [INFO] [stdout] | --------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 109 | do_new: box |&: items: Vec>| { [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/aggregate/mod.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | box self.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 178 - box self.clone() [INFO] [stdout] 178 + Box::new(self.clone()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/factory/mod.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let boxany = box create_with_val("HAI") as Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 24 - let boxany = box create_with_val("HAI") as Box; [INFO] [stdout] 24 + let boxany = Box::new(create_with_val("HAI")) as Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/factory/mod.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | Factory::new(box ValContainer { val: val.to_string() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 31 - Factory::new(box ValContainer { val: val.to_string() }) [INFO] [stdout] 31 + Factory::new(Box::new(ValContainer { val: val.to_string() })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/factory/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / box ValContainer { [INFO] [stdout] 45 | | val: self.val.clone(), [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 44 ~ Box::new(ValContainer { [INFO] [stdout] 45 | val: self.val.clone(), [INFO] [stdout] 46 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/from_clone/mod.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | box CloneableMetaFactory { value : self } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 43 - box CloneableMetaFactory { value : self } [INFO] [stdout] 43 + Box::new(CloneableMetaFactory { value : self }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/from_clone/mod.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | box CloneableValue:: { value: self.value.clone() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 59 - box CloneableValue:: { value: self.value.clone() } [INFO] [stdout] 59 + Box::new(CloneableValue:: { value: self.value.clone() }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/from_clone/mod.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | / box Factory::new( [INFO] [stdout] 59 | | box CloneableValue:: { value: self.value.clone() } [INFO] [stdout] 60 | | ) as Box [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 58 ~ Box::new(Factory::new( [INFO] [stdout] 59 | box CloneableValue:: { value: self.value.clone() } [INFO] [stdout] 60 ~ )) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/from_clone/mod.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | box CloneableValue:: { value: self.value.clone() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 75 - box CloneableValue:: { value: self.value.clone() } [INFO] [stdout] 75 + Box::new(CloneableValue:: { value: self.value.clone() }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `||` [INFO] [stdout] --> src/from_closure/zeroarg.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | impl ToMetaFactory for (||:'static -> T) { [INFO] [stdout] | ^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_escape]` is a deprecated synonym for `#[macro_use]` [INFO] [stdout] --> src/from_closure/manyarg.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[macro_escape] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | closure: Rc T>>, [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] ... [INFO] [stdout] 186 | / many_arg_closure_impl!( [INFO] [stdout] 187 | | GetterScope: [INFO] [stdout] | | ----------- while parsing this struct [INFO] [stdout] 188 | | A, A, a [INFO] [stdout] 189 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:97:67 [INFO] [stdout] | [INFO] [stdout] 97 | impl<$($_A:'static), +, T:'static> ToMetaFactory for (|$($_AT), +|:'static -> T) { [INFO] [stdout] | ^ expected type [INFO] [stdout] ... [INFO] [stdout] 186 | / many_arg_closure_impl!( [INFO] [stdout] 187 | | GetterScope: [INFO] [stdout] 188 | | A, A, a [INFO] [stdout] 189 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | closure: Rc T>>, [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] ... [INFO] [stdout] 191 | / many_arg_closure_impl!( [INFO] [stdout] 192 | | GetterScope2: [INFO] [stdout] | | ------------ while parsing this struct [INFO] [stdout] 193 | | A1, A1, a1 | [INFO] [stdout] 194 | | A2, A2, a2 [INFO] [stdout] 195 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:97:67 [INFO] [stdout] | [INFO] [stdout] 97 | impl<$($_A:'static), +, T:'static> ToMetaFactory for (|$($_AT), +|:'static -> T) { [INFO] [stdout] | ^ expected type [INFO] [stdout] ... [INFO] [stdout] 191 | / many_arg_closure_impl!( [INFO] [stdout] 192 | | GetterScope2: [INFO] [stdout] 193 | | A1, A1, a1 | [INFO] [stdout] 194 | | A2, A2, a2 [INFO] [stdout] 195 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | closure: Rc T>>, [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] ... [INFO] [stdout] 197 | / many_arg_closure_impl!( [INFO] [stdout] 198 | | GetterScope3: [INFO] [stdout] | | ------------ while parsing this struct [INFO] [stdout] 199 | | A1, A1, a1 | [INFO] [stdout] 200 | | A2, A2, a2 | [INFO] [stdout] 201 | | A3, A3, a3 [INFO] [stdout] 202 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:97:67 [INFO] [stdout] | [INFO] [stdout] 97 | impl<$($_A:'static), +, T:'static> ToMetaFactory for (|$($_AT), +|:'static -> T) { [INFO] [stdout] | ^ expected type [INFO] [stdout] ... [INFO] [stdout] 197 | / many_arg_closure_impl!( [INFO] [stdout] 198 | | GetterScope3: [INFO] [stdout] 199 | | A1, A1, a1 | [INFO] [stdout] 200 | | A2, A2, a2 | [INFO] [stdout] 201 | | A3, A3, a3 [INFO] [stdout] 202 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | closure: Rc T>>, [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] ... [INFO] [stdout] 204 | / many_arg_closure_impl!( [INFO] [stdout] 205 | | GetterScope4: [INFO] [stdout] | | ------------ while parsing this struct [INFO] [stdout] 206 | | A1, A1, a1 | [INFO] [stdout] 207 | | A2, A2, a2 | [INFO] [stdout] 208 | | A3, A3, a3 | [INFO] [stdout] 209 | | A4, A4, a4 [INFO] [stdout] 210 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:97:67 [INFO] [stdout] | [INFO] [stdout] 97 | impl<$($_A:'static), +, T:'static> ToMetaFactory for (|$($_AT), +|:'static -> T) { [INFO] [stdout] | ^ expected type [INFO] [stdout] ... [INFO] [stdout] 204 | / many_arg_closure_impl!( [INFO] [stdout] 205 | | GetterScope4: [INFO] [stdout] 206 | | A1, A1, a1 | [INFO] [stdout] 207 | | A2, A2, a2 | [INFO] [stdout] 208 | | A3, A3, a3 | [INFO] [stdout] 209 | | A4, A4, a4 [INFO] [stdout] 210 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | closure: Rc T>>, [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] ... [INFO] [stdout] 212 | / many_arg_closure_impl!( [INFO] [stdout] 213 | | GetterScope5: [INFO] [stdout] | | ------------ while parsing this struct [INFO] [stdout] 214 | | A1, A1, a1 | [INFO] [stdout] 215 | | A2, A2, a2 | [INFO] [stdout] ... | [INFO] [stdout] 218 | | A5, A5, a5 [INFO] [stdout] 219 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:97:67 [INFO] [stdout] | [INFO] [stdout] 97 | impl<$($_A:'static), +, T:'static> ToMetaFactory for (|$($_AT), +|:'static -> T) { [INFO] [stdout] | ^ expected type [INFO] [stdout] ... [INFO] [stdout] 212 | / many_arg_closure_impl!( [INFO] [stdout] 213 | | GetterScope5: [INFO] [stdout] 214 | | A1, A1, a1 | [INFO] [stdout] 215 | | A2, A2, a2 | [INFO] [stdout] ... | [INFO] [stdout] 218 | | A5, A5, a5 [INFO] [stdout] 219 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | closure: Rc T>>, [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] ... [INFO] [stdout] 221 | / many_arg_closure_impl!( [INFO] [stdout] 222 | | GetterScope6: [INFO] [stdout] | | ------------ while parsing this struct [INFO] [stdout] 223 | | A1, A1, a1 | [INFO] [stdout] 224 | | A2, A2, a2 | [INFO] [stdout] ... | [INFO] [stdout] 228 | | A6, A6, a6 [INFO] [stdout] 229 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:97:67 [INFO] [stdout] | [INFO] [stdout] 97 | impl<$($_A:'static), +, T:'static> ToMetaFactory for (|$($_AT), +|:'static -> T) { [INFO] [stdout] | ^ expected type [INFO] [stdout] ... [INFO] [stdout] 221 | / many_arg_closure_impl!( [INFO] [stdout] 222 | | GetterScope6: [INFO] [stdout] 223 | | A1, A1, a1 | [INFO] [stdout] 224 | | A2, A2, a2 | [INFO] [stdout] ... | [INFO] [stdout] 228 | | A6, A6, a6 [INFO] [stdout] 229 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | closure: Rc T>>, [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] ... [INFO] [stdout] 231 | / many_arg_closure_impl!( [INFO] [stdout] 232 | | GetterScope7: [INFO] [stdout] | | ------------ while parsing this struct [INFO] [stdout] 233 | | A1, A1, a1 | [INFO] [stdout] 234 | | A2, A2, a2 | [INFO] [stdout] ... | [INFO] [stdout] 239 | | A7, A7, a7 [INFO] [stdout] 240 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:97:67 [INFO] [stdout] | [INFO] [stdout] 97 | impl<$($_A:'static), +, T:'static> ToMetaFactory for (|$($_AT), +|:'static -> T) { [INFO] [stdout] | ^ expected type [INFO] [stdout] ... [INFO] [stdout] 231 | / many_arg_closure_impl!( [INFO] [stdout] 232 | | GetterScope7: [INFO] [stdout] 233 | | A1, A1, a1 | [INFO] [stdout] 234 | | A2, A2, a2 | [INFO] [stdout] ... | [INFO] [stdout] 239 | | A7, A7, a7 [INFO] [stdout] 240 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | closure: Rc T>>, [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] ... [INFO] [stdout] 242 | / many_arg_closure_impl!( [INFO] [stdout] 243 | | GetterScope8: [INFO] [stdout] | | ------------ while parsing this struct [INFO] [stdout] 244 | | A1, A1, a1 | [INFO] [stdout] 245 | | A2, A2, a2 | [INFO] [stdout] ... | [INFO] [stdout] 251 | | A8, A8, a8 [INFO] [stdout] 252 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:97:67 [INFO] [stdout] | [INFO] [stdout] 97 | impl<$($_A:'static), +, T:'static> ToMetaFactory for (|$($_AT), +|:'static -> T) { [INFO] [stdout] | ^ expected type [INFO] [stdout] ... [INFO] [stdout] 242 | / many_arg_closure_impl!( [INFO] [stdout] 243 | | GetterScope8: [INFO] [stdout] 244 | | A1, A1, a1 | [INFO] [stdout] 245 | | A2, A2, a2 | [INFO] [stdout] ... | [INFO] [stdout] 251 | | A8, A8, a8 [INFO] [stdout] 252 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | closure: Rc T>>, [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] ... [INFO] [stdout] 254 | / many_arg_closure_impl!( [INFO] [stdout] 255 | | GetterScope9: [INFO] [stdout] | | ------------ while parsing this struct [INFO] [stdout] 256 | | A1, A1, a1 | [INFO] [stdout] 257 | | A2, A2, a2 | [INFO] [stdout] ... | [INFO] [stdout] 264 | | A9, A9, a9 [INFO] [stdout] 265 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:97:67 [INFO] [stdout] | [INFO] [stdout] 97 | impl<$($_A:'static), +, T:'static> ToMetaFactory for (|$($_AT), +|:'static -> T) { [INFO] [stdout] | ^ expected type [INFO] [stdout] ... [INFO] [stdout] 254 | / many_arg_closure_impl!( [INFO] [stdout] 255 | | GetterScope9: [INFO] [stdout] 256 | | A1, A1, a1 | [INFO] [stdout] 257 | | A2, A2, a2 | [INFO] [stdout] ... | [INFO] [stdout] 264 | | A9, A9, a9 [INFO] [stdout] 265 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | closure: Rc T>>, [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] ... [INFO] [stdout] 267 | / many_arg_closure_impl!( [INFO] [stdout] 268 | | GetterScope10: [INFO] [stdout] | | ------------- while parsing this struct [INFO] [stdout] 269 | | A1, A1, a1 | [INFO] [stdout] 270 | | A2, A2, a2 | [INFO] [stdout] ... | [INFO] [stdout] 278 | | A10, A10, a10 [INFO] [stdout] 279 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:97:67 [INFO] [stdout] | [INFO] [stdout] 97 | impl<$($_A:'static), +, T:'static> ToMetaFactory for (|$($_AT), +|:'static -> T) { [INFO] [stdout] | ^ expected type [INFO] [stdout] ... [INFO] [stdout] 267 | / many_arg_closure_impl!( [INFO] [stdout] 268 | | GetterScope10: [INFO] [stdout] 269 | | A1, A1, a1 | [INFO] [stdout] 270 | | A2, A2, a2 | [INFO] [stdout] ... | [INFO] [stdout] 278 | | A10, A10, a10 [INFO] [stdout] 279 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | closure: Rc T>>, [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] ... [INFO] [stdout] 281 | / many_arg_closure_impl!( [INFO] [stdout] 282 | | GetterScope11: [INFO] [stdout] | | ------------- while parsing this struct [INFO] [stdout] 283 | | A1, A1, a1 | [INFO] [stdout] 284 | | A2, A2, a2 | [INFO] [stdout] ... | [INFO] [stdout] 293 | | A11, A11, a11 [INFO] [stdout] 294 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:97:67 [INFO] [stdout] | [INFO] [stdout] 97 | impl<$($_A:'static), +, T:'static> ToMetaFactory for (|$($_AT), +|:'static -> T) { [INFO] [stdout] | ^ expected type [INFO] [stdout] ... [INFO] [stdout] 281 | / many_arg_closure_impl!( [INFO] [stdout] 282 | | GetterScope11: [INFO] [stdout] 283 | | A1, A1, a1 | [INFO] [stdout] 284 | | A2, A2, a2 | [INFO] [stdout] ... | [INFO] [stdout] 293 | | A11, A11, a11 [INFO] [stdout] 294 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | closure: Rc T>>, [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] ... [INFO] [stdout] 296 | / many_arg_closure_impl!( [INFO] [stdout] 297 | | GetterScope12: [INFO] [stdout] | | ------------- while parsing this struct [INFO] [stdout] 298 | | A1, A1, a1 | [INFO] [stdout] 299 | | A2, A2, a2 | [INFO] [stdout] ... | [INFO] [stdout] 309 | | A12, A12, a12 [INFO] [stdout] 310 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/from_closure/manyarg.rs:97:67 [INFO] [stdout] | [INFO] [stdout] 97 | impl<$($_A:'static), +, T:'static> ToMetaFactory for (|$($_AT), +|:'static -> T) { [INFO] [stdout] | ^ expected type [INFO] [stdout] ... [INFO] [stdout] 296 | / many_arg_closure_impl!( [INFO] [stdout] 297 | | GetterScope12: [INFO] [stdout] 298 | | A1, A1, a1 | [INFO] [stdout] 299 | | A2, A2, a2 | [INFO] [stdout] ... | [INFO] [stdout] 309 | | A12, A12, a12 [INFO] [stdout] 310 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `many_arg_closure_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::boxed::BoxAny` [INFO] [stdout] --> src/lib.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | use std::boxed::{ BoxAny }; [INFO] [stdout] | ^^^^^^ no `BoxAny` in `boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::boxed::BoxAny` [INFO] [stdout] --> src/aggregate/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::boxed::BoxAny; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `BoxAny` in `boxed` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 5 - use std::boxed::BoxAny; [INFO] [stdout] 5 + use BoxAny; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/from_clone/mod.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/from_clone/mod.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/lib.rs:176:3 [INFO] [stdout] | [INFO] [stdout] 176 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/error/mod.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub expected: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/error/mod.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | pub specified: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/error/mod.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub argument_index: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/error/mod.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(expected: uint, specified: uint) -> ArgCountMismatch { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/error/mod.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(expected: uint, specified: uint) -> ArgCountMismatch { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/error/mod.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(expected_type: TypeDef, argument_index: uint) -> ArgTypeMismatch { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Factory` [INFO] [stdout] --> src/from_clone/mod.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | use super::{ Factory, Getter }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/from_closure/manyarg.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/from_closure/manyarg.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/from_closure/manyarg.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/from_closure/manyarg.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `typedef::TypeDef` [INFO] [stdout] --> src/from_closure/manyarg.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use typedef::TypeDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsFactoryExt`, `MetaFactory`, and `ToMetaFactory` [INFO] [stdout] --> src/from_closure/manyarg.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | use { MetaFactory, ToMetaFactory, AsFactoryExt }; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Factory` and `Getter` [INFO] [stdout] --> src/from_closure/manyarg.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | use { Factory, Getter }; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArgCountMismatch`, `ArgTypeMismatch`, and `FactoryErrorKind` [INFO] [stdout] --> src/from_closure/manyarg.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | use error::{ FactoryErrorKind, ArgCountMismatch, ArgTypeMismatch }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aggregate::Aggregate` [INFO] [stdout] --> src/from_closure/manyarg.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use aggregate::Aggregate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_arg_count` [INFO] [stdout] --> src/from_closure/manyarg.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | macro_rules! assert_arg_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `try_unwrap_factory` [INFO] [stdout] --> src/from_closure/manyarg.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | macro_rules! try_unwrap_factory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `count_exprs` [INFO] [stdout] --> src/from_closure/manyarg.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | macro_rules! count_exprs { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/from_clone/mod.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[stable] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/lib.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | #[stable] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/lib.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | #[stable] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/lib.rs:295:1 [INFO] [stdout] | [INFO] [stdout] 295 | #[unstable] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/lib.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | #[unstable] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/lib.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | #[unstable] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/lib.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | #[unstable] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/lib.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | #[unstable] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/lib.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | #[unstable] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/lib.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | #[unstable] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | #![feature(macro_rules)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aggregate/mod.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | do_new: Box>,),Box> + 'a>, [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | do_new: Box>,),Box> + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/aggregate/mod.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | do_new: Box>,),Box> + 'a>, [INFO] [stdout] | ^^ --------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | getter: Box + 'static>, [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] 195 | getter: Box + 'static>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:324:57 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn metafactory<'r, T: ToMetaFactory>(any: T) -> 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] 324 | pub fn metafactory<'r, T: ToMetaFactory>(any: T) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:332:60 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn argless_as_factory(any: T) -> 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] 332 | pub fn argless_as_factory(any: T) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:185:34 [INFO] [stdout] | [INFO] [stdout] 185 | fn boxed_clone(&self) -> Box + 'static>; [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] 185 | fn boxed_clone(&self) -> Box + 'static>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:302:40 [INFO] [stdout] | [INFO] [stdout] 302 | fn new(&self, arg_getters: Vec>) -> Result, FactoryErrorKind>; [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] 302 | fn new(&self, arg_getters: Vec>) -> Result, FactoryErrorKind>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:302:61 [INFO] [stdout] | [INFO] [stdout] 302 | fn new(&self, arg_getters: Vec>) -> Result, FactoryErrorKind>; [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] 302 | fn new(&self, arg_getters: Vec>) -> Result, FactoryErrorKind>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:317:40 [INFO] [stdout] | [INFO] [stdout] 317 | fn to_metafactory<'a>(self) -> 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] 317 | fn to_metafactory<'a>(self) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aggregate/mod.rs:137:46 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn new_factory(&self, items: Vec>) -> 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] 137 | pub fn new_factory(&self, items: Vec>) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aggregate/mod.rs:137:60 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn new_factory(&self, items: Vec>) -> 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] 137 | pub fn new_factory(&self, items: Vec>) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aggregate/mod.rs:177:34 [INFO] [stdout] | [INFO] [stdout] 177 | fn boxed_clone(&self) -> Box> + 'static> { [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] 177 | fn boxed_clone(&self) -> Box> + 'static> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_clone/mod.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | fn to_metafactory<'a>(self) -> 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] 42 | fn to_metafactory<'a>(self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_clone/mod.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | fn new(&self, _arg_getters: Vec>) -> Result, FactoryErrorKind> { [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] 56 | fn new(&self, _arg_getters: Vec>) -> Result, FactoryErrorKind> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_clone/mod.rs:56:62 [INFO] [stdout] | [INFO] [stdout] 56 | fn new(&self, _arg_getters: Vec>) -> Result, FactoryErrorKind> { [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] 56 | fn new(&self, _arg_getters: Vec>) -> Result, FactoryErrorKind> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_clone/mod.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | fn boxed_clone(&self) -> Box + 'static> { [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] 74 | fn boxed_clone(&self) -> Box + 'static> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:203:28 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn new(getter: Box + 'static>) -> Factory { [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] 203 | pub fn new(getter: Box + 'static>) -> Factory { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:231:27 [INFO] [stdout] | [INFO] [stdout] 231 | impl AsFactoryExt for 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] 231 | impl AsFactoryExt for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArgCountMismatch: Clone` is not satisfied [INFO] [stdout] --> src/error/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `ArgCountMismatch` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/marker.rs:465:1 [INFO] [stdout] help: consider annotating `ArgCountMismatch` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(Clone)] [INFO] [stdout] 8 | pub struct ArgCountMismatch { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArgTypeMismatch: Clone` is not satisfied [INFO] [stdout] --> src/error/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `ArgTypeMismatch` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/marker.rs:465:1 [INFO] [stdout] help: consider annotating `ArgTypeMismatch` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 14 + #[derive(Clone)] [INFO] [stdout] 15 | pub struct ArgTypeMismatch { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FactoryErrorKind: Clone` is not satisfied [INFO] [stdout] --> src/error/mod.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Copy)] [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Clone` is not implemented for `FactoryErrorKind` [INFO] [stdout] --> src/error/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum FactoryErrorKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/marker.rs:465:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `do_new` in initializer of `Aggregate<'_>` [INFO] [stdout] --> src/aggregate/mod.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | Aggregate { [INFO] [stdout] | ^^^^^^^^^ missing `do_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_clone/mod.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | ) 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 | ) as Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0107, E0277, E0412, E0432, E0734. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `metafactory` (lib) due to 60 previous errors; 33 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "858029e4ecf8e02a5ccae43727ac98f8e53b9072a1543a3641b4416f7709645f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "858029e4ecf8e02a5ccae43727ac98f8e53b9072a1543a3641b4416f7709645f", kill_on_drop: false }` [INFO] [stdout] 858029e4ecf8e02a5ccae43727ac98f8e53b9072a1543a3641b4416f7709645f