[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#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrayan-724%2Frust-reflection-poc" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Brayan-724/rust-reflection-poc on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4b4797648ac4b21e748d012efe0ed41c1698d590f79158de86da127943c08cc1
[INFO] running `Command { std: "docker" "start" "-a" "4b4797648ac4b21e748d012efe0ed41c1698d590f79158de86da127943c08cc1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4b4797648ac4b21e748d012efe0ed41c1698d590f79158de86da127943c08cc1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b4797648ac4b21e748d012efe0ed41c1698d590f79158de86da127943c08cc1", kill_on_drop: false }`
[INFO] [stdout] 4b4797648ac4b21e748d012efe0ed41c1698d590f79158de86da127943c08cc1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 34b688b71991e45f6c2bf22c4846eb84627789798067de216cdd6604f2b279fa
[INFO] running `Command { std: "docker" "start" "-a" "34b688b71991e45f6c2bf22c4846eb84627789798067de216cdd6604f2b279fa", 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]    Compiling 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) 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 test) due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "34b688b71991e45f6c2bf22c4846eb84627789798067de216cdd6604f2b279fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34b688b71991e45f6c2bf22c4846eb84627789798067de216cdd6604f2b279fa", kill_on_drop: false }`
[INFO] [stdout] 34b688b71991e45f6c2bf22c4846eb84627789798067de216cdd6604f2b279fa
