[INFO] updating cached repository https://github.com/yorodm/patcher [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4d022ca98bbcc52da7351e52e18c3718202a4fd [INFO] testing yorodm/patcher against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyorodm%2Fpatcher" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yorodm/patcher on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yorodm/patcher [INFO] finished tweaking git repo https://github.com/yorodm/patcher [INFO] tweaked toml for git repo https://github.com/yorodm/patcher written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/yorodm/patcher already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 823b54c0ce5e69154a908e41cb952fac84d3a11c372bb2b477134b820e3cd654 [INFO] running `Command { std: "docker" "start" "-a" "823b54c0ce5e69154a908e41cb952fac84d3a11c372bb2b477134b820e3cd654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "823b54c0ce5e69154a908e41cb952fac84d3a11c372bb2b477134b820e3cd654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "823b54c0ce5e69154a908e41cb952fac84d3a11c372bb2b477134b820e3cd654", kill_on_drop: false }` [INFO] [stdout] 823b54c0ce5e69154a908e41cb952fac84d3a11c372bb2b477134b820e3cd654 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=forbid" "-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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7037407aa0bd8fe268cc8fdfaa94020c9665e468d8cbe8d33f220d3c79b7addc [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" "7037407aa0bd8fe268cc8fdfaa94020c9665e468d8cbe8d33f220d3c79b7addc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling stderrlog v0.4.3 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling gumdrop_derive v0.8.0 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling gumdrop v0.8.0 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling patcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "7037407aa0bd8fe268cc8fdfaa94020c9665e468d8cbe8d33f220d3c79b7addc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7037407aa0bd8fe268cc8fdfaa94020c9665e468d8cbe8d33f220d3c79b7addc", kill_on_drop: false }` [INFO] [stdout] 7037407aa0bd8fe268cc8fdfaa94020c9665e468d8cbe8d33f220d3c79b7addc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=forbid" "-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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e571a6be8aff66b01963b7768f92ae7779d9d721e0aaaece64e9b2ca66befb90 [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" "e571a6be8aff66b01963b7768f92ae7779d9d721e0aaaece64e9b2ca66befb90", kill_on_drop: false }` [INFO] [stderr] Compiling patcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Method`, `Response`, `Result`, `Server`, `StatusCode` [INFO] [stdout] --> src/main.rs:222:20 [INFO] [stdout] | [INFO] [stdout] 222 | use hyper::{Body, Method, Request, Response, Result, Server, StatusCode}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:225:6 [INFO] [stdout] | [INFO] [stdout] 225 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:247:7 [INFO] [stdout] | [INFO] [stdout] 247 | let mut req = Request::new(Body::from("Hola mundo")); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.26s [INFO] running `Command { std: "docker" "inspect" "e571a6be8aff66b01963b7768f92ae7779d9d721e0aaaece64e9b2ca66befb90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e571a6be8aff66b01963b7768f92ae7779d9d721e0aaaece64e9b2ca66befb90", kill_on_drop: false }` [INFO] [stdout] e571a6be8aff66b01963b7768f92ae7779d9d721e0aaaece64e9b2ca66befb90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=forbid" "-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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b8cb9ab6cfbdc968be61ecb45eac2f905f3128c5a9e25a4dea859ff01b01c9c3 [INFO] running `Command { std: "docker" "start" "-a" "b8cb9ab6cfbdc968be61ecb45eac2f905f3128c5a9e25a4dea859ff01b01c9c3", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Method`, `Response`, `Result`, `Server`, `StatusCode` [INFO] [stderr] --> src/main.rs:222:20 [INFO] [stderr] | [INFO] [stderr] 222 | use hyper::{Body, Method, Request, Response, Result, Server, StatusCode}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/main.rs:225:6 [INFO] [stderr] | [INFO] [stderr] 225 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:247:7 [INFO] [stderr] | [INFO] [stderr] 247 | let mut req = Request::new(Body::from("Hola mundo")); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/patcher-2bfe9a09133b4023 [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test::test_get_creates_channel ... ok [INFO] [stdout] test test::test_post_creates_channel ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b8cb9ab6cfbdc968be61ecb45eac2f905f3128c5a9e25a4dea859ff01b01c9c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8cb9ab6cfbdc968be61ecb45eac2f905f3128c5a9e25a4dea859ff01b01c9c3", kill_on_drop: false }` [INFO] [stdout] b8cb9ab6cfbdc968be61ecb45eac2f905f3128c5a9e25a4dea859ff01b01c9c3