[INFO] updating cached repository https://github.com/sjbaker47/rust-nslookup [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1ae35cc62e1c2401b077b320cb2d3404b02b40cb [INFO] checking sjbaker47/rust-nslookup against try#8810c24b0958114d8dbb32d878444e8956fce80f for pr-66063 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjbaker47%2Frust-nslookup" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sjbaker47/rust-nslookup on toolchain 8810c24b0958114d8dbb32d878444e8956fce80f [INFO] running `"/workspace/cargo-home/bin/cargo" "+8810c24b0958114d8dbb32d878444e8956fce80f" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/sjbaker47/rust-nslookup [INFO] finished tweaking git repo https://github.com/sjbaker47/rust-nslookup [INFO] tweaked toml for git repo https://github.com/sjbaker47/rust-nslookup written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/sjbaker47/rust-nslookup already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+8810c24b0958114d8dbb32d878444e8956fce80f" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+8810c24b0958114d8dbb32d878444e8956fce80f" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4a2a5108c0da04defbe9738f2c6b0e998b4d7a65c50389ef41342730789ebcc1 [INFO] running `"docker" "start" "-a" "4a2a5108c0da04defbe9738f2c6b0e998b4d7a65c50389ef41342730789ebcc1"` [INFO] [stderr] Checking nslookup v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Cursor` [INFO] [stderr] --> src/protocol/name.rs:114:40 [INFO] [stderr] | [INFO] [stderr] 114 | let decoded = decode_name_rdr(&mut Cursor::new(&buf)).unwrap(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Cursor` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Cursor` [INFO] [stderr] --> src/protocol/name.rs:119:40 [INFO] [stderr] | [INFO] [stderr] 119 | let decoded = decode_name_rdr(&mut Cursor::new(&buf)).unwrap(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Cursor` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `decode_name` in this scope [INFO] [stderr] --> src/protocol/name.rs:101:19 [INFO] [stderr] | [INFO] [stderr] 37 | / pub fn encode_name(name : &str) -> Vec { [INFO] [stderr] 38 | | let parts: Vec<&str> = name.split('.').collect(); [INFO] [stderr] 39 | | //Need one byte for size of each part, n bytes for the text, and a null byte` [INFO] [stderr] 40 | | let mut buffer : Vec = Vec::new(); [INFO] [stderr] ... | [INFO] [stderr] 51 | | buffer [INFO] [stderr] 52 | | } [INFO] [stderr] | |_- similarly named function `encode_name` defined here [INFO] [stderr] ... [INFO] [stderr] 101 | let decoded = decode_name(&buf); [INFO] [stderr] | ^^^^^^^^^^^ help: a function with a similar name exists: `encode_name` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `decode_name` in this scope [INFO] [stderr] --> src/protocol/name.rs:106:19 [INFO] [stderr] | [INFO] [stderr] 37 | / pub fn encode_name(name : &str) -> Vec { [INFO] [stderr] 38 | | let parts: Vec<&str> = name.split('.').collect(); [INFO] [stderr] 39 | | //Need one byte for size of each part, n bytes for the text, and a null byte` [INFO] [stderr] 40 | | let mut buffer : Vec = Vec::new(); [INFO] [stderr] ... | [INFO] [stderr] 51 | | buffer [INFO] [stderr] 52 | | } [INFO] [stderr] | |_- similarly named function `encode_name` defined here [INFO] [stderr] ... [INFO] [stderr] 106 | let decoded = decode_name(&buf); [INFO] [stderr] | ^^^^^^^^^^^ help: a function with a similar name exists: `encode_name` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `nslookup`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "4a2a5108c0da04defbe9738f2c6b0e998b4d7a65c50389ef41342730789ebcc1"` [INFO] running `"docker" "rm" "-f" "4a2a5108c0da04defbe9738f2c6b0e998b4d7a65c50389ef41342730789ebcc1"` [INFO] [stdout] 4a2a5108c0da04defbe9738f2c6b0e998b4d7a65c50389ef41342730789ebcc1