[INFO] cloning repository https://github.com/Brayan-724/rust-reflection-poc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Brayan-724/rust-reflection-poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrayan-724%2Frust-reflection-poc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrayan-724%2Frust-reflection-poc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8e947407c32680cb7c6e727d765916efbfb29987
[INFO] checking Brayan-724/rust-reflection-poc against master#a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb for pr-151109
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrayan-724%2Frust-reflection-poc" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Brayan-724/rust-reflection-poc
[INFO] finished tweaking git repo https://github.com/Brayan-724/rust-reflection-poc
[INFO] tweaked toml for git repo https://github.com/Brayan-724/rust-reflection-poc written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Brayan-724/rust-reflection-poc on toolchain a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Brayan-724/rust-reflection-poc 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" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3dd54cb9c751f1c5d0c5be3b9a4ea3215b02d8f37d5387a2ea435c9632bd1521
[INFO] running `Command { std: "docker" "start" "-a" "3dd54cb9c751f1c5d0c5be3b9a4ea3215b02d8f37d5387a2ea435c9632bd1521", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3dd54cb9c751f1c5d0c5be3b9a4ea3215b02d8f37d5387a2ea435c9632bd1521", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3dd54cb9c751f1c5d0c5be3b9a4ea3215b02d8f37d5387a2ea435c9632bd1521", kill_on_drop: false }`
[INFO] [stdout] 3dd54cb9c751f1c5d0c5be3b9a4ea3215b02d8f37d5387a2ea435c9632bd1521
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d9acc6637b9b32f5b6c2b071c7dc1fbb322754313877e6b8ec4a273f5871eca9
[INFO] running `Command { std: "docker" "start" "-a" "d9acc6637b9b32f5b6c2b071c7dc1fbb322754313877e6b8ec4a273f5871eca9", kill_on_drop: false }`
[INFO] [stderr]     Checking unicode-ident v1.0.18
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking proc-macro2 v1.0.95
[INFO] [stderr]     Checking quote v1.0.40
[INFO] [stderr]     Checking reflection-macros v0.1.0 (/opt/rustwide/workdir/reflection-macros)
[INFO] [stderr]     Checking reflection v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find attribute `const_trait` in this scope
[INFO] [stdout]   --> src/lib.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[const_trait]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::any;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `const` can only be applied to `const` traits
[INFO] [stdout]   --> src/lib.rs:42:29
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub const fn named_field<T: const StructDefine>(field: &'static str) -> usize {
[INFO] [stdout]    |                             ^^^^^ can't be applied to `StructDefine`
[INFO] [stdout]    |
[INFO] [stdout] help: mark `StructDefine` as `const` to allow it to have `const` implementations
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const trait StructDefine {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `const` can only be applied to `const` traits
[INFO] [stdout]   --> src/lib.rs:46:37
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub const fn named_field_checked<T: const StructDefine>(
[INFO] [stdout]    |                                     ^^^^^ can't be applied to `StructDefine`
[INFO] [stdout]    |
[INFO] [stdout] help: mark `StructDefine` as `const` to allow it to have `const` implementations
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const trait StructDefine {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const associated function `<T as StructDefine>::named_field` in constant functions
[INFO] [stdout]   --> src/lib.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     <T as StructDefine>::named_field(field)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: associated function `named_field` is not const because trait `StructDefine` is not const
[INFO] [stdout]   --> src/lib.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait StructDefine {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ this trait is not const
[INFO] [stdout] 38 |     fn named_field(field: &'static str) -> usize;
[INFO] [stdout]    |     --------------------------------------------- this associated function is not const
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] help: consider making trait `StructDefine` const
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const trait StructDefine {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const associated function `<T as StructDefine>::named_field_checked` in constant functions
[INFO] [stdout]   --> src/lib.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     <T as StructDefine>::named_field_checked(field, message)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: associated function `named_field_checked` is not const because trait `StructDefine` is not const
[INFO] [stdout]   --> src/lib.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait StructDefine {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ this trait is not const
[INFO] [stdout] 38 |     fn named_field(field: &'static str) -> usize;
[INFO] [stdout] 39 |     fn named_field_checked(field: &'static str, message: &'static str) -> usize;
[INFO] [stdout]    |     ---------------------------------------------------------------------------- this associated function is not const
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] help: consider making trait `StructDefine` const
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const trait StructDefine {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0015`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `const_trait` in this scope
[INFO] [stdout]   --> src/lib.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[const_trait]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::any;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `reflection` (lib) due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: `const` can only be applied to `const` traits
[INFO] [stdout]   --> src/lib.rs:42:29
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub const fn named_field<T: const StructDefine>(field: &'static str) -> usize {
[INFO] [stdout]    |                             ^^^^^ can't be applied to `StructDefine`
[INFO] [stdout]    |
[INFO] [stdout] help: mark `StructDefine` as `const` to allow it to have `const` implementations
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const trait StructDefine {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `const` can only be applied to `const` traits
[INFO] [stdout]   --> src/lib.rs:46:37
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub const fn named_field_checked<T: const StructDefine>(
[INFO] [stdout]    |                                     ^^^^^ can't be applied to `StructDefine`
[INFO] [stdout]    |
[INFO] [stdout] help: mark `StructDefine` as `const` to allow it to have `const` implementations
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const trait StructDefine {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const associated function `<T as StructDefine>::named_field` in constant functions
[INFO] [stdout]   --> src/lib.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     <T as StructDefine>::named_field(field)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: associated function `named_field` is not const because trait `StructDefine` is not const
[INFO] [stdout]   --> src/lib.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait StructDefine {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ this trait is not const
[INFO] [stdout] 38 |     fn named_field(field: &'static str) -> usize;
[INFO] [stdout]    |     --------------------------------------------- this associated function is not const
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] help: consider making trait `StructDefine` const
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const trait StructDefine {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const associated function `<T as StructDefine>::named_field_checked` in constant functions
[INFO] [stdout]   --> src/lib.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     <T as StructDefine>::named_field_checked(field, message)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: associated function `named_field_checked` is not const because trait `StructDefine` is not const
[INFO] [stdout]   --> src/lib.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait StructDefine {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ this trait is not const
[INFO] [stdout] 38 |     fn named_field(field: &'static str) -> usize;
[INFO] [stdout] 39 |     fn named_field_checked(field: &'static str, message: &'static str) -> usize;
[INFO] [stdout]    |     ---------------------------------------------------------------------------- this associated function is not const
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] help: consider making trait `StructDefine` const
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const trait StructDefine {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0015`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `reflection` (lib test) due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "d9acc6637b9b32f5b6c2b071c7dc1fbb322754313877e6b8ec4a273f5871eca9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9acc6637b9b32f5b6c2b071c7dc1fbb322754313877e6b8ec4a273f5871eca9", kill_on_drop: false }`
[INFO] [stdout] d9acc6637b9b32f5b6c2b071c7dc1fbb322754313877e6b8ec4a273f5871eca9
