[INFO] fetching crate epaste 2.0.0... [INFO] testing epaste-2.0.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate epaste 2.0.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate epaste 2.0.0 [INFO] finished tweaking crates.io crate epaste 2.0.0 [INFO] tweaked toml for crates.io crate epaste 2.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate epaste 2.0.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding assert_cmd v0.6.0 (available: v2.0.17) [INFO] [stderr] Adding base64 v0.9.3 (available: v0.22.1) [INFO] [stderr] Adding quickcheck v0.7.2 (available: v1.0.3) [INFO] [stderr] Adding rand v0.5.6 (available: v0.9.2) [INFO] [stderr] Adding size v0.1.2 (available: v0.5.0) [INFO] [stderr] Adding sodiumoxide v0.0.16 (available: v0.2.7) [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded size v0.1.2 [INFO] [stderr] Downloaded quickcheck v0.7.2 [INFO] [stderr] Downloaded escargot v0.2.0 [INFO] [stderr] Downloaded float-cmp v0.4.0 [INFO] [stderr] Downloaded assert_cmd v0.6.0 [INFO] [stderr] Downloaded predicates v0.5.2 [INFO] [stderr] Downloaded libsodium-sys v0.0.16 [INFO] [stderr] Downloaded sodiumoxide v0.0.16 [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] 002375e2f928b70405d2bec65d05614a545fdafd7d85afd26565eb9f0d327d7c [INFO] running `Command { std: "docker" "start" "-a" "002375e2f928b70405d2bec65d05614a545fdafd7d85afd26565eb9f0d327d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "002375e2f928b70405d2bec65d05614a545fdafd7d85afd26565eb9f0d327d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "002375e2f928b70405d2bec65d05614a545fdafd7d85afd26565eb9f0d327d7c", kill_on_drop: false }` [INFO] [stdout] 002375e2f928b70405d2bec65d05614a545fdafd7d85afd26565eb9f0d327d7c [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] d9777ac61a30084968a68e12028c9cf3868cebe400427b8fba27ded9a48b13ed [INFO] running `Command { std: "docker" "start" "-a" "d9777ac61a30084968a68e12028c9cf3868cebe400427b8fba27ded9a48b13ed", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling libsodium-sys v0.0.16 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling size v0.1.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling sodiumoxide v0.0.16 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling epaste v2.0.0 (/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/main.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrNoSection` [INFO] [stdout] 121 | #[fail(display = "There are no sections.")] [INFO] [stdout] 122 | struct ErrNoSection; [INFO] [stdout] | ------------ `ErrNoSection` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/main.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Fail)] [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_ErrNoSection` [INFO] [stdout] 121 | #[fail(display = "There are no sections.")] [INFO] [stdout] 122 | struct ErrNoSection; [INFO] [stdout] | ------------ `ErrNoSection` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/crypto.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Fail, Eq, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrCrypto` [INFO] [stdout] 32 | pub enum ErrCrypto { [INFO] [stdout] | --------- `ErrCrypto` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/crypto.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Fail, Eq, PartialEq)] [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_ErrCrypto` [INFO] [stdout] 32 | pub enum ErrCrypto { [INFO] [stdout] | --------- `ErrCrypto` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/crypto.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | drop(derive_key(&mut key.0, [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________| [INFO] [stdout] 114 | || passwd, [INFO] [stdout] 115 | || salt, [INFO] [stdout] 116 | || OPSLIMIT_INTERACTIVE, [INFO] [stdout] 117 | || MEMLIMIT_INTERACTIVE) [INFO] [stdout] 118 | || .expect("Failed to derive key.")); [INFO] [stdout] | ||____________________________________________-^ [INFO] [stdout] | |_____________________________________________| [INFO] [stdout] | argument has type `&[u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 113 ~ let _ = derive_key(&mut key.0, [INFO] [stdout] 114 | passwd, [INFO] [stdout] ... [INFO] [stdout] 117 | MEMLIMIT_INTERACTIVE) [INFO] [stdout] 118 ~ .expect("Failed to derive key."); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.96s [INFO] running `Command { std: "docker" "inspect" "d9777ac61a30084968a68e12028c9cf3868cebe400427b8fba27ded9a48b13ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9777ac61a30084968a68e12028c9cf3868cebe400427b8fba27ded9a48b13ed", kill_on_drop: false }` [INFO] [stdout] d9777ac61a30084968a68e12028c9cf3868cebe400427b8fba27ded9a48b13ed [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] 7bfe48f22bcc232263fad9915473cf96fa9a4824852dfc3aff26abb3a5bc9fd6 [INFO] running `Command { std: "docker" "start" "-a" "7bfe48f22bcc232263fad9915473cf96fa9a4824852dfc3aff26abb3a5bc9fd6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling escargot v0.2.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling float-cmp v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrNoSection` [INFO] [stdout] 121 | #[fail(display = "There are no sections.")] [INFO] [stdout] 122 | struct ErrNoSection; [INFO] [stdout] | ------------ `ErrNoSection` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/main.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Fail)] [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_ErrNoSection` [INFO] [stdout] 121 | #[fail(display = "There are no sections.")] [INFO] [stdout] 122 | struct ErrNoSection; [INFO] [stdout] | ------------ `ErrNoSection` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/crypto.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Fail, Eq, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrCrypto` [INFO] [stdout] 32 | pub enum ErrCrypto { [INFO] [stdout] | --------- `ErrCrypto` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/crypto.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Fail, Eq, PartialEq)] [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_ErrCrypto` [INFO] [stdout] 32 | pub enum ErrCrypto { [INFO] [stdout] | --------- `ErrCrypto` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/crypto.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | drop(derive_key(&mut key.0, [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________| [INFO] [stdout] 114 | || passwd, [INFO] [stdout] 115 | || salt, [INFO] [stdout] 116 | || OPSLIMIT_INTERACTIVE, [INFO] [stdout] 117 | || MEMLIMIT_INTERACTIVE) [INFO] [stdout] 118 | || .expect("Failed to derive key.")); [INFO] [stdout] | ||____________________________________________-^ [INFO] [stdout] | |_____________________________________________| [INFO] [stdout] | argument has type `&[u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 113 ~ let _ = derive_key(&mut key.0, [INFO] [stdout] 114 | passwd, [INFO] [stdout] ... [INFO] [stdout] 117 | MEMLIMIT_INTERACTIVE) [INFO] [stdout] 118 ~ .expect("Failed to derive key."); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling predicates v0.5.2 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling quickcheck v0.7.2 [INFO] [stderr] Compiling assert_cmd v0.6.0 [INFO] [stderr] Compiling epaste v2.0.0 (/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/main.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrNoSection` [INFO] [stdout] 121 | #[fail(display = "There are no sections.")] [INFO] [stdout] 122 | struct ErrNoSection; [INFO] [stdout] | ------------ `ErrNoSection` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/main.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Fail)] [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_ErrNoSection` [INFO] [stdout] 121 | #[fail(display = "There are no sections.")] [INFO] [stdout] 122 | struct ErrNoSection; [INFO] [stdout] | ------------ `ErrNoSection` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/crypto.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Fail, Eq, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrCrypto` [INFO] [stdout] 32 | pub enum ErrCrypto { [INFO] [stdout] | --------- `ErrCrypto` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/crypto.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Fail, Eq, PartialEq)] [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_ErrCrypto` [INFO] [stdout] 32 | pub enum ErrCrypto { [INFO] [stdout] | --------- `ErrCrypto` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/crypto.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | drop(derive_key(&mut key.0, [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________| [INFO] [stdout] 114 | || passwd, [INFO] [stdout] 115 | || salt, [INFO] [stdout] 116 | || OPSLIMIT_INTERACTIVE, [INFO] [stdout] 117 | || MEMLIMIT_INTERACTIVE) [INFO] [stdout] 118 | || .expect("Failed to derive key.")); [INFO] [stdout] | ||____________________________________________-^ [INFO] [stdout] | |_____________________________________________| [INFO] [stdout] | argument has type `&[u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 113 ~ let _ = derive_key(&mut key.0, [INFO] [stdout] 114 | passwd, [INFO] [stdout] ... [INFO] [stdout] 117 | MEMLIMIT_INTERACTIVE) [INFO] [stdout] 118 ~ .expect("Failed to derive key."); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.52s [INFO] running `Command { std: "docker" "inspect" "7bfe48f22bcc232263fad9915473cf96fa9a4824852dfc3aff26abb3a5bc9fd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bfe48f22bcc232263fad9915473cf96fa9a4824852dfc3aff26abb3a5bc9fd6", kill_on_drop: false }` [INFO] [stdout] 7bfe48f22bcc232263fad9915473cf96fa9a4824852dfc3aff26abb3a5bc9fd6 [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", kill_on_drop: false }` [INFO] [stdout] 5b891c68601ab38d04ac6753f476d4077d4fd29148cbe5fc60e8c32ca8a42727 [INFO] running `Command { std: "docker" "start" "-a" "5b891c68601ab38d04ac6753f476d4077d4fd29148cbe5fc60e8c32ca8a42727", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:120:17 [INFO] [stderr] | [INFO] [stderr] 120 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrNoSection` [INFO] [stderr] 121 | #[fail(display = "There are no sections.")] [INFO] [stderr] 122 | struct ErrNoSection; [INFO] [stderr] | ------------ `ErrNoSection` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:120:17 [INFO] [stderr] | [INFO] [stderr] 120 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrNoSection` [INFO] [stderr] 121 | #[fail(display = "There are no sections.")] [INFO] [stderr] 122 | struct ErrNoSection; [INFO] [stderr] | ------------ `ErrNoSection` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/crypto.rs:31:17 [INFO] [stderr] | [INFO] [stderr] 31 | #[derive(Debug, Fail, Eq, PartialEq)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrCrypto` [INFO] [stderr] 32 | pub enum ErrCrypto { [INFO] [stderr] | --------- `ErrCrypto` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/crypto.rs:31:17 [INFO] [stderr] | [INFO] [stderr] 31 | #[derive(Debug, Fail, Eq, PartialEq)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrCrypto` [INFO] [stderr] 32 | pub enum ErrCrypto { [INFO] [stderr] | --------- `ErrCrypto` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/crypto.rs:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | drop(derive_key(&mut key.0, [INFO] [stderr] | _____^ - [INFO] [stderr] | |__________| [INFO] [stderr] 114 | || passwd, [INFO] [stderr] 115 | || salt, [INFO] [stderr] 116 | || OPSLIMIT_INTERACTIVE, [INFO] [stderr] 117 | || MEMLIMIT_INTERACTIVE) [INFO] [stderr] 118 | || .expect("Failed to derive key.")); [INFO] [stderr] | ||____________________________________________-^ [INFO] [stderr] | |_____________________________________________| [INFO] [stderr] | argument has type `&[u8]` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 113 ~ let _ = derive_key(&mut key.0, [INFO] [stderr] 114 | passwd, [INFO] [stderr] ... [INFO] [stderr] 117 | MEMLIMIT_INTERACTIVE) [INFO] [stderr] 118 ~ .expect("Failed to derive key."); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `epaste` (bin "epaste") generated 5 warnings [INFO] [stderr] warning: `epaste` (bin "epaste" test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/epaste-ce32df8708f58ea1) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test base64::test::base64_decode_random ... ok [INFO] [stdout] test base64::test::base64_encode_random ... ok [INFO] [stdout] test crypto::test::decrypt_random_fail ... ok [INFO] [stdout] test crypto::test::decrypt_random ... ok [INFO] [stdout] test crypto::test::get_key_qc ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.67s [INFO] [stdout] [INFO] [stderr] Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-e48e8dbb46eb41fb) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test decrypt_old ... ok [INFO] [stdout] test encrypt_decrypt_random_large ... ok [INFO] [stdout] test encrypt_decrypt_random ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 23.22s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5b891c68601ab38d04ac6753f476d4077d4fd29148cbe5fc60e8c32ca8a42727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b891c68601ab38d04ac6753f476d4077d4fd29148cbe5fc60e8c32ca8a42727", kill_on_drop: false }` [INFO] [stdout] 5b891c68601ab38d04ac6753f476d4077d4fd29148cbe5fc60e8c32ca8a42727