[INFO] cloning repository https://github.com/CharlesHD/linkstream [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CharlesHD/linkstream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharlesHD%2Flinkstream", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharlesHD%2Flinkstream'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d50ba939266f794ae7f5d57d7c523b64454fa432 [INFO] checking CharlesHD/linkstream against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharlesHD%2Flinkstream" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CharlesHD/linkstream on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CharlesHD/linkstream [INFO] finished tweaking git repo https://github.com/CharlesHD/linkstream [INFO] tweaked toml for git repo https://github.com/CharlesHD/linkstream written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/CharlesHD/linkstream already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-2/source/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/workspace/builds/worker-2/source/src/main.rs` was erroneously implicitly accepted for binary `linkstream`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-2/source/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/workspace/builds/worker-2/source/src/main.rs` was erroneously implicitly accepted for binary `linkstream`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83a7c59601e1591f2e7480e9e68133270cd0965a1d8db2e0fd9ba3be6d43b444 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "83a7c59601e1591f2e7480e9e68133270cd0965a1d8db2e0fd9ba3be6d43b444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83a7c59601e1591f2e7480e9e68133270cd0965a1d8db2e0fd9ba3be6d43b444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83a7c59601e1591f2e7480e9e68133270cd0965a1d8db2e0fd9ba3be6d43b444", kill_on_drop: false }` [INFO] [stdout] 83a7c59601e1591f2e7480e9e68133270cd0965a1d8db2e0fd9ba3be6d43b444 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d4e38a2b1e76f81e2a46f075843eda17368024ec92efd60d47b9bc13acfe75c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1d4e38a2b1e76f81e2a46f075843eda17368024ec92efd60d47b9bc13acfe75c", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `linkstream`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking strsim v0.9.3 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Checking linkstreams v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/filtre.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | pub type NodeFilter = Fn(Node) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Node) -> bool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/filtre.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub type TimeFilter = Fn(Time) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Time) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/filtre.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub type LinkFilter = Fn(Link) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Link) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/iterators/link_iterator.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | pub type LinkIterator = Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data::rand::Rng` [INFO] [stdout] --> src/data/iterators/uniform_link_generator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use data::rand::Rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/filtre.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | pub type NodeFilter = Fn(Node) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Node) -> bool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/filtre.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub type TimeFilter = Fn(Time) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Time) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/filtre.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub type LinkFilter = Fn(Link) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Link) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/iterators/link_iterator.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | pub type LinkIterator = Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data::rand::Rng` [INFO] [stdout] --> src/data/iterators/uniform_link_generator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use data::rand::Rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next_f64` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/data/iterators/uniform_link_generator.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | if thread_rng().next_f64() <= self.proba { [INFO] [stdout] | ^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next_f64` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/data/iterators/uniform_link_generator.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | if thread_rng().next_f64() <= self.proba { [INFO] [stdout] | ^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linkstreams` [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1d4e38a2b1e76f81e2a46f075843eda17368024ec92efd60d47b9bc13acfe75c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d4e38a2b1e76f81e2a46f075843eda17368024ec92efd60d47b9bc13acfe75c", kill_on_drop: false }` [INFO] [stdout] 1d4e38a2b1e76f81e2a46f075843eda17368024ec92efd60d47b9bc13acfe75c