[INFO] fetching crate cbor_enhanced 0.1.1... [INFO] testing cbor_enhanced-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cbor_enhanced 0.1.1 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cbor_enhanced 0.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded radium v0.5.3 [INFO] [stderr] Downloaded cbor_enhanced_derive_protocol v0.1.0 [INFO] [stderr] Downloaded safe-transmute v0.11.0 [INFO] [stderr] Downloaded quote v1.0.8 [INFO] [stderr] Downloaded bytes v1.0.0 [INFO] [stderr] Downloaded addr2line v0.14.0 [INFO] [stderr] Downloaded miniz_oxide v0.4.3 [INFO] [stderr] Downloaded num-bigint v0.3.1 [INFO] [stderr] Downloaded backtrace v0.3.55 [INFO] [stderr] Downloaded nom v6.0.1 [INFO] [stderr] Downloaded bitvec v0.19.4 [INFO] [stderr] Downloaded half v1.6.0 [INFO] [stderr] Downloaded object v0.22.0 [INFO] [stderr] Downloaded syn v1.0.55 [INFO] [stderr] Downloaded tap v1.0.0 [INFO] [stderr] Downloaded libc v0.2.81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d35c068cab08f9baff907e8607da1163136e12725f8456bf2824af69b477eff5 [INFO] running `Command { std: "docker" "start" "-a" "d35c068cab08f9baff907e8607da1163136e12725f8456bf2824af69b477eff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d35c068cab08f9baff907e8607da1163136e12725f8456bf2824af69b477eff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d35c068cab08f9baff907e8607da1163136e12725f8456bf2824af69b477eff5", kill_on_drop: false }` [INFO] [stdout] d35c068cab08f9baff907e8607da1163136e12725f8456bf2824af69b477eff5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4783644cbef51ded30f00d4ea1c3dac38ec71b777ac84eefd57643b052bad56e [INFO] running `Command { std: "docker" "start" "-a" "4783644cbef51ded30f00d4ea1c3dac38ec71b777ac84eefd57643b052bad56e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.0 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling bytes v1.0.0 [INFO] [stderr] Compiling bitvec v0.19.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4783644cbef51ded30f00d4ea1c3dac38ec71b777ac84eefd57643b052bad56e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4783644cbef51ded30f00d4ea1c3dac38ec71b777ac84eefd57643b052bad56e", kill_on_drop: false }` [INFO] [stdout] 4783644cbef51ded30f00d4ea1c3dac38ec71b777ac84eefd57643b052bad56e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8866aef9465249a35040b2aa974784b045155f019da80afa105dff5ba0d2a74a [INFO] running `Command { std: "docker" "start" "-a" "8866aef9465249a35040b2aa974784b045155f019da80afa105dff5ba0d2a74a", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [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] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling cbor_enhanced v0.1.1 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) on by default [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] [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] running `Command { std: "docker" "inspect" "8866aef9465249a35040b2aa974784b045155f019da80afa105dff5ba0d2a74a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8866aef9465249a35040b2aa974784b045155f019da80afa105dff5ba0d2a74a", kill_on_drop: false }` [INFO] [stdout] 8866aef9465249a35040b2aa974784b045155f019da80afa105dff5ba0d2a74a