[INFO] fetching crate permoot 0.2.1... [INFO] testing permoot-0.2.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate permoot 0.2.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate permoot 0.2.1 [INFO] finished tweaking crates.io crate permoot 0.2.1 [INFO] tweaked toml for crates.io crate permoot 0.2.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate permoot 0.2.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] 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 13 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_chacha v0.3.1 (available: v0.9.0) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4b97bf33ddf7c13aa54e61fe2c9a37c53f9786a9972f6d236d02d18553ee7096 [INFO] running `Command { std: "docker" "start" "-a" "4b97bf33ddf7c13aa54e61fe2c9a37c53f9786a9972f6d236d02d18553ee7096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b97bf33ddf7c13aa54e61fe2c9a37c53f9786a9972f6d236d02d18553ee7096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b97bf33ddf7c13aa54e61fe2c9a37c53f9786a9972f6d236d02d18553ee7096", kill_on_drop: false }` [INFO] [stdout] 4b97bf33ddf7c13aa54e61fe2c9a37c53f9786a9972f6d236d02d18553ee7096 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] fb00b19caf4cf300f1d388aaee38549b876ab608ae031833aff675a76ecec24b [INFO] running `Command { std: "docker" "start" "-a" "fb00b19caf4cf300f1d388aaee38549b876ab608ae031833aff675a76ecec24b", kill_on_drop: false }` [INFO] [stderr] Compiling permoot v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_channel` [INFO] [stdout] --> src/lib.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(all(doc, rustc_channel = "nightly"), feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_channel, values("nightly"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_channel, values(\"nightly\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn cycle_iter(sl: &[usize]) -> CycleIter { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn cycle_iter(sl: &[usize]) -> CycleIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "fb00b19caf4cf300f1d388aaee38549b876ab608ae031833aff675a76ecec24b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb00b19caf4cf300f1d388aaee38549b876ab608ae031833aff675a76ecec24b", kill_on_drop: false }` [INFO] [stdout] fb00b19caf4cf300f1d388aaee38549b876ab608ae031833aff675a76ecec24b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 74d0cbe571d8373a899cbc19c86c9ac47b863db449cdfc867b189c1b33fa9f90 [INFO] running `Command { std: "docker" "start" "-a" "74d0cbe571d8373a899cbc19c86c9ac47b863db449cdfc867b189c1b33fa9f90", kill_on_drop: false }` [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_channel` [INFO] [stdout] --> src/lib.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(all(doc, rustc_channel = "nightly"), feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_channel, values("nightly"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_channel, values(\"nightly\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn cycle_iter(sl: &[usize]) -> CycleIter { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn cycle_iter(sl: &[usize]) -> CycleIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling permoot v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/util.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/util.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | let mut seeds = vec![0; n_seeds]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_channel` [INFO] [stdout] --> src/lib.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(all(doc, rustc_channel = "nightly"), feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_channel, values("nightly"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_channel, values(\"nightly\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `seed_from_u64` found for struct `ChaCha8Rng` in the current scope [INFO] [stdout] --> src/util.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | let mut seed_rng = ChaCha8Rng::seed_from_u64(0xC418); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `ChaCha8Rng` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SeedableRng` which provides `seed_from_u64` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand_chacha::rand_core::SeedableRng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `seed_from_u64` found for struct `ChaCha8Rng` in the current scope [INFO] [stdout] --> src/util.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | let mut rng = ChaCha8Rng::seed_from_u64(seed); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `ChaCha8Rng` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SeedableRng` which provides `seed_from_u64` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand_chacha::rand_core::SeedableRng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `permoot` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "74d0cbe571d8373a899cbc19c86c9ac47b863db449cdfc867b189c1b33fa9f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74d0cbe571d8373a899cbc19c86c9ac47b863db449cdfc867b189c1b33fa9f90", kill_on_drop: false }` [INFO] [stdout] 74d0cbe571d8373a899cbc19c86c9ac47b863db449cdfc867b189c1b33fa9f90