[INFO] fetching crate krator 0.4.0... [INFO] testing krator-0.4.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate krator 0.4.0 into /workspace/builds/worker-43/source [INFO] validating manifest of crates.io crate krator 0.4.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate krator 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate krator 0.4.0 [INFO] tweaked toml for crates.io crate krator 0.4.0 written to /workspace/builds/worker-43/source/Cargo.toml [INFO] crate crates.io crate krator 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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 futures-sink v0.3.15 [INFO] [stderr] Downloaded futures-core v0.3.15 [INFO] [stderr] Downloaded futures-macro v0.3.15 [INFO] [stderr] Downloaded futures-task v0.3.15 [INFO] [stderr] Downloaded cpufeatures v0.1.5 [INFO] [stderr] Downloaded tokio v1.8.2 [INFO] [stderr] Downloaded der-oid-macro v0.4.0 [INFO] [stderr] Downloaded ct-logs v0.8.0 [INFO] [stderr] Downloaded schemars_derive v0.8.3 [INFO] [stderr] Downloaded treediff v3.0.2 [INFO] [stderr] Downloaded oid-registry v0.1.4 [INFO] [stderr] Downloaded ordered-float v2.7.0 [INFO] [stderr] Downloaded term v0.7.0 [INFO] [stderr] Downloaded compiletest_rs v0.6.0 [INFO] [stderr] Downloaded futures v0.3.15 [INFO] [stderr] Downloaded rustversion v1.0.5 [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded snafu-derive v0.6.10 [INFO] [stderr] Downloaded dirs-sys-next v0.1.2 [INFO] [stderr] Downloaded dirs-next v2.0.0 [INFO] [stderr] Downloaded dashmap v4.0.2 [INFO] [stderr] Downloaded num-bigint v0.4.0 [INFO] [stderr] Downloaded dyn-clone v1.0.4 [INFO] [stderr] Downloaded futures-executor v0.3.15 [INFO] [stderr] Downloaded anyhow v1.0.42 [INFO] [stderr] Downloaded hyper-timeout v0.4.1 [INFO] [stderr] Downloaded headers v0.3.4 [INFO] [stderr] Downloaded filetime v0.2.14 [INFO] [stderr] Downloaded regex v1.4.6 [INFO] [stderr] Downloaded serde_derive_internals v0.25.0 [INFO] [stderr] Downloaded getopts v0.2.21 [INFO] [stderr] Downloaded kube-derive v0.58.1 [INFO] [stderr] Downloaded redox_users v0.4.0 [INFO] [stderr] Downloaded tokio-io-timeout v1.1.1 [INFO] [stderr] Downloaded tester v0.9.0 [INFO] [stderr] Downloaded rustfix v0.5.1 [INFO] [stderr] Downloaded kube-runtime v0.58.1 [INFO] [stderr] Downloaded krator-derive v0.3.0 [INFO] [stderr] Downloaded tokio-util v0.6.7 [INFO] [stderr] Downloaded serde-value v0.7.0 [INFO] [stderr] Downloaded structopt v0.3.22 [INFO] [stderr] Downloaded kube v0.58.1 [INFO] [stderr] Downloaded tracing-subscriber v0.2.19 [INFO] [stderr] Downloaded futures-util v0.3.15 [INFO] [stderr] Downloaded jsonpath_lib v0.3.0 [INFO] [stderr] Downloaded rusticata-macros v3.1.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.27 [INFO] [stderr] Downloaded rustls-native-certs v0.5.0 [INFO] [stderr] Downloaded rustls-pemfile v0.2.1 [INFO] [stderr] Downloaded structopt-derive v0.4.15 [INFO] [stderr] Downloaded opentelemetry-jaeger v0.11.0 [INFO] [stderr] Downloaded k8s-openapi v0.12.0 [INFO] [stderr] Downloaded futures-channel v0.3.15 [INFO] [stderr] Downloaded warp v0.3.1 [INFO] [stderr] Downloaded sha-1 v0.9.7 [INFO] [stderr] Downloaded json-patch v0.2.6 [INFO] [stderr] Downloaded kube-core v0.58.1 [INFO] [stderr] Downloaded rcgen v0.8.11 [INFO] [stderr] Downloaded tracing-opentelemetry v0.11.0 [INFO] [stderr] Downloaded rustls v0.19.1 [INFO] [stderr] Downloaded syn v1.0.73 [INFO] [stderr] Downloaded tower v0.4.8 [INFO] [stderr] Downloaded redox_syscall v0.2.9 [INFO] [stderr] Downloaded tokio-stream v0.1.7 [INFO] [stderr] Downloaded tokio-rustls v0.22.0 [INFO] [stderr] Downloaded snafu v0.6.10 [INFO] [stderr] Downloaded hyper-rustls v0.22.1 [INFO] [stderr] Downloaded data-encoding v2.3.2 [INFO] [stderr] Downloaded async-trait v0.1.50 [INFO] [stderr] Downloaded futures-io v0.3.15 [INFO] [stderr] Downloaded tower-http v0.1.1 [INFO] [stderr] Downloaded x509-parser v0.9.2 [INFO] [stderr] Downloaded schemars v0.8.3 [INFO] [stderr] Downloaded opentelemetry v0.12.0 [INFO] [stderr] Downloaded hyper v0.14.10 [INFO] [stderr] Downloaded der-parser v5.1.0 [INFO] [stderr] Downloaded yasna v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ae32403478d6fc9180831b50f69c38b358dcde475b1106f1f946998a319dd74 [INFO] running `Command { std: "docker" "start" "-a" "0ae32403478d6fc9180831b50f69c38b358dcde475b1106f1f946998a319dd74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ae32403478d6fc9180831b50f69c38b358dcde475b1106f1f946998a319dd74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ae32403478d6fc9180831b50f69c38b358dcde475b1106f1f946998a319dd74", kill_on_drop: false }` [INFO] [stdout] 0ae32403478d6fc9180831b50f69c38b358dcde475b1106f1f946998a319dd74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8a8e44c30bf528093876a50278b31a811524dc4cd68d80e2bd251cf73688396 [INFO] running `Command { std: "docker" "start" "-a" "c8a8e44c30bf528093876a50278b31a811524dc4cd68d80e2bd251cf73688396", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling k8s-openapi v0.12.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling tokio v1.8.2 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ordered-float v2.7.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-io-timeout v1.1.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling tower-http v0.1.1 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tower v0.4.8 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling hyper v0.14.10 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling treediff v3.0.2 [INFO] [stderr] Compiling json-patch v0.2.6 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling jsonpath_lib v0.3.0 [INFO] [stderr] Compiling kube-core v0.58.1 [INFO] [stderr] Compiling kube v0.58.1 [INFO] [stderr] Compiling kube-runtime v0.58.1 [INFO] [stderr] Compiling krator v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "c8a8e44c30bf528093876a50278b31a811524dc4cd68d80e2bd251cf73688396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8a8e44c30bf528093876a50278b31a811524dc4cd68d80e2bd251cf73688396", kill_on_drop: false }` [INFO] [stdout] c8a8e44c30bf528093876a50278b31a811524dc4cd68d80e2bd251cf73688396 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70c0cbe5984544b164cb32f7587bbaefc117fbaa79d748816e803444b2decad6 [INFO] running `Command { std: "docker" "start" "-a" "70c0cbe5984544b164cb32f7587bbaefc117fbaa79d748816e803444b2decad6", kill_on_drop: false }` [INFO] [stderr] Compiling compiletest_rs v0.6.0 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling integer-encoding v1.1.7 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.1 [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.14 [INFO] [stderr] Compiling darling_core v0.12.4 [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 clap v2.33.3 [INFO] [stderr] Compiling thrift v0.13.0 [INFO] [stderr] Compiling tester v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling opentelemetry v0.12.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.19 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling opentelemetry-jaeger v0.11.0 [INFO] [stderr] Compiling tracing-opentelemetry v0.11.0 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling kube-derive v0.58.1 [INFO] [stderr] Compiling structopt v0.3.22 [INFO] [stderr] Compiling krator v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.45s [INFO] running `Command { std: "docker" "inspect" "70c0cbe5984544b164cb32f7587bbaefc117fbaa79d748816e803444b2decad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70c0cbe5984544b164cb32f7587bbaefc117fbaa79d748816e803444b2decad6", kill_on_drop: false }` [INFO] [stdout] 70c0cbe5984544b164cb32f7587bbaefc117fbaa79d748816e803444b2decad6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e838ac72863b6f0656d58023fb5877329d9f10dc283674a36fb6d2cc3cb3464b [INFO] running `Command { std: "docker" "start" "-a" "e838ac72863b6f0656d58023fb5877329d9f10dc283674a36fb6d2cc3cb3464b", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/krator-1bac81b09c6ceb72) [INFO] [stdout] [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-a89e0e2962d38231) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test [ui] ui/state/cannot_construct_transition_next.rs ... ok [INFO] [stdout] test [ui] ui/state/require_transition_to.rs ... FAILED [INFO] [stdout] test [ui] ui/state/next_must_be_state.rs ... FAILED [INFO] [stdout] test [ui] ui/state/require_same_object_state.rs ... FAILED [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 0.59s [INFO] [stdout] [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[E0277]: the trait bound `TestState: TransitionTo<_>` is not satisfied [INFO] [stdout] --> $DIR/require_transition_to.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Transition::next(self, TestState) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `TransitionTo<_>` is not implemented for `TestState` [INFO] [stdout] | [INFO] [stdout] - = note: required by `Transition::::next` [INFO] [stdout] +note: required by `Transition::::next` [INFO] [stdout] + --> /opt/rustwide/workdir/src/state.rs:43:5 [INFO] [stdout] + | [INFO] [stdout] +43 | / pub fn next, O: State>(_i: Box, o: O) -> Transition [INFO] [stdout] +44 | | where [INFO] [stdout] +45 | | 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" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/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/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 |\n38 | Transition::next(self, TestState)\n | ^^^^^^^^^^^^^^^^ the trait `TransitionTo<_>` is not implemented for `TestState`\n |\nnote: required by `Transition::::next`\n --> /opt/rustwide/workdir/src/state.rs:43:5\n |\n43 | / pub fn next, O: State>(_i: Box, o: O) -> Transition\n44 | | where\n45 | | 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] diff of stderr: [INFO] [stdout] [INFO] [stdout] -error[E0277]: the trait bound `NotState: krator::State` is not satisfied [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] +12 | #[derive(Debug, TransitionTo)] [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] +13 | #[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:9 [INFO] [stdout] | [INFO] [stdout] 39 | Transition::next(self, NotState) [INFO] [stdout] - | ^^^^^^^^^^^^^^^^ the trait `krator::State` is not implemented for `NotState` [INFO] [stdout] + | ^^^^^^^^^^^^^^^^ the trait `TransitionTo<_>` is not implemented for `TestState` [INFO] [stdout] | [INFO] [stdout] - = note: required by `Transition::::next` [INFO] [stdout] +note: required by `Transition::::next` [INFO] [stdout] + --> /opt/rustwide/workdir/src/state.rs:43:5 [INFO] [stdout] + | [INFO] [stdout] +43 | / pub fn next, O: State>(_i: Box, o: O) -> Transition [INFO] [stdout] +44 | | where [INFO] [stdout] +45 | | I: TransitionTo, [INFO] [stdout] + | |___________________________^ [INFO] [stdout] [INFO] [stdout] -error: aborting due to previous error [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] +39 | Transition::next(self, NotState) [INFO] [stdout] + | ^^^^^^^^ the trait `krator::State` is not implemented for `NotState` [INFO] [stdout] + | [INFO] [stdout] +note: required by `Transition::::next` [INFO] [stdout] + --> /opt/rustwide/workdir/src/state.rs:43:5 [INFO] [stdout] + | [INFO] [stdout] +43 | / pub fn next, O: State>(_i: Box, o: O) -> Transition [INFO] [stdout] +44 | | where [INFO] [stdout] +45 | | I: TransitionTo, [INFO] [stdout] + | |___________________________^ [INFO] [stdout] + [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" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/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":[],"rendered":"error: cannot find derive macro `TransitionTo` in this scope\n --> tests/ui/state/next_must_be_state.rs:12:17\n |\n12 | #[derive(Debug, TransitionTo)]\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 |\n13 | #[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":1035,"byte_end":1051,"line_start":39,"line_end":39,"column_start":9,"column_end":25,"is_primary":true,"text":[{"text":" Transition::next(self, NotState)","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/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:9\n |\n39 | Transition::next(self, NotState)\n | ^^^^^^^^^^^^^^^^ the trait `TransitionTo<_>` is not implemented for `TestState`\n |\nnote: required by `Transition::::next`\n --> /opt/rustwide/workdir/src/state.rs:43:5\n |\n43 | / pub fn next, O: State>(_i: Box, o: O) -> Transition\n44 | | where\n45 | | 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}],"children":[{"message":"required by `Transition::::next`","code":null,"level":"note","spans":[{"file_name":"/opt/rustwide/workdir/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 |\n39 | Transition::next(self, NotState)\n | ^^^^^^^^ the trait `krator::State` is not implemented for `NotState`\n |\nnote: required by `Transition::::next`\n --> /opt/rustwide/workdir/src/state.rs:43:5\n |\n43 | / pub fn next, O: State>(_i: Box, o: O) -> Transition\n44 | | where\n45 | | 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 `OtherState: krator::State` is not satisfied [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] +13 | #[derive(Debug, TransitionTo)] [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] +14 | #[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:9 [INFO] [stdout] | [INFO] [stdout] 50 | Transition::next(self, OtherState) [INFO] [stdout] - | ^^^^^^^^^^^^^^^^ the trait `krator::State` is not implemented for `OtherState` [INFO] [stdout] + | ^^^^^^^^^^^^^^^^ the trait `TransitionTo<_>` is not implemented for `TestState` [INFO] [stdout] | [INFO] [stdout] +note: required by `Transition::::next` [INFO] [stdout] + --> /opt/rustwide/workdir/src/state.rs:43:5 [INFO] [stdout] + | [INFO] [stdout] +43 | / pub fn next, O: State>(_i: Box, o: O) -> Transition [INFO] [stdout] +44 | | where [INFO] [stdout] +45 | | 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] +50 | Transition::next(self, OtherState) [INFO] [stdout] + | ^^^^^^^^^^ the trait `krator::State` is not implemented for `OtherState` [INFO] [stdout] + | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] - = note: required by `Transition::::next` [INFO] [stdout] +note: required by `Transition::::next` [INFO] [stdout] + --> /opt/rustwide/workdir/src/state.rs:43:5 [INFO] [stdout] + | [INFO] [stdout] +43 | / pub fn next, O: State>(_i: Box, o: O) -> Transition [INFO] [stdout] +44 | | where [INFO] [stdout] +45 | | 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" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/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":[],"rendered":"error: cannot find derive macro `TransitionTo` in this scope\n --> tests/ui/state/require_same_object_state.rs:13:17\n |\n13 | #[derive(Debug, TransitionTo)]\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 |\n14 | #[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":1353,"byte_end":1369,"line_start":50,"line_end":50,"column_start":9,"column_end":25,"is_primary":true,"text":[{"text":" Transition::next(self, OtherState)","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/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:9\n |\n50 | Transition::next(self, OtherState)\n | ^^^^^^^^^^^^^^^^ the trait `TransitionTo<_>` is not implemented for `TestState`\n |\nnote: required by `Transition::::next`\n --> /opt/rustwide/workdir/src/state.rs:43:5\n |\n43 | / pub fn next, O: State>(_i: Box, o: O) -> Transition\n44 | | where\n45 | | 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}],"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/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 |\n50 | Transition::next(self, OtherState)\n | ^^^^^^^^^^ the trait `krator::State` is not implemented for `OtherState`\n |\n = help: the following implementations were found:\n >\nnote: required by `Transition::::next`\n --> /opt/rustwide/workdir/src/state.rs:43:5\n |\n43 | / pub fn next, O: State>(_i: Box, o: O) -> Transition\n44 | | where\n45 | | 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] thread 'compile_test' panicked at 'Some tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/compiletest_rs-0.6.0/src/lib.rs:105:22 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5630fe45dad0 - std::backtrace_rs::backtrace::libunwind::trace::ha0ad43e8a952bfe7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x5630fe45dad0 - std::backtrace_rs::backtrace::trace_unsynchronized::h6830419c0c4130dc [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5630fe45dad0 - std::sys_common::backtrace::_print_fmt::h8f3516631ffa1ef5 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5630fe45dad0 - ::fmt::he1640d5f0d93f618 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5630fe482c1c - core::fmt::write::h88012e1f01caeebf [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x5630fe459dc5 - std::io::Write::write_fmt::h7728c39ea5632753 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x5630fe46080b - std::sys_common::backtrace::_print::ha1f00492f406a015 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5630fe46080b - std::sys_common::backtrace::print::hd54561b13feb6af3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5630fe46080b - std::panicking::default_hook::{{closure}}::h84fe124cd0864662 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x5630fe46031c - std::panicking::default_hook::h5a8e74a76ce290a7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x5630fe460ed4 - std::panicking::rust_panic_with_hook::h67c812a4fe9d4c91 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x5630fe2904a3 - std::panicking::begin_panic::{{closure}}::ha4fa890cb7b8ef5c [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:542:9 [INFO] [stdout] 12: 0x5630fe277c79 - std::sys_common::backtrace::__rust_end_short_backtrace::hf1c0d54ddf2f1065 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x5630fe2903d9 - std::panicking::begin_panic::hf964e9b0c75f6fbd [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:541:12 [INFO] [stdout] 14: 0x5630fe06aabf - compiletest_rs::run_tests::hb9c40ce2e781d6e5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/compiletest_rs-0.6.0/src/lib.rs:105:22 [INFO] [stdout] 15: 0x5630fe064abb - ui::compile_test::hf514bd0aee2b1489 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:30:5 [INFO] [stdout] 16: 0x5630fe0644fa - ui::compile_test::{{closure}}::hc852f35620f1c4ee [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:21:1 [INFO] [stdout] 17: 0x5630fe064b3e - core::ops::function::FnOnce::call_once::h14bf210b988eb368 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 18: 0x5630fe43d8a3 - core::ops::function::FnOnce::call_once::h5aba9a5d361d6c79 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x5630fe43d8a3 - test::__rust_begin_short_backtrace::h705bb53b2b1d45e6 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:578:5 [INFO] [stdout] 20: 0x5630fe43c358 - as core::ops::function::FnOnce>::call_once::ha20f614d7c0b2b6d [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 21: 0x5630fe43c358 - as core::ops::function::FnOnce<()>>::call_once::hf02f19eeb64ceabd [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 22: 0x5630fe43c358 - std::panicking::try::do_call::h4bfab65eb3b4b036 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 23: 0x5630fe43c358 - std::panicking::try::h6613a46a6d2b6f88 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 24: 0x5630fe43c358 - std::panic::catch_unwind::h9f07b17b60991273 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 25: 0x5630fe43c358 - test::run_test_in_process::hc38797eecf07854f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:601:18 [INFO] [stdout] 26: 0x5630fe43c358 - test::run_test::run_test_inner::{{closure}}::hac209db8bce0fd77 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:493:39 [INFO] [stdout] 27: 0x5630fe40aaed - test::run_test::run_test_inner::{{closure}}::h4aefdd4b4a423e20 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:520:37 [INFO] [stdout] 28: 0x5630fe40aaed - std::sys_common::backtrace::__rust_begin_short_backtrace::h652c9e2663704700 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 29: 0x5630fe40f2c8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hd84fd5e0b5b1f45f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 30: 0x5630fe40f2c8 - as core::ops::function::FnOnce<()>>::call_once::he23556962a2ae14b [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 31: 0x5630fe40f2c8 - std::panicking::try::do_call::h67d4f93e1fbaa5f9 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 32: 0x5630fe40f2c8 - std::panicking::try::h396886e678db815e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 33: 0x5630fe40f2c8 - std::panic::catch_unwind::hc1d64dcecf0a00e0 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 34: 0x5630fe40f2c8 - std::thread::Builder::spawn_unchecked::{{closure}}::hc2644cf33cb61d8e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 35: 0x5630fe40f2c8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4473c2c77b66963f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 36: 0x5630fe466e67 - as core::ops::function::FnOnce>::call_once::h6bff7798948b1075 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 37: 0x5630fe466e67 - as core::ops::function::FnOnce>::call_once::hc2d25ac38f6b2342 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 38: 0x5630fe466e67 - std::sys::unix::thread::Thread::new::thread_start::hbba5bc368baac205 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys/unix/thread.rs:74:17 [INFO] [stdout] 39: 0x7f91ba2ee609 - start_thread [INFO] [stdout] 40: 0x7f91ba0c0293 - 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 0.71s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test ui' [INFO] running `Command { std: "docker" "inspect" "e838ac72863b6f0656d58023fb5877329d9f10dc283674a36fb6d2cc3cb3464b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e838ac72863b6f0656d58023fb5877329d9f10dc283674a36fb6d2cc3cb3464b", kill_on_drop: false }` [INFO] [stdout] e838ac72863b6f0656d58023fb5877329d9f10dc283674a36fb6d2cc3cb3464b