[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 try#54cf65b8d066c082e536455049b95943cf30378f for pr-151920
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrayan-724%2Frust-reflection-poc" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Brayan-724/rust-reflection-poc on toolchain 54cf65b8d066c082e536455049b95943cf30378f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "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" "+54cf65b8d066c082e536455049b95943cf30378f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2020a3636e56ecf4b71b614dd3cb48bcd035b7309c784ca4d2435f04e7520594
[INFO] running `Command { std: "docker" "start" "-a" "2020a3636e56ecf4b71b614dd3cb48bcd035b7309c784ca4d2435f04e7520594", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2020a3636e56ecf4b71b614dd3cb48bcd035b7309c784ca4d2435f04e7520594", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2020a3636e56ecf4b71b614dd3cb48bcd035b7309c784ca4d2435f04e7520594", kill_on_drop: false }`
[INFO] [stdout] 2020a3636e56ecf4b71b614dd3cb48bcd035b7309c784ca4d2435f04e7520594
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e876d46dad4d51593a8a7943b9cd327b21ad244b9d243e6568320bea01f4812b
[INFO] running `Command { std: "docker" "start" "-a" "e876d46dad4d51593a8a7943b9cd327b21ad244b9d243e6568320bea01f4812b", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.104
[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] [stderr] error: could not compile `reflection` (lib test) due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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] [stderr] error: could not compile `reflection` (lib) due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "e876d46dad4d51593a8a7943b9cd327b21ad244b9d243e6568320bea01f4812b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e876d46dad4d51593a8a7943b9cd327b21ad244b9d243e6568320bea01f4812b", kill_on_drop: false }`
[INFO] [stdout] e876d46dad4d51593a8a7943b9cd327b21ad244b9d243e6568320bea01f4812b
