[INFO] fetching crate rand-distributions 0.1.2... [INFO] checking rand-distributions-0.1.2 against master#00bfd6b2734d9c28a147bf237490995731781fdd for pr-117984 [INFO] extracting crate rand-distributions 0.1.2 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate rand-distributions 0.1.2 on toolchain 00bfd6b2734d9c28a147bf237490995731781fdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rand-distributions 0.1.2 [INFO] finished tweaking crates.io crate rand-distributions 0.1.2 [INFO] tweaked toml for crates.io crate rand-distributions 0.1.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3b5d6b86df761a4abf803d4510719d84b449db09f431e9c8b255ac5c62cfdb3 [INFO] running `Command { std: "docker" "start" "-a" "c3b5d6b86df761a4abf803d4510719d84b449db09f431e9c8b255ac5c62cfdb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3b5d6b86df761a4abf803d4510719d84b449db09f431e9c8b255ac5c62cfdb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3b5d6b86df761a4abf803d4510719d84b449db09f431e9c8b255ac5c62cfdb3", kill_on_drop: false }` [INFO] [stdout] c3b5d6b86df761a4abf803d4510719d84b449db09f431e9c8b255ac5c62cfdb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb9f18eb2fa4e9fd6b7466a7f4b895ccfc9ced102c1d4dc0c71da5770c64de34 [INFO] running `Command { std: "docker" "start" "-a" "cb9f18eb2fa4e9fd6b7466a7f4b895ccfc9ced102c1d4dc0c71da5770c64de34", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rand-distributions v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `random_simple_to_default_distribution` [INFO] [stdout] --> src/random.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | macro_rules! random_simple_to_default_distribution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/random.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | use rand::{self, thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/impls.rs:165:27 [INFO] [stdout] | [INFO] [stdout] 165 | use rand::{self, Rng, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/rng_ext.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | use rand::{self, thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/uniform.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | use rand::{self, thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/uniform_range.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | use rand::{self, thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `PrimitiveInteger::Unsigned` is more private than the item `UniformPrimitiveIntegerRange` [INFO] [stdout] --> src/uniform_range.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl UniformPrimitiveIntegerRange [INFO] [stdout] 25 | | where Wrapping: Sub> [INFO] [stdout] | |____________________________________________________________________^ implementation `UniformPrimitiveIntegerRange` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but associated type `PrimitiveInteger::Unsigned` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/uniform_range.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | type Unsigned : PrimitiveInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PrimitiveInteger` is more private than the item `UniformPrimitiveIntegerRange` [INFO] [stdout] --> src/uniform_range.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl UniformPrimitiveIntegerRange [INFO] [stdout] 25 | | where Wrapping: Sub> [INFO] [stdout] | |____________________________________________________________________^ implementation `UniformPrimitiveIntegerRange` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `PrimitiveInteger` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/uniform_range.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | trait PrimitiveInteger: PrimInt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `PrimitiveInteger::Unsigned` is more private than the item `uniform_range::UniformPrimitiveIntegerRange` [INFO] [stdout] --> src/uniform_range.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl UniformPrimitiveIntegerRange [INFO] [stdout] 25 | | where Wrapping: Sub> [INFO] [stdout] | |____________________________________________________________________^ implementation `uniform_range::UniformPrimitiveIntegerRange` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but associated type `PrimitiveInteger::Unsigned` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/uniform_range.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | type Unsigned : PrimitiveInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PrimitiveInteger` is more private than the item `uniform_range::UniformPrimitiveIntegerRange` [INFO] [stdout] --> src/uniform_range.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl UniformPrimitiveIntegerRange [INFO] [stdout] 25 | | where Wrapping: Sub> [INFO] [stdout] | |____________________________________________________________________^ implementation `uniform_range::UniformPrimitiveIntegerRange` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `PrimitiveInteger` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/uniform_range.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | trait PrimitiveInteger: PrimInt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | fn test(&self, Args) -> bool { [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Args` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | ::std::mem::size_of::<(A)>() == 8 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - ::std::mem::size_of::<(A)>() == 8 [INFO] [stdout] 16 + ::std::mem::size_of::() == 8 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | fn test(&self, Args) -> bool { [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Args` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | ::std::mem::size_of::<(A)>() == 8 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - ::std::mem::size_of::<(A)>() == 8 [INFO] [stdout] 16 + ::std::mem::size_of::() == 8 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.63s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [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" "cb9f18eb2fa4e9fd6b7466a7f4b895ccfc9ced102c1d4dc0c71da5770c64de34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb9f18eb2fa4e9fd6b7466a7f4b895ccfc9ced102c1d4dc0c71da5770c64de34", kill_on_drop: false }` [INFO] [stdout] cb9f18eb2fa4e9fd6b7466a7f4b895ccfc9ced102c1d4dc0c71da5770c64de34 [INFO] checking rand-distributions-0.1.2 against try#aa7c6ba69acce8b10a275eabfe6157ea72c8b599 for pr-117984 [INFO] extracting crate rand-distributions 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate rand-distributions 0.1.2 on toolchain aa7c6ba69acce8b10a275eabfe6157ea72c8b599 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rand-distributions 0.1.2 [INFO] finished tweaking crates.io crate rand-distributions 0.1.2 [INFO] tweaked toml for crates.io crate rand-distributions 0.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eff566a53279085810f5c3b94e269cbebd7b9ea63c2a691d8b4d9f4cfce13419 [INFO] running `Command { std: "docker" "start" "-a" "eff566a53279085810f5c3b94e269cbebd7b9ea63c2a691d8b4d9f4cfce13419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eff566a53279085810f5c3b94e269cbebd7b9ea63c2a691d8b4d9f4cfce13419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eff566a53279085810f5c3b94e269cbebd7b9ea63c2a691d8b4d9f4cfce13419", kill_on_drop: false }` [INFO] [stdout] eff566a53279085810f5c3b94e269cbebd7b9ea63c2a691d8b4d9f4cfce13419 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbfab50e26791ae48eb1b5501473dfb4785b704e2c971aed8784da57640f3299 [INFO] running `Command { std: "docker" "start" "-a" "dbfab50e26791ae48eb1b5501473dfb4785b704e2c971aed8784da57640f3299", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/aa7c6ba69acce8b10a275eabfe6157ea72c8b599/library/alloc/src/borrow.rs:180:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "dbfab50e26791ae48eb1b5501473dfb4785b704e2c971aed8784da57640f3299", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbfab50e26791ae48eb1b5501473dfb4785b704e2c971aed8784da57640f3299", kill_on_drop: false }` [INFO] [stdout] dbfab50e26791ae48eb1b5501473dfb4785b704e2c971aed8784da57640f3299