[INFO] cloning repository https://github.com/febrezo/stix4rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/febrezo/stix4rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffebrezo%2Fstix4rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffebrezo%2Fstix4rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9172134cc49f06ebd3d892c86ffd0f62683b8f74
[INFO] checking febrezo/stix4rust against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffebrezo%2Fstix4rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/febrezo/stix4rust on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/febrezo/stix4rust
[INFO] finished tweaking git repo https://github.com/febrezo/stix4rust
[INFO] tweaked toml for git repo https://github.com/febrezo/stix4rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/febrezo/stix4rust 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded validator_derive v0.14.0
[INFO] [stderr]   Downloaded langtag v0.2.0
[INFO] [stderr]   Downloaded inventory v0.2.1
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b808187d8d780f4daacab03890559db893282a25c03aa02375902ea4f08bbe51
[INFO] running `Command { std: "docker" "start" "-a" "b808187d8d780f4daacab03890559db893282a25c03aa02375902ea4f08bbe51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b808187d8d780f4daacab03890559db893282a25c03aa02375902ea4f08bbe51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b808187d8d780f4daacab03890559db893282a25c03aa02375902ea4f08bbe51", kill_on_drop: false }`
[INFO] [stdout] b808187d8d780f4daacab03890559db893282a25c03aa02375902ea4f08bbe51
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6a38a9bef2cf49e794f529a9860149fa0f88745eee49f0aba991043534180a4b
[INFO] running `Command { std: "docker" "start" "-a" "6a38a9bef2cf49e794f529a9860149fa0f88745eee49f0aba991043534180a4b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling serde_derive v1.0.132
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling serde v1.0.132
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking tinyvec v1.5.1
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking quote v1.0.10
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling erased-serde v0.3.17
[INFO] [stderr]     Checking unicode-bidi v0.3.7
[INFO] [stderr]    Compiling serde_json v1.0.73
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling if_chain v1.0.2
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking once_cell v1.9.0
[INFO] [stderr]     Checking langtag v0.2.0
[INFO] [stderr]     Checking argparse v0.2.2
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]     Checking validator_types v0.14.0
[INFO] [stderr]    Compiling ghost v0.1.2
[INFO] [stderr]    Compiling ctor v0.1.21
[INFO] [stderr]    Compiling typetag-impl v0.1.8
[INFO] [stderr]    Compiling validator_derive v0.14.0
[INFO] [stderr]     Checking inventory v0.2.1
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking typetag v0.1.8
[INFO] [stderr]     Checking validator v0.14.0
[INFO] [stderr]     Checking stix4rust v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ExternalReference`, `GranularMarking`
[INFO] [stdout]  --> tests/sdo_identity.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     ExternalReference,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     GranularMarking
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 10.93s
[INFO] running `Command { std: "docker" "inspect" "6a38a9bef2cf49e794f529a9860149fa0f88745eee49f0aba991043534180a4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a38a9bef2cf49e794f529a9860149fa0f88745eee49f0aba991043534180a4b", kill_on_drop: false }`
[INFO] [stdout] 6a38a9bef2cf49e794f529a9860149fa0f88745eee49f0aba991043534180a4b
[INFO] checking febrezo/stix4rust against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffebrezo%2Fstix4rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/febrezo/stix4rust on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/febrezo/stix4rust
[INFO] finished tweaking git repo https://github.com/febrezo/stix4rust
[INFO] tweaked toml for git repo https://github.com/febrezo/stix4rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/febrezo/stix4rust 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 92989b91320aa937e9ab5d2753c3a9dba7d3ebb10b20c1f09037e85eb2811c9f
[INFO] running `Command { std: "docker" "start" "-a" "92989b91320aa937e9ab5d2753c3a9dba7d3ebb10b20c1f09037e85eb2811c9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "92989b91320aa937e9ab5d2753c3a9dba7d3ebb10b20c1f09037e85eb2811c9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92989b91320aa937e9ab5d2753c3a9dba7d3ebb10b20c1f09037e85eb2811c9f", kill_on_drop: false }`
[INFO] [stdout] 92989b91320aa937e9ab5d2753c3a9dba7d3ebb10b20c1f09037e85eb2811c9f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 46dd32a88c33b206e9659f902c13f13bccb8bf77aeccc18b5059854bbcfaf067
[INFO] running `Command { std: "docker" "start" "-a" "46dd32a88c33b206e9659f902c13f13bccb8bf77aeccc18b5059854bbcfaf067", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling serde_derive v1.0.132
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling serde v1.0.132
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking tinyvec v1.5.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling erased-serde v0.3.17
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking unicode-bidi v0.3.7
[INFO] [stderr]    Compiling serde_json v1.0.73
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]    Compiling if_chain v1.0.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking once_cell v1.9.0
[INFO] [stderr]     Checking argparse v0.2.2
[INFO] [stderr]     Checking langtag v0.2.0
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling validator_types v0.14.0
[INFO] [stderr]    Compiling ctor v0.1.21
[INFO] [stderr]    Compiling ghost v0.1.2
[INFO] [stderr]    Compiling validator_derive v0.14.0
[INFO] [stderr]    Compiling typetag-impl v0.1.8
[INFO] [stderr]     Checking inventory v0.2.1
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking typetag v0.1.8
[INFO] [stderr]     Checking validator v0.14.0
[INFO] [stderr]     Checking stix4rust v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/core/mod.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[typetag::serde(tag = "type")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_STIXObject_registry`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/core/mod.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[typetag::serde(tag = "type")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_STIXObject_registry`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stix4rust` (lib test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `stix4rust` (lib) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "46dd32a88c33b206e9659f902c13f13bccb8bf77aeccc18b5059854bbcfaf067", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46dd32a88c33b206e9659f902c13f13bccb8bf77aeccc18b5059854bbcfaf067", kill_on_drop: false }`
[INFO] [stdout] 46dd32a88c33b206e9659f902c13f13bccb8bf77aeccc18b5059854bbcfaf067
