[INFO] cloning repository https://github.com/varesa/BGtraP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/varesa/BGtraP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaresa%2FBGtraP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaresa%2FBGtraP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d674b6489c71a04c40d9b3d9183c53ffa481299d [INFO] testing varesa/BGtraP against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaresa%2FBGtraP" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/varesa/BGtraP [INFO] finished tweaking git repo https://github.com/varesa/BGtraP [INFO] tweaked toml for git repo https://github.com/varesa/BGtraP written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/varesa/BGtraP 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 git repo https://github.com/varesa/BGtraP 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] Downloading crates ... [INFO] [stderr] Downloaded tokio v1.3.0 [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] 722a2381c125f262c0b29bb3ab0105d2c40af6174b4e6f6f390dadd8f3e35005 [INFO] running `Command { std: "docker" "start" "-a" "722a2381c125f262c0b29bb3ab0105d2c40af6174b4e6f6f390dadd8f3e35005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "722a2381c125f262c0b29bb3ab0105d2c40af6174b4e6f6f390dadd8f3e35005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "722a2381c125f262c0b29bb3ab0105d2c40af6174b4e6f6f390dadd8f3e35005", kill_on_drop: false }` [INFO] [stdout] 722a2381c125f262c0b29bb3ab0105d2c40af6174b4e6f6f390dadd8f3e35005 [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] 5d3b08780348fd5140ecc46d124d23c1494b1096e0ba1e00964f02eee9b58f45 [INFO] running `Command { std: "docker" "start" "-a" "5d3b08780348fd5140ecc46d124d23c1494b1096e0ba1e00964f02eee9b58f45", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling bgtrap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `opt_params` is never read [INFO] [stdout] --> src/bgp/open.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BGPOpen { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub opt_params: () [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BGPOpen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error_code`, `error_subcode`, and `data` are never read [INFO] [stdout] --> src/bgp/notification.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct BGPNotification { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 3 | error_code: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | error_subcode: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BGPNotification` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/bgp/utils/path_attribute.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(FromPrimitive, ToPrimitive, Debug, PartialEq, Clone, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AttributeFlag` [INFO] [stdout] 41 | pub enum AttributeFlag { [INFO] [stdout] | ------------- `AttributeFlag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/bgp/utils/path_attribute.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(FromPrimitive, ToPrimitive, Debug, PartialEq, Clone, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AttributeFlag` [INFO] [stdout] 41 | pub enum AttributeFlag { [INFO] [stdout] | ------------- `AttributeFlag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bgp/utils/path_attribute.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | panic!(format!("Bad attribute flags: {}", flags_bitfield)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 80 - panic!(format!("Bad attribute flags: {}", flags_bitfield)); [INFO] [stdout] 80 + panic!("Bad attribute flags: {}", flags_bitfield); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.53s [INFO] running `Command { std: "docker" "inspect" "5d3b08780348fd5140ecc46d124d23c1494b1096e0ba1e00964f02eee9b58f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d3b08780348fd5140ecc46d124d23c1494b1096e0ba1e00964f02eee9b58f45", kill_on_drop: false }` [INFO] [stdout] 5d3b08780348fd5140ecc46d124d23c1494b1096e0ba1e00964f02eee9b58f45 [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] a7f0d6d073db4d2f955b6528ccfd11d00dd2daac748deb45eff4f493dfc912d9 [INFO] running `Command { std: "docker" "start" "-a" "a7f0d6d073db4d2f955b6528ccfd11d00dd2daac748deb45eff4f493dfc912d9", kill_on_drop: false }` [INFO] [stderr] error: failed to download `thiserror v1.0.24` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] unable to get packages from source [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to unpack package `thiserror v1.0.24` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to create directory `/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/thiserror-1.0.24` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] Read-only file system (os error 30) [INFO] running `Command { std: "docker" "inspect" "a7f0d6d073db4d2f955b6528ccfd11d00dd2daac748deb45eff4f493dfc912d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7f0d6d073db4d2f955b6528ccfd11d00dd2daac748deb45eff4f493dfc912d9", kill_on_drop: false }` [INFO] [stdout] a7f0d6d073db4d2f955b6528ccfd11d00dd2daac748deb45eff4f493dfc912d9