[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] testing stillinbeta/termiontelnet against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstillinbeta%2Ftermiontelnet" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stillinbeta/termiontelnet on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c47be052e8ba6f1aa1d6ba161985002a3675d3f88159c38fe33d372aec2a4ac4 [INFO] running `Command { std: "docker" "start" "-a" "c47be052e8ba6f1aa1d6ba161985002a3675d3f88159c38fe33d372aec2a4ac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c47be052e8ba6f1aa1d6ba161985002a3675d3f88159c38fe33d372aec2a4ac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c47be052e8ba6f1aa1d6ba161985002a3675d3f88159c38fe33d372aec2a4ac4", kill_on_drop: false }` [INFO] [stdout] c47be052e8ba6f1aa1d6ba161985002a3675d3f88159c38fe33d372aec2a4ac4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0beac5d4289e4d66b34773126fad27305c83a89091323a0bea1b2a2bd3c7fd32 [INFO] running `Command { std: "docker" "start" "-a" "0beac5d4289e4d66b34773126fad27305c83a89091323a0bea1b2a2bd3c7fd32", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling futures v0.1.26 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [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] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [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] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling termion v1.5.1 (https://github.com/stillinbeta/termion.git?rev=c13e858d3f4a1eef1317f10c8ed0237c61f38018#c13e858d) [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-sync v0.1.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.13 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio v0.1.18 [INFO] [stderr] Compiling termiontelnet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, PartialEq, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_TELNETOPTION` [INFO] [stdout] 51 | pub enum TelnetOption { [INFO] [stdout] | ------------ `TelnetOption` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.52s [INFO] running `Command { std: "docker" "inspect" "0beac5d4289e4d66b34773126fad27305c83a89091323a0bea1b2a2bd3c7fd32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0beac5d4289e4d66b34773126fad27305c83a89091323a0bea1b2a2bd3c7fd32", kill_on_drop: false }` [INFO] [stdout] 0beac5d4289e4d66b34773126fad27305c83a89091323a0bea1b2a2bd3c7fd32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2754fed310177e5606d9d7a032feae457b7c38c5d4389648a4853eaeed6d621 [INFO] running `Command { std: "docker" "start" "-a" "b2754fed310177e5606d9d7a032feae457b7c38c5d4389648a4853eaeed6d621", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-mockstream v1.1.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, PartialEq, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_TELNETOPTION` [INFO] [stdout] 51 | pub enum TelnetOption { [INFO] [stdout] | ------------ `TelnetOption` 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] [stderr] Compiling termiontelnet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, PartialEq, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_TELNETOPTION` [INFO] [stdout] 51 | pub enum TelnetOption { [INFO] [stdout] | ------------ `TelnetOption` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "b2754fed310177e5606d9d7a032feae457b7c38c5d4389648a4853eaeed6d621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2754fed310177e5606d9d7a032feae457b7c38c5d4389648a4853eaeed6d621", kill_on_drop: false }` [INFO] [stdout] b2754fed310177e5606d9d7a032feae457b7c38c5d4389648a4853eaeed6d621 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1fe72a9cc854a84da9af872bd01ee33a30145764c74ef9c07cf483df811bd1b0 [INFO] running `Command { std: "docker" "start" "-a" "1fe72a9cc854a84da9af872bd01ee33a30145764c74ef9c07cf483df811bd1b0", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:50:35 [INFO] [stderr] | [INFO] [stderr] 50 | #[derive(Debug, PartialEq, Clone, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_TELNETOPTION` [INFO] [stderr] 51 | pub enum TelnetOption { [INFO] [stderr] | ------------ `TelnetOption` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `termiontelnet` (lib) generated 1 warning [INFO] [stderr] warning: `termiontelnet` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/termiontelnet-5bfa49d14e84b3d1) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test tests::decode_bytes_normal ... ok [INFO] [stdout] test tests::decode_many ... ok [INFO] [stderr] Doc-tests termiontelnet [INFO] [stdout] test tests::encode_escape ... ok [INFO] [stdout] test tests::decode_subline ... ok [INFO] [stdout] test tests::decode_resize_event ... ok [INFO] [stdout] test tests::decode_iac ... ok [INFO] [stdout] test tests::encode_payload_normal ... ok [INFO] [stdout] test tests::match_se_saves_rest ... ok [INFO] [stdout] test tests::encode_iac ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1fe72a9cc854a84da9af872bd01ee33a30145764c74ef9c07cf483df811bd1b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fe72a9cc854a84da9af872bd01ee33a30145764c74ef9c07cf483df811bd1b0", kill_on_drop: false }` [INFO] [stdout] 1fe72a9cc854a84da9af872bd01ee33a30145764c74ef9c07cf483df811bd1b0