[INFO] cloning repository https://github.com/O-I/nickel-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/O-I/nickel-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FO-I%2Fnickel-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FO-I%2Fnickel-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a4e3f63f30bd6b76deb7a2ae40f91f891f353b5 [INFO] testing O-I/nickel-demo against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FO-I%2Fnickel-demo" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/O-I/nickel-demo on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/O-I/nickel-demo [INFO] finished tweaking git repo https://github.com/O-I/nickel-demo [INFO] tweaked toml for git repo https://github.com/O-I/nickel-demo written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/O-I/nickel-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/nickel-org/nickel.rs.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b67da8922f08b1638afe816d9721973fa7c2c5c3cdeb1b25dc6a377be112c39 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8b67da8922f08b1638afe816d9721973fa7c2c5c3cdeb1b25dc6a377be112c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b67da8922f08b1638afe816d9721973fa7c2c5c3cdeb1b25dc6a377be112c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b67da8922f08b1638afe816d9721973fa7c2c5c3cdeb1b25dc6a377be112c39", kill_on_drop: false }` [INFO] [stdout] 8b67da8922f08b1638afe816d9721973fa7c2c5c3cdeb1b25dc6a377be112c39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8d48847205e03e582aee7a744798ac7519b4cf956b06bf5a2f6902ee08ffc8e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d8d48847205e03e582aee7a744798ac7519b4cf956b06bf5a2f6902ee08ffc8e", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling nickel v0.11.0 (https://github.com/nickel-org/nickel.rs.git#f1388afc) [INFO] [stderr] Compiling nickel-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::net::ip::Ipv4Addr; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope [INFO] [stdout] --> src/main.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | server.listen(Ipv4Addr(127, 0, 0, 1), 6767); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `Nickel` in the current scope [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | server.get("/hello", a_handler); [INFO] [stdout] | ^^^ method not found in `Nickel` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use nickel::HttpRouter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | server.listen(Ipv4Addr(127, 0, 0, 1), 6767); [INFO] [stdout] | ^^^^^^ ---------------------- ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nickel-demo` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "d8d48847205e03e582aee7a744798ac7519b4cf956b06bf5a2f6902ee08ffc8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8d48847205e03e582aee7a744798ac7519b4cf956b06bf5a2f6902ee08ffc8e", kill_on_drop: false }` [INFO] [stdout] d8d48847205e03e582aee7a744798ac7519b4cf956b06bf5a2f6902ee08ffc8e