[INFO] cloning repository https://github.com/stillinbeta/termiontelnet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stillinbeta/termiontelnet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstillinbeta%2Ftermiontelnet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstillinbeta%2Ftermiontelnet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5abf39f520080f8c44bfc8e7f882f30c1d55e5f2 [INFO] checking stillinbeta/termiontelnet against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstillinbeta%2Ftermiontelnet" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stillinbeta/termiontelnet on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stillinbeta/termiontelnet [INFO] finished tweaking git repo https://github.com/stillinbeta/termiontelnet [INFO] tweaked toml for git repo https://github.com/stillinbeta/termiontelnet written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/stillinbeta/termiontelnet 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/stillinbeta/termion.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-mockstream v1.1.0 [INFO] [stderr] Downloaded futures v0.1.26 [INFO] [stderr] Downloaded syn v0.15.32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71b35b96c3902d5276dbaf0f070f97dadc9c05c884ee862660e4b8bb4598b926 [INFO] running `Command { std: "docker" "start" "-a" "71b35b96c3902d5276dbaf0f070f97dadc9c05c884ee862660e4b8bb4598b926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71b35b96c3902d5276dbaf0f070f97dadc9c05c884ee862660e4b8bb4598b926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71b35b96c3902d5276dbaf0f070f97dadc9c05c884ee862660e4b8bb4598b926", kill_on_drop: false }` [INFO] [stdout] 71b35b96c3902d5276dbaf0f070f97dadc9c05c884ee862660e4b8bb4598b926 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 224536d74eb592fa5fde3ed74ffdda4ad20a7be3c9f57b90ee7ef9bb56f603ce [INFO] running `Command { std: "docker" "start" "-a" "224536d74eb592fa5fde3ed74ffdda4ad20a7be3c9f57b90ee7ef9bb56f603ce", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking futures v0.1.26 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Compiling syn v0.15.32 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Checking tokio-trace-core v0.1.0 [INFO] [stderr] Checking termion v1.5.1 (https://github.com/stillinbeta/termion.git?rev=c13e858d3f4a1eef1317f10c8ed0237c61f38018#c13e858d) [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-executor v0.1.7 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tokio-sync v0.1.4 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.10 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking tokio-threadpool v0.1.13 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-mockstream v1.1.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio v0.1.18 [INFO] [stderr] Checking termiontelnet v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.67s [INFO] running `Command { std: "docker" "inspect" "224536d74eb592fa5fde3ed74ffdda4ad20a7be3c9f57b90ee7ef9bb56f603ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "224536d74eb592fa5fde3ed74ffdda4ad20a7be3c9f57b90ee7ef9bb56f603ce", kill_on_drop: false }` [INFO] [stdout] 224536d74eb592fa5fde3ed74ffdda4ad20a7be3c9f57b90ee7ef9bb56f603ce [INFO] checking stillinbeta/termiontelnet against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstillinbeta%2Ftermiontelnet" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stillinbeta/termiontelnet on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stillinbeta/termiontelnet [INFO] finished tweaking git repo https://github.com/stillinbeta/termiontelnet [INFO] tweaked toml for git repo https://github.com/stillinbeta/termiontelnet written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/stillinbeta/termiontelnet 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88348adfb0fa5cecf5d31d6dd9e574646718e9cc2e0529e09caf42e07d3b5107 [INFO] running `Command { std: "docker" "start" "-a" "88348adfb0fa5cecf5d31d6dd9e574646718e9cc2e0529e09caf42e07d3b5107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88348adfb0fa5cecf5d31d6dd9e574646718e9cc2e0529e09caf42e07d3b5107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88348adfb0fa5cecf5d31d6dd9e574646718e9cc2e0529e09caf42e07d3b5107", kill_on_drop: false }` [INFO] [stdout] 88348adfb0fa5cecf5d31d6dd9e574646718e9cc2e0529e09caf42e07d3b5107 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0878eefb7a374102957c170be8a696ce6ddd82ca0a557e07bcf704ca43f23565 [INFO] running `Command { std: "docker" "start" "-a" "0878eefb7a374102957c170be8a696ce6ddd82ca0a557e07bcf704ca43f23565", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking futures v0.1.26 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Compiling syn v0.15.32 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Checking tokio-trace-core v0.1.0 [INFO] [stderr] Checking termion v1.5.1 (https://github.com/stillinbeta/termion.git?rev=c13e858d3f4a1eef1317f10c8ed0237c61f38018#c13e858d) [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-executor v0.1.7 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tokio-sync v0.1.4 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.10 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking tokio-threadpool v0.1.13 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-mockstream v1.1.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio v0.1.18 [INFO] [stderr] Checking termiontelnet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, PartialEq, Clone, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FROMPRIMITIVE_FOR_TELNETOPTION` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `termiontelnet` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, PartialEq, Clone, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FROMPRIMITIVE_FOR_TELNETOPTION` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `termiontelnet` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "0878eefb7a374102957c170be8a696ce6ddd82ca0a557e07bcf704ca43f23565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0878eefb7a374102957c170be8a696ce6ddd82ca0a557e07bcf704ca43f23565", kill_on_drop: false }` [INFO] [stdout] 0878eefb7a374102957c170be8a696ce6ddd82ca0a557e07bcf704ca43f23565