[INFO] fetching crate cbor_enhanced 0.1.1... [INFO] checking cbor_enhanced-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate cbor_enhanced 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate cbor_enhanced 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cbor_enhanced 0.1.1 [INFO] tweaked toml for crates.io crate cbor_enhanced 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cbor_enhanced 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cbor_enhanced 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22f991a2d28c8577fe5e8bba52af870f82e396ee86daaebb42ccc2eed0260de7 [INFO] running `Command { std: "docker" "start" "-a" "22f991a2d28c8577fe5e8bba52af870f82e396ee86daaebb42ccc2eed0260de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22f991a2d28c8577fe5e8bba52af870f82e396ee86daaebb42ccc2eed0260de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f991a2d28c8577fe5e8bba52af870f82e396ee86daaebb42ccc2eed0260de7", kill_on_drop: false }` [INFO] [stdout] 22f991a2d28c8577fe5e8bba52af870f82e396ee86daaebb42ccc2eed0260de7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92f676c9a35b92e10cc8f3b26229d8d1b4416bbe086d9c3e59362d28468d4feb [INFO] running `Command { std: "docker" "start" "-a" "92f676c9a35b92e10cc8f3b26229d8d1b4416bbe086d9c3e59362d28468d4feb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking tap v1.0.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking bitvec v0.19.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking cbor_enhanced v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, failure::Fail, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_CborError` [INFO] [stdout] 6 | pub enum CborError { [INFO] [stdout] | --------- `CborError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `failure::Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, failure::Fail, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_CborError` [INFO] [stdout] 6 | pub enum CborError { [INFO] [stdout] | --------- `CborError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `failure::Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `safe_transmute` [INFO] [stdout] --> tests/transmute.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use safe_transmute::PedanticGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `safe_transmute` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `safe_transmute`, use `cargo add safe_transmute` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_ref` [INFO] [stdout] --> examples/arrays.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let data_ref: &[u16] = &data; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_ref` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, failure::Fail, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_CborError` [INFO] [stdout] 6 | pub enum CborError { [INFO] [stdout] | --------- `CborError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `failure::Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, failure::Fail, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_CborError` [INFO] [stdout] 6 | pub enum CborError { [INFO] [stdout] | --------- `CborError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `failure::Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `safe_transmute` [INFO] [stdout] --> tests/transmute.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let bytes = safe_transmute::to_bytes::transmute_to_bytes(input); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `safe_transmute` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `safe_transmute`, use `cargo add safe_transmute` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `safe_transmute` [INFO] [stdout] --> tests/transmute.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { safe_transmute::trivial::transmute_trivial_many::(data) }.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `safe_transmute` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `safe_transmute`, use `cargo add safe_transmute` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `safe_transmute` [INFO] [stdout] --> tests/transmute.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | fn test_transmution( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `safe_transmute` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `safe_transmute`, use `cargo add safe_transmute` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `safe_transmute` [INFO] [stdout] --> tests/transmute.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | fn transmute(data: &[u8]) -> &[T] { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `safe_transmute` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `safe_transmute`, use `cargo add safe_transmute` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cbor_enhanced` (test "transmute") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "92f676c9a35b92e10cc8f3b26229d8d1b4416bbe086d9c3e59362d28468d4feb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92f676c9a35b92e10cc8f3b26229d8d1b4416bbe086d9c3e59362d28468d4feb", kill_on_drop: false }` [INFO] [stdout] 92f676c9a35b92e10cc8f3b26229d8d1b4416bbe086d9c3e59362d28468d4feb