[INFO] cloning repository https://github.com/krator-rs/krator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krator-rs/krator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrator-rs%2Fkrator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrator-rs%2Fkrator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c28e593801ad9838959dee0b969e336e93dfa72b [INFO] testing krator-rs/krator against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrator-rs%2Fkrator" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/krator-rs/krator on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-18/source/.cargo/config [INFO] started tweaking git repo https://github.com/krator-rs/krator [INFO] finished tweaking git repo https://github.com/krator-rs/krator [INFO] tweaked toml for git repo https://github.com/krator-rs/krator written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/krator-rs/krator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yasna v0.4.0 [INFO] [stderr] Downloaded rcgen v0.8.13 [INFO] [stderr] Downloaded schemars_derive v0.8.3 [INFO] [stderr] Downloaded oid-registry v0.1.5 [INFO] [stderr] Downloaded kube-core v0.64.0 [INFO] [stderr] Downloaded pem v1.0.1 [INFO] [stderr] Downloaded kube-client v0.64.0 [INFO] [stderr] Downloaded kube v0.64.0 [INFO] [stderr] Downloaded rustfix v0.5.1 [INFO] [stderr] Downloaded tower-http v0.1.1 [INFO] [stderr] Downloaded integer-encoding v1.1.7 [INFO] [stderr] Downloaded treediff v3.0.2 [INFO] [stderr] Downloaded tester v0.9.0 [INFO] [stderr] Downloaded opentelemetry v0.12.0 [INFO] [stderr] Downloaded opentelemetry-jaeger v0.11.0 [INFO] [stderr] Downloaded tracing-opentelemetry v0.11.0 [INFO] [stderr] Downloaded jsonpath_lib v0.3.0 [INFO] [stderr] Downloaded kube-runtime v0.64.0 [INFO] [stderr] Downloaded json-patch v0.2.6 [INFO] [stderr] Downloaded serde_json v1.0.71 [INFO] [stderr] Downloaded x509-parser v0.10.0 [INFO] [stderr] Downloaded schemars v0.8.3 [INFO] [stderr] Downloaded kube-derive v0.64.0 [INFO] [stderr] Downloaded der-oid-macro v0.4.0 [INFO] [stderr] Downloaded der-parser v5.1.2 [INFO] [stderr] Downloaded k8s-openapi v0.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98e5103966289ff7d08976d01ca8dba5cdae0cfb3bbb6e12661f7703836c50ce [INFO] running `Command { std: "docker" "start" "-a" "98e5103966289ff7d08976d01ca8dba5cdae0cfb3bbb6e12661f7703836c50ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98e5103966289ff7d08976d01ca8dba5cdae0cfb3bbb6e12661f7703836c50ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98e5103966289ff7d08976d01ca8dba5cdae0cfb3bbb6e12661f7703836c50ce", kill_on_drop: false }` [INFO] [stdout] 98e5103966289ff7d08976d01ca8dba5cdae0cfb3bbb6e12661f7703836c50ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a80e3ec7b1466148600af5e32d4360121b527d682f3a95f22517f226211fc65f [INFO] running `Command { std: "docker" "start" "-a" "a80e3ec7b1466148600af5e32d4360121b527d682f3a95f22517f226211fc65f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling k8s-openapi v0.13.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling ordered-float v2.8.0 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling pem v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-io-timeout v1.1.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling tower-http v0.1.1 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tower v0.4.8 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling treediff v3.0.2 [INFO] [stderr] Compiling json-patch v0.2.6 [INFO] [stderr] Compiling jsonpath_lib v0.3.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling kube-core v0.64.0 [INFO] [stderr] Compiling kube-client v0.64.0 [INFO] [stderr] Compiling kube v0.64.0 [INFO] [stderr] Compiling kube-runtime v0.64.0 [INFO] [stderr] Compiling krator v0.6.0 (/opt/rustwide/workdir/krator) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "a80e3ec7b1466148600af5e32d4360121b527d682f3a95f22517f226211fc65f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a80e3ec7b1466148600af5e32d4360121b527d682f3a95f22517f226211fc65f", kill_on_drop: false }` [INFO] [stdout] a80e3ec7b1466148600af5e32d4360121b527d682f3a95f22517f226211fc65f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac9574b30285735fceec639787c21e8c97a9b88619a92646236dcec4147ad4b0 [INFO] running `Command { std: "docker" "start" "-a" "ac9574b30285735fceec639787c21e8c97a9b88619a92646236dcec4147ad4b0", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling integer-encoding v1.1.7 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling compiletest_rs v0.7.0 (https://github.com/kflansburg/compiletest-rs.git#1fed0133) [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling sharded-slab v0.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling rustfix v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling thrift v0.13.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tester v0.9.0 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling tracing-subscriber v0.2.20 [INFO] [stderr] Compiling opentelemetry v0.12.0 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling opentelemetry-jaeger v0.11.0 [INFO] [stderr] Compiling tracing-opentelemetry v0.11.0 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling kube-derive v0.64.0 [INFO] [stderr] Compiling krator v0.6.0 (/opt/rustwide/workdir/krator) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.11s [INFO] running `Command { std: "docker" "inspect" "ac9574b30285735fceec639787c21e8c97a9b88619a92646236dcec4147ad4b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac9574b30285735fceec639787c21e8c97a9b88619a92646236dcec4147ad4b0", kill_on_drop: false }` [INFO] [stdout] ac9574b30285735fceec639787c21e8c97a9b88619a92646236dcec4147ad4b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0a325ddb0a3768702f848c07ace082666303dc97a9f9cbdaf06d73f0acbb3275 [INFO] running `Command { std: "docker" "start" "-a" "0a325ddb0a3768702f848c07ace082666303dc97a9f9cbdaf06d73f0acbb3275", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/krator-6320b1a44ae96777) [INFO] [stdout] running 1 test [INFO] [stdout] test manifest::test::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.01s [INFO] [stdout] [INFO] [stderr] Running tests/ui.rs (/opt/rustwide/target/debug/deps/ui-d644fd2dfc1b32e1) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test [ui] ui/state/require_same_object_state.rs ... FAILED [INFO] [stdout] test [ui] ui/state/next_must_be_state.rs ... FAILED [INFO] [stdout] test [ui] ui/state/require_transition_to.rs ... FAILED [INFO] [stdout] test [ui] ui/state/cannot_construct_transition_next.rs ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [ui] ui/state/next_must_be_state.rs [INFO] [stdout] [ui] ui/state/require_same_object_state.rs [INFO] [stdout] [ui] ui/state/require_transition_to.rs [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.33s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test ui' [INFO] [stdout] test compile_test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- compile_test stdout ---- [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] +error: cannot find derive macro `TransitionTo` in this scope [INFO] [stdout] + --> $DIR/require_same_object_state.rs:13:17 [INFO] [stdout] + | [INFO] [stdout] +LL | #[derive(Debug, TransitionTo)] [INFO] [stdout] + | ^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] +note: `TransitionTo` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] + --> $DIR/require_same_object_state.rs:11:14 [INFO] [stdout] + | [INFO] [stdout] +LL | use krator::{TransitionTo, ObjectState, State, SharedState, Manifest, Transition}; [INFO] [stdout] + | ^^^^^^^^^^^^ [INFO] [stdout] + [INFO] [stdout] +error: cannot find attribute `transition_to` in this scope [INFO] [stdout] + --> $DIR/require_same_object_state.rs:14:3 [INFO] [stdout] + | [INFO] [stdout] +LL | #[transition_to(OtherState)] [INFO] [stdout] + | ^^^^^^^^^^^^^ [INFO] [stdout] + [INFO] [stdout] +error[E0277]: the trait bound `TestState: TransitionTo<_>` is not satisfied [INFO] [stdout] + --> $DIR/require_same_object_state.rs:50:26 [INFO] [stdout] + | [INFO] [stdout] +LL | Transition::next(self, OtherState) [INFO] [stdout] + | ---------------- ^^^^ the trait `TransitionTo<_>` is not implemented for `TestState` [INFO] [stdout] + | | [INFO] [stdout] + | required by a bound introduced by this call [INFO] [stdout] + | [INFO] [stdout] +note: required by `Transition::::next` [INFO] [stdout] + --> $SRC_DIR/src/state.rs:43:5 [INFO] [stdout] + | [INFO] [stdout] +LL | / pub fn next, O: State>(_i: Box, o: O) -> Transition [INFO] [stdout] +LL | | where [INFO] [stdout] +LL | | I: TransitionTo, [INFO] [stdout] + | |___________________________^ [INFO] [stdout] + [INFO] [stdout] error[E0277]: the trait bound `OtherState: krator::State` is not satisfied [INFO] [stdout] --> $DIR/require_same_object_state.rs:50:32 [INFO] [stdout] | [INFO] [stdout] LL | Transition::next(self, OtherState) [INFO] [stdout] | ---------------- ^^^^^^^^^^ the trait `krator::State` is not implemented for `OtherState` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] -note: required by a bound in `Transition::::next` [INFO] [stdout] - --> $SRC_DIR/src/state.rs:43:33 [INFO] [stdout] +note: required by `Transition::::next` [INFO] [stdout] + --> $SRC_DIR/src/state.rs:43:5 [INFO] [stdout] | [INFO] [stdout] -LL | pub fn next, O: State>(_i: Box, o: O) -> Transition [INFO] [stdout] - | ^^^^^^^^ required by this bound in `Transition::::next` [INFO] [stdout] +LL | / pub fn next, O: State>(_i: Box, o: O) -> Transition [INFO] [stdout] +LL | | where [INFO] [stdout] +LL | | I: TransitionTo, [INFO] [stdout] + | |___________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [INFO] [stdout] +error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/state/require_same_object_state.stage-id.stderr [INFO] [stdout] To update references, rerun the tests and pass the `--bless` flag [INFO] [stdout] To only update this specific test, also pass `--test-args state/require_same_object_state.rs` [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/state/require_same_object_state.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/state/require_same_object_state.stage-id" "-A" "unused" "-Z" "ui-testing" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib" "--edition=2018" "-L" "/tmp/state/require_same_object_state.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"message":"cannot find derive macro `TransitionTo` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/state/require_same_object_state.rs","byte_start":397,"byte_end":409,"line_start":13,"line_end":13,"column_start":17,"column_end":29,"is_primary":true,"text":[{"text":"#[derive(Debug, TransitionTo)]","highlight_start":17,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`TransitionTo` is imported here, but it is only a trait, without a derive macro","code":null,"level":"note","spans":[{"file_name":"tests/ui/state/require_same_object_state.rs","byte_start":310,"byte_end":322,"line_start":11,"line_end":11,"column_start":14,"column_end":26,"is_primary":true,"text":[{"text":"use krator::{TransitionTo, ObjectState, State, SharedState, Manifest, Transition};","highlight_start":14,"highlight_end":26}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error: cannot find derive macro `TransitionTo` in this scope\n --> tests/ui/state/require_same_object_state.rs:13:17\n |\nLL | #[derive(Debug, TransitionTo)]\n | ^^^^^^^^^^^^\n |\nnote: `TransitionTo` is imported here, but it is only a trait, without a derive macro\n --> tests/ui/state/require_same_object_state.rs:11:14\n |\nLL | use krator::{TransitionTo, ObjectState, State, SharedState, Manifest, Transition};\n | ^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `transition_to` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/state/require_same_object_state.rs","byte_start":414,"byte_end":427,"line_start":14,"line_end":14,"column_start":3,"column_end":16,"is_primary":true,"text":[{"text":"#[transition_to(OtherState)]","highlight_start":3,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `transition_to` in this scope\n --> tests/ui/state/require_same_object_state.rs:14:3\n |\nLL | #[transition_to(OtherState)]\n | ^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"the trait bound `TestState: TransitionTo<_>` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func(foo: T) {\n foo.bar();\n}\n\nfn main() {\n // we now call the method with the i32 type, which doesn't implement\n // the Foo trait\n some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n fn bar(&self) {}\n}\n\nfn some_func(foo: T) {\n foo.bar(); // we can now use this method since i32 implements the\n // Foo trait\n}\n\nfn main() {\n some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func(foo: T) {\n println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n // implemented for the type `T`\n}\n\nfn main() {\n // We now call the method with the i32 type,\n // which *does* implement the Debug trait.\n some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func(foo: T) {\n println!(\"{:?}\", foo);\n}\n\nfn main() {\n // Calling the method is still fine, as i32 implements Debug.\n some_func(5i32);\n\n // This would fail to compile now:\n // struct WithoutDebug;\n // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/ui/state/require_same_object_state.rs","byte_start":1370,"byte_end":1374,"line_start":50,"line_end":50,"column_start":26,"column_end":30,"is_primary":true,"text":[{"text":" Transition::next(self, OtherState)","highlight_start":26,"highlight_end":30}],"label":"the trait `TransitionTo<_>` is not implemented for `TestState`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/state/require_same_object_state.rs","byte_start":1353,"byte_end":1369,"line_start":50,"line_end":50,"column_start":9,"column_end":25,"is_primary":false,"text":[{"text":" Transition::next(self, OtherState)","highlight_start":9,"highlight_end":25}],"label":"required by a bound introduced by this call","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"required by `Transition::::next`","code":null,"level":"note","spans":[{"file_name":"/opt/rustwide/workdir/krator/src/state.rs","byte_start":1518,"byte_end":1628,"line_start":43,"line_end":45,"column_start":5,"column_end":28,"is_primary":true,"text":[{"text":" pub fn next, O: State>(_i: Box, o: O) -> Transition","highlight_start":5,"highlight_end":77},{"text":" where","highlight_start":1,"highlight_end":10},{"text":" I: TransitionTo,","highlight_start":1,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `TestState: TransitionTo<_>` is not satisfied\n --> tests/ui/state/require_same_object_state.rs:50:26\n |\nLL | Transition::next(self, OtherState)\n | ---------------- ^^^^ the trait `TransitionTo<_>` is not implemented for `TestState`\n | |\n | required by a bound introduced by this call\n |\nnote: required by `Transition::::next`\n --> /opt/rustwide/workdir/krator/src/state.rs:43:5\n |\nLL | / pub fn next, O: State>(_i: Box, o: O) -> Transition\nLL | | where\nLL | | I: TransitionTo,\n | |___________________________^\n\n"} [INFO] [stdout] {"message":"the trait bound `OtherState: krator::State` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func(foo: T) {\n foo.bar();\n}\n\nfn main() {\n // we now call the method with the i32 type, which doesn't implement\n // the Foo trait\n some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n fn bar(&self) {}\n}\n\nfn some_func(foo: T) {\n foo.bar(); // we can now use this method since i32 implements the\n // Foo trait\n}\n\nfn main() {\n some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func(foo: T) {\n println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n // implemented for the type `T`\n}\n\nfn main() {\n // We now call the method with the i32 type,\n // which *does* implement the Debug trait.\n some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func(foo: T) {\n println!(\"{:?}\", foo);\n}\n\nfn main() {\n // Calling the method is still fine, as i32 implements Debug.\n some_func(5i32);\n\n // This would fail to compile now:\n // struct WithoutDebug;\n // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/ui/state/require_same_object_state.rs","byte_start":1376,"byte_end":1386,"line_start":50,"line_end":50,"column_start":32,"column_end":42,"is_primary":true,"text":[{"text":" Transition::next(self, OtherState)","highlight_start":32,"highlight_end":42}],"label":"the trait `krator::State` is not implemented for `OtherState`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/state/require_same_object_state.rs","byte_start":1353,"byte_end":1369,"line_start":50,"line_end":50,"column_start":9,"column_end":25,"is_primary":false,"text":[{"text":" Transition::next(self, OtherState)","highlight_start":9,"highlight_end":25}],"label":"required by a bound introduced by this call","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following implementations were found:\n >","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"required by `Transition::::next`","code":null,"level":"note","spans":[{"file_name":"/opt/rustwide/workdir/krator/src/state.rs","byte_start":1518,"byte_end":1628,"line_start":43,"line_end":45,"column_start":5,"column_end":28,"is_primary":true,"text":[{"text":" pub fn next, O: State>(_i: Box, o: O) -> Transition","highlight_start":5,"highlight_end":77},{"text":" where","highlight_start":1,"highlight_end":10},{"text":" I: TransitionTo,","highlight_start":1,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `OtherState: krator::State` is not satisfied\n --> tests/ui/state/require_same_object_state.rs:50:32\n |\nLL | Transition::next(self, OtherState)\n | ---------------- ^^^^^^^^^^ the trait `krator::State` is not implemented for `OtherState`\n | |\n | required by a bound introduced by this call\n |\n = help: the following implementations were found:\n >\nnote: required by `Transition::::next`\n --> /opt/rustwide/workdir/krator/src/state.rs:43:5\n |\nLL | / pub fn next, O: State>(_i: Box, o: O) -> Transition\nLL | | where\nLL | | I: TransitionTo,\n | |___________________________^\n\n"} [INFO] [stdout] {"message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"} [INFO] [stdout] {"message":"For more information about this error, try `rustc --explain E0277`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0277`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] +error: cannot find derive macro `TransitionTo` in this scope [INFO] [stdout] + --> $DIR/next_must_be_state.rs:12:17 [INFO] [stdout] + | [INFO] [stdout] +LL | #[derive(Debug, TransitionTo)] [INFO] [stdout] + | ^^^^^^^^^^^^ [INFO] [stdout] + | [INFO] [stdout] +note: `TransitionTo` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] + --> $DIR/next_must_be_state.rs:10:14 [INFO] [stdout] + | [INFO] [stdout] +LL | use krator::{TransitionTo, ObjectState, State, SharedState, Manifest, Transition}; [INFO] [stdout] + | ^^^^^^^^^^^^ [INFO] [stdout] + [INFO] [stdout] +error: cannot find attribute `transition_to` in this scope [INFO] [stdout] + --> $DIR/next_must_be_state.rs:13:3 [INFO] [stdout] + | [INFO] [stdout] +LL | #[transition_to(NotState)] [INFO] [stdout] + | ^^^^^^^^^^^^^ [INFO] [stdout] + [INFO] [stdout] +error[E0277]: the trait bound `TestState: TransitionTo<_>` is not satisfied [INFO] [stdout] + --> $DIR/next_must_be_state.rs:39:26 [INFO] [stdout] + | [INFO] [stdout] +LL | Transition::next(self, NotState) [INFO] [stdout] + | ---------------- ^^^^ the trait `TransitionTo<_>` is not implemented for `TestState` [INFO] [stdout] + | | [INFO] [stdout] + | required by a bound introduced by this call [INFO] [stdout] + | [INFO] [stdout] +note: required by `Transition::::next` [INFO] [stdout] + --> $SRC_DIR/src/state.rs:43:5 [INFO] [stdout] + | [INFO] [stdout] +LL | / pub fn next, O: State>(_i: Box, o: O) -> Transition [INFO] [stdout] +LL | | where [INFO] [stdout] +LL | | I: TransitionTo, [INFO] [stdout] + | |___________________________^ [INFO] [stdout] + [INFO] [stdout] error[E0277]: the trait bound `NotState: krator::State` is not satisfied [INFO] [stdout] --> $DIR/next_must_be_state.rs:39:32 [INFO] [stdout] | [INFO] [stdout] LL | Transition::next(self, NotState) [INFO] [stdout] | ---------------- ^^^^^^^^ the trait `krator::State` is not implemented for `NotState` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] -note: required by a bound in `Transition::::next` [INFO] [stdout] - --> $SRC_DIR/src/state.rs:43:33 [INFO] [stdout] +note: required by `Transition::::next` [INFO] [stdout] + --> $SRC_DIR/src/state.rs:43:5 [INFO] [stdout] | [INFO] [stdout] -LL | pub fn next, O: State>(_i: Box, o: O) -> Transition [INFO] [stdout] - | ^^^^^^^^ required by this bound in `Transition::::next` [INFO] [stdout] +LL | / pub fn next, O: State>(_i: Box, o: O) -> Transition [INFO] [stdout] +LL | | where [INFO] [stdout] +LL | | I: TransitionTo, [INFO] [stdout] + | |___________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [INFO] [stdout] +error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/state/next_must_be_state.stage-id.stderr [INFO] [stdout] To update references, rerun the tests and pass the `--bless` flag [INFO] [stdout] To only update this specific test, also pass `--test-args state/next_must_be_state.rs` [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/state/next_must_be_state.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/state/next_must_be_state.stage-id" "-A" "unused" "-Z" "ui-testing" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib" "--edition=2018" "-L" "/tmp/state/next_must_be_state.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"message":"cannot find derive macro `TransitionTo` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/state/next_must_be_state.rs","byte_start":362,"byte_end":374,"line_start":12,"line_end":12,"column_start":17,"column_end":29,"is_primary":true,"text":[{"text":"#[derive(Debug, TransitionTo)]","highlight_start":17,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`TransitionTo` is imported here, but it is only a trait, without a derive macro","code":null,"level":"note","spans":[{"file_name":"tests/ui/state/next_must_be_state.rs","byte_start":275,"byte_end":287,"line_start":10,"line_end":10,"column_start":14,"column_end":26,"is_primary":true,"text":[{"text":"use krator::{TransitionTo, ObjectState, State, SharedState, Manifest, Transition};","highlight_start":14,"highlight_end":26}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error: cannot find derive macro `TransitionTo` in this scope\n --> tests/ui/state/next_must_be_state.rs:12:17\n |\nLL | #[derive(Debug, TransitionTo)]\n | ^^^^^^^^^^^^\n |\nnote: `TransitionTo` is imported here, but it is only a trait, without a derive macro\n --> tests/ui/state/next_must_be_state.rs:10:14\n |\nLL | use krator::{TransitionTo, ObjectState, State, SharedState, Manifest, Transition};\n | ^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `transition_to` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/ui/state/next_must_be_state.rs","byte_start":379,"byte_end":392,"line_start":13,"line_end":13,"column_start":3,"column_end":16,"is_primary":true,"text":[{"text":"#[transition_to(NotState)]","highlight_start":3,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `transition_to` in this scope\n --> tests/ui/state/next_must_be_state.rs:13:3\n |\nLL | #[transition_to(NotState)]\n | ^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"the trait bound `TestState: TransitionTo<_>` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func(foo: T) {\n foo.bar();\n}\n\nfn main() {\n // we now call the method with the i32 type, which doesn't implement\n // the Foo trait\n some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n fn bar(&self) {}\n}\n\nfn some_func(foo: T) {\n foo.bar(); // we can now use this method since i32 implements the\n // Foo trait\n}\n\nfn main() {\n some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func(foo: T) {\n println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n // implemented for the type `T`\n}\n\nfn main() {\n // We now call the method with the i32 type,\n // which *does* implement the Debug trait.\n some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func(foo: T) {\n println!(\"{:?}\", foo);\n}\n\nfn main() {\n // Calling the method is still fine, as i32 implements Debug.\n some_func(5i32);\n\n // This would fail to compile now:\n // struct WithoutDebug;\n // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/ui/state/next_must_be_state.rs","byte_start":1052,"byte_end":1056,"line_start":39,"line_end":39,"column_start":26,"column_end":30,"is_primary":true,"text":[{"text":" Transition::next(self, NotState)","highlight_start":26,"highlight_end":30}],"label":"the trait `TransitionTo<_>` is not implemented for `TestState`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/state/next_must_be_state.rs","byte_start":1035,"byte_end":1051,"line_start":39,"line_end":39,"column_start":9,"column_end":25,"is_primary":false,"text":[{"text":" Transition::next(self, NotState)","highlight_start":9,"highlight_end":25}],"label":"required by a bound introduced by this call","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"required by `Transition::::next`","code":null,"level":"note","spans":[{"file_name":"/opt/rustwide/workdir/krator/src/state.rs","byte_start":1518,"byte_end":1628,"line_start":43,"line_end":45,"column_start":5,"column_end":28,"is_primary":true,"text":[{"text":" pub fn next, O: State>(_i: Box, o: O) -> Transition","highlight_start":5,"highlight_end":77},{"text":" where","highlight_start":1,"highlight_end":10},{"text":" I: TransitionTo,","highlight_start":1,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `TestState: TransitionTo<_>` is not satisfied\n --> tests/ui/state/next_must_be_state.rs:39:26\n |\nLL | Transition::next(self, NotState)\n | ---------------- ^^^^ the trait `TransitionTo<_>` is not implemented for `TestState`\n | |\n | required by a bound introduced by this call\n |\nnote: required by `Transition::::next`\n --> /opt/rustwide/workdir/krator/src/state.rs:43:5\n |\nLL | / pub fn next, O: State>(_i: Box, o: O) -> Transition\nLL | | where\nLL | | I: TransitionTo,\n | |___________________________^\n\n"} [INFO] [stdout] {"message":"the trait bound `NotState: krator::State` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func(foo: T) {\n foo.bar();\n}\n\nfn main() {\n // we now call the method with the i32 type, which doesn't implement\n // the Foo trait\n some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n fn bar(&self) {}\n}\n\nfn some_func(foo: T) {\n foo.bar(); // we can now use this method since i32 implements the\n // Foo trait\n}\n\nfn main() {\n some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func(foo: T) {\n println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n // implemented for the type `T`\n}\n\nfn main() {\n // We now call the method with the i32 type,\n // which *does* implement the Debug trait.\n some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func(foo: T) {\n println!(\"{:?}\", foo);\n}\n\nfn main() {\n // Calling the method is still fine, as i32 implements Debug.\n some_func(5i32);\n\n // This would fail to compile now:\n // struct WithoutDebug;\n // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/ui/state/next_must_be_state.rs","byte_start":1058,"byte_end":1066,"line_start":39,"line_end":39,"column_start":32,"column_end":40,"is_primary":true,"text":[{"text":" Transition::next(self, NotState)","highlight_start":32,"highlight_end":40}],"label":"the trait `krator::State` is not implemented for `NotState`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/ui/state/next_must_be_state.rs","byte_start":1035,"byte_end":1051,"line_start":39,"line_end":39,"column_start":9,"column_end":25,"is_primary":false,"text":[{"text":" Transition::next(self, NotState)","highlight_start":9,"highlight_end":25}],"label":"required by a bound introduced by this call","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"required by `Transition::::next`","code":null,"level":"note","spans":[{"file_name":"/opt/rustwide/workdir/krator/src/state.rs","byte_start":1518,"byte_end":1628,"line_start":43,"line_end":45,"column_start":5,"column_end":28,"is_primary":true,"text":[{"text":" pub fn next, O: State>(_i: Box, o: O) -> Transition","highlight_start":5,"highlight_end":77},{"text":" where","highlight_start":1,"highlight_end":10},{"text":" I: TransitionTo,","highlight_start":1,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `NotState: krator::State` is not satisfied\n --> tests/ui/state/next_must_be_state.rs:39:32\n |\nLL | Transition::next(self, NotState)\n | ---------------- ^^^^^^^^ the trait `krator::State` is not implemented for `NotState`\n | |\n | required by a bound introduced by this call\n |\nnote: required by `Transition::::next`\n --> /opt/rustwide/workdir/krator/src/state.rs:43:5\n |\nLL | / pub fn next, O: State>(_i: Box, o: O) -> Transition\nLL | | where\nLL | | I: TransitionTo,\n | |___________________________^\n\n"} [INFO] [stdout] {"message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"} [INFO] [stdout] {"message":"For more information about this error, try `rustc --explain E0277`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0277`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] diff of stderr: [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestState: TransitionTo<_>` is not satisfied [INFO] [stdout] --> $DIR/require_transition_to.rs:38:9 [INFO] [stdout] | [INFO] [stdout] LL | Transition::next(self, TestState) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `TransitionTo<_>` is not implemented for `TestState` [INFO] [stdout] | [INFO] [stdout] -note: required by a bound in `Transition::::next` [INFO] [stdout] - --> $SRC_DIR/src/state.rs:45:12 [INFO] [stdout] +note: required by `Transition::::next` [INFO] [stdout] + --> $SRC_DIR/src/state.rs:43:5 [INFO] [stdout] | [INFO] [stdout] -LL | I: TransitionTo, [INFO] [stdout] - | ^^^^^^^^^^^^^^^ required by this bound in `Transition::::next` [INFO] [stdout] +LL | / pub fn next, O: State>(_i: Box, o: O) -> Transition [INFO] [stdout] +LL | | where [INFO] [stdout] +LL | | I: TransitionTo, [INFO] [stdout] + | |___________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] The actual stderr differed from the expected stderr. [INFO] [stdout] Actual stderr saved to /tmp/state/require_transition_to.stage-id.stderr [INFO] [stdout] To update references, rerun the tests and pass the `--bless` flag [INFO] [stdout] To only update this specific test, also pass `--test-args state/require_transition_to.rs` [INFO] [stdout] [INFO] [stdout] error: 1 errors occurred comparing output. [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/ui/state/require_transition_to.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/state/require_transition_to.stage-id" "-A" "unused" "-Z" "ui-testing" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib" "--edition=2018" "-L" "/tmp/state/require_transition_to.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"message":"the trait bound `TestState: TransitionTo<_>` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func(foo: T) {\n foo.bar();\n}\n\nfn main() {\n // we now call the method with the i32 type, which doesn't implement\n // the Foo trait\n some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n fn bar(&self) {}\n}\n\nfn some_func(foo: T) {\n foo.bar(); // we can now use this method since i32 implements the\n // Foo trait\n}\n\nfn main() {\n some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func(foo: T) {\n println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n // implemented for the type `T`\n}\n\nfn main() {\n // We now call the method with the i32 type,\n // which *does* implement the Debug trait.\n some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func(foo: T) {\n println!(\"{:?}\", foo);\n}\n\nfn main() {\n // Calling the method is still fine, as i32 implements Debug.\n some_func(5i32);\n\n // This would fail to compile now:\n // struct WithoutDebug;\n // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/ui/state/require_transition_to.rs","byte_start":1073,"byte_end":1089,"line_start":38,"line_end":38,"column_start":9,"column_end":25,"is_primary":true,"text":[{"text":" Transition::next(self, TestState)","highlight_start":9,"highlight_end":25}],"label":"the trait `TransitionTo<_>` is not implemented for `TestState`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"required by `Transition::::next`","code":null,"level":"note","spans":[{"file_name":"/opt/rustwide/workdir/krator/src/state.rs","byte_start":1518,"byte_end":1628,"line_start":43,"line_end":45,"column_start":5,"column_end":28,"is_primary":true,"text":[{"text":" pub fn next, O: State>(_i: Box, o: O) -> Transition","highlight_start":5,"highlight_end":77},{"text":" where","highlight_start":1,"highlight_end":10},{"text":" I: TransitionTo,","highlight_start":1,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `TestState: TransitionTo<_>` is not satisfied\n --> tests/ui/state/require_transition_to.rs:38:9\n |\nLL | Transition::next(self, TestState)\n | ^^^^^^^^^^^^^^^^ the trait `TransitionTo<_>` is not implemented for `TestState`\n |\nnote: required by `Transition::::next`\n --> /opt/rustwide/workdir/krator/src/state.rs:43:5\n |\nLL | / pub fn next, O: State>(_i: Box, o: O) -> Transition\nLL | | where\nLL | | I: TransitionTo,\n | |___________________________^\n\n"} [INFO] [stdout] {"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error\n\n"} [INFO] [stdout] {"message":"For more information about this error, try `rustc --explain E0277`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0277`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] thread 'compile_test' panicked at 'Some tests failed', /opt/rustwide/cargo-home/git/checkouts/compiletest-rs-346efcee5beef3c0/1fed013/src/lib.rs:105:22 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5634b2ef7d4c - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5634b2ef7d4c - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5634b2ef7d4c - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5634b2ef7d4c - ::fmt::hf439e5ed84c74abd [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5634b2f1d0bc - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x5634b2ef30c5 - std::io::Write::write_fmt::h54337adeb3504c03 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x5634b2efa250 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5634b2efa250 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5634b2efa250 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x5634b2ef9e36 - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x5634b2efa904 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x5634b2c04cd2 - std::panicking::begin_panic::{{closure}}::h42bf82f8026e79ef [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:526:9 [INFO] [stdout] 12: 0x5634b2c04b69 - std::sys_common::backtrace::__rust_end_short_backtrace::h8138a4e7d7e7046c [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x5634b2c04c13 - std::panicking::begin_panic::h5a7c0e82a6669c5b [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:525:12 [INFO] [stdout] 14: 0x5634b2afea7b - compiletest_rs::run_tests::hc78e8346825fd0fe [INFO] [stdout] at /opt/rustwide/cargo-home/git/checkouts/compiletest-rs-346efcee5beef3c0/1fed013/src/lib.rs:105:22 [INFO] [stdout] 15: 0x5634b2af8ee2 - ui::compile_test::h54c3e43d71982452 [INFO] [stdout] at /opt/rustwide/workdir/krator/tests/ui.rs:31:5 [INFO] [stdout] 16: 0x5634b2af887a - ui::compile_test::{{closure}}::h55ef1feb185d3f4a [INFO] [stdout] at /opt/rustwide/workdir/krator/tests/ui.rs:21:1 [INFO] [stdout] 17: 0x5634b2af905e - core::ops::function::FnOnce::call_once::h212184bd3f94a374 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 18: 0x5634b2ed0533 - core::ops::function::FnOnce::call_once::h24a32b9da1a40fdb [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x5634b2ed0533 - test::__rust_begin_short_backtrace::h3c3a0492fb4a12eb [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/test/src/lib.rs:585:5 [INFO] [stdout] 20: 0x5634b2ecf147 - as core::ops::function::FnOnce>::call_once::h9a8e38435f73d5e0 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 21: 0x5634b2ecf147 - as core::ops::function::FnOnce<()>>::call_once::hb23d7496a0e6d1b4 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 22: 0x5634b2ecf147 - std::panicking::try::do_call::ha2bb9825b32d2cc2 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:406:40 [INFO] [stdout] 23: 0x5634b2ecf147 - std::panicking::try::hdc38a574bbebc53e [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:370:19 [INFO] [stdout] 24: 0x5634b2ecf147 - std::panic::catch_unwind::hc45ed246595c621c [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panic.rs:133:14 [INFO] [stdout] 25: 0x5634b2ecf147 - test::run_test_in_process::h4249138faaea8d54 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/test/src/lib.rs:608:18 [INFO] [stdout] 26: 0x5634b2ecf147 - test::run_test::run_test_inner::{{closure}}::h3c1b37669f6e9fd7 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/test/src/lib.rs:500:39 [INFO] [stdout] 27: 0x5634b2e9c3ee - test::run_test::run_test_inner::{{closure}}::h388760469edd5c24 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/test/src/lib.rs:527:37 [INFO] [stdout] 28: 0x5634b2e9c3ee - std::sys_common::backtrace::__rust_begin_short_backtrace::hbbaecdcfad18643e [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 29: 0x5634b2ea1148 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h09cd3ca65896da91 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 30: 0x5634b2ea1148 - as core::ops::function::FnOnce<()>>::call_once::hc52dbb4f9088d18b [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 31: 0x5634b2ea1148 - std::panicking::try::do_call::h4485cfee22b11c08 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:406:40 [INFO] [stdout] 32: 0x5634b2ea1148 - std::panicking::try::hb62aa8549e20c08b [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:370:19 [INFO] [stdout] 33: 0x5634b2ea1148 - std::panic::catch_unwind::ha322c7a5bc666762 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panic.rs:133:14 [INFO] [stdout] 34: 0x5634b2ea1148 - std::thread::Builder::spawn_unchecked::{{closure}}::h1076fc1398603b77 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 35: 0x5634b2ea1148 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h911e510344167353 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 36: 0x5634b2f005b3 - as core::ops::function::FnOnce>::call_once::h771719d52c343434 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 37: 0x5634b2f005b3 - as core::ops::function::FnOnce>::call_once::hf441746dfa4b0f57 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 38: 0x5634b2f005b3 - std::sys::unix::thread::Thread::new::thread_start::hfd168f9d312b29ca [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 39: 0x7fa2d6afc609 - start_thread [INFO] [stdout] 40: 0x7fa2d68ce293 - clone [INFO] [stdout] 41: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] compile_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.54s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0a325ddb0a3768702f848c07ace082666303dc97a9f9cbdaf06d73f0acbb3275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a325ddb0a3768702f848c07ace082666303dc97a9f9cbdaf06d73f0acbb3275", kill_on_drop: false }` [INFO] [stdout] 0a325ddb0a3768702f848c07ace082666303dc97a9f9cbdaf06d73f0acbb3275