[INFO] cloning repository https://github.com/jgespiga/mktcp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jgespiga/mktcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgespiga%2Fmktcp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgespiga%2Fmktcp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf9240b1dd0f333c727ccf0c37a7649ac6339542 [INFO] testing jgespiga/mktcp against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgespiga%2Fmktcp" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jgespiga/mktcp [INFO] finished tweaking git repo https://github.com/jgespiga/mktcp [INFO] tweaked toml for git repo https://github.com/jgespiga/mktcp written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jgespiga/mktcp on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jgespiga/mktcp 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48b3f96b1663b4e050e7813deed09746c7b4098d4a5a9be85e52f678caf5589b [INFO] running `Command { std: "docker" "start" "-a" "48b3f96b1663b4e050e7813deed09746c7b4098d4a5a9be85e52f678caf5589b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48b3f96b1663b4e050e7813deed09746c7b4098d4a5a9be85e52f678caf5589b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48b3f96b1663b4e050e7813deed09746c7b4098d4a5a9be85e52f678caf5589b", kill_on_drop: false }` [INFO] [stdout] 48b3f96b1663b4e050e7813deed09746c7b4098d4a5a9be85e52f678caf5589b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44f86a20d66073026fdf795ca1dbe763c8319b0ec5287d64831ee475ddcad0fa [INFO] running `Command { std: "docker" "start" "-a" "44f86a20d66073026fdf795ca1dbe763c8319b0ec5287d64831ee475ddcad0fa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling etherparse v0.19.0 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tun-tap v0.1.4 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling mktcp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/main.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let ip_hdr_sz = p.slice().len(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `etheparse` in this scope [INFO] [stdout] --> src/main.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | match etheparse::Ipv4HeaderSlice::from_slice(&buf[..nbytes]) { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `etheparse` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 29 | match etherparse::Ipv4HeaderSlice::from_slice(&buf[..nbytes]) { [INFO] [stdout] | + [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use etherparse::Ipv4HeaderSlice; [INFO] [stdout] | [INFO] [stdout] help: if you import `Ipv4HeaderSlice`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - match etheparse::Ipv4HeaderSlice::from_slice(&buf[..nbytes]) { [INFO] [stdout] 29 + match Ipv4HeaderSlice::from_slice(&buf[..nbytes]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dtai` in this scope [INFO] [stdout] --> src/main.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 55 | ... &buf[dtai..nbytes], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 55 | &buf[datai..nbytes], [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/main.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | p.payload_len(), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `proto` in this scope [INFO] [stdout] --> src/main.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | proto, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/tcp.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | / /// we have: [INFO] [stdout] 322 | | /// [INFO] [stdout] 323 | | /// 0 |-----------s-----------x----------------| (wraparound) [INFO] [stdout] 324 | | /// [INFO] [stdout] ... | [INFO] [stdout] 340 | | /// or, in other words, <=> !(s <= e <= x) [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 344 | return !(end >= start && end <= x); [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/tcp.rs:368:20 [INFO] [stdout] | [INFO] [stdout] 368 | return (end < start && end > x); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 368 - return (end < start && end > x); [INFO] [stdout] 368 + return end < start && end > x ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/tcp.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | / /// we have the opposite of above: [INFO] [stdout] 348 | | /// [INFO] [stdout] 349 | | /// 0 |-----------x-----------s----------------| (wraparound) [INFO] [stdout] 350 | | /// [INFO] [stdout] ... | [INFO] [stdout] 366 | | /// [INFO] [stdout] 367 | | /// or, in other words, <=> s < e < x [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] 368 | return (end < start && end > x); [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `etherparse::IpTrafficClass`: Please use the type IpNumber instead [INFO] [stdout] --> src/tcp.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | etherparse::IpTrafficClass::Tcp, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/tcp.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | iph: etherparse::Ipv4Header<'a>, [INFO] [stdout] | ^^^^^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/etherparse-0.19.0/src/net/ipv4_header.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Ipv4Header { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/tcp.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 208 | iph: etherparse::Ipv4Header<'a>, [INFO] [stdout] | ^^^^^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/etherparse-0.19.0/src/net/ipv4_header.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Ipv4Header { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Tcp` found for struct `IpNumber` in the current scope [INFO] [stdout] --> src/tcp.rs:133:45 [INFO] [stdout] | [INFO] [stdout] 133 | etherparse::IpTrafficClass::Tcp, [INFO] [stdout] | ^^^ associated item not found in `IpNumber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `destination` found for struct `etherparse::Ipv4Header` in the current scope [INFO] [stdout] --> src/tcp.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | iph.destination()[0], [INFO] [stdout] | ^^^^^^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `destination` found for struct `etherparse::Ipv4Header` in the current scope [INFO] [stdout] --> src/tcp.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | iph.destination()[1], [INFO] [stdout] | ^^^^^^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `destination` found for struct `etherparse::Ipv4Header` in the current scope [INFO] [stdout] --> src/tcp.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | iph.destination()[2], [INFO] [stdout] | ^^^^^^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `destination` found for struct `etherparse::Ipv4Header` in the current scope [INFO] [stdout] --> src/tcp.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | iph.destination()[3], [INFO] [stdout] | ^^^^^^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `source` found for struct `etherparse::Ipv4Header` in the current scope [INFO] [stdout] --> src/tcp.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | iph.source(), [INFO] [stdout] | ^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> src/tcp.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 130 | ip: etherparse::Ipv4Header::new( [INFO] [stdout] | _________________- [INFO] [stdout] 131 | | 0, [INFO] [stdout] 132 | | 64, [INFO] [stdout] 133 | | etherparse::IpTrafficClass::Tcp, [INFO] [stdout] ... | [INFO] [stdout] 140 | | iph.source(), [INFO] [stdout] 141 | | )?, [INFO] [stdout] | | -^ the trait `From>` is not implemented for `std::io::Error` [INFO] [stdout] | |_____________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, ValueTooBigError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `snd` on type `&mut Connection` [INFO] [stdout] --> src/tcp.rs:280:18 [INFO] [stdout] | [INFO] [stdout] 280 | self.snd.una = ackn; [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 280 | self.send.una = ackn; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `on_packet` found for struct `std::collections::hash_map::OccupiedEntry<'a, K, V, A>` in the current scope [INFO] [stdout] --> src/main.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | ... c.on_packet(&mut nic, iph, tcph, &buf[datai..nbytes])?; [INFO] [stdout] | ^^^^^^^^^ method not found in `std::collections::hash_map::OccupiedEntry<'_, Quad, Connection>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/tcp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0425, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mktcp` (bin "mktcp") due to 16 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "44f86a20d66073026fdf795ca1dbe763c8319b0ec5287d64831ee475ddcad0fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44f86a20d66073026fdf795ca1dbe763c8319b0ec5287d64831ee475ddcad0fa", kill_on_drop: false }` [INFO] [stdout] 44f86a20d66073026fdf795ca1dbe763c8319b0ec5287d64831ee475ddcad0fa