[INFO] cloning repository https://github.com/michaelsproul/bad-redirects [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michaelsproul/bad-redirects" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelsproul%2Fbad-redirects", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelsproul%2Fbad-redirects'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f8394635fbd4ba9d58550e5def77d3562e59a30 [INFO] checking michaelsproul/bad-redirects against try#6f8a6450478f69b8510c8976ab6c2a70b3b0e47c for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelsproul%2Fbad-redirects" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michaelsproul/bad-redirects on toolchain 6f8a6450478f69b8510c8976ab6c2a70b3b0e47c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/michaelsproul/bad-redirects [INFO] finished tweaking git repo https://github.com/michaelsproul/bad-redirects [INFO] tweaked toml for git repo https://github.com/michaelsproul/bad-redirects written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/michaelsproul/bad-redirects already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sequence_trie v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "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] 7978fe57bd0c148443707ceeb51e00c47e063fbed0d1d7cad02104e7e956334b [INFO] running `Command { std: "docker" "start" "-a" "7978fe57bd0c148443707ceeb51e00c47e063fbed0d1d7cad02104e7e956334b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7978fe57bd0c148443707ceeb51e00c47e063fbed0d1d7cad02104e7e956334b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7978fe57bd0c148443707ceeb51e00c47e063fbed0d1d7cad02104e7e956334b", kill_on_drop: false }` [INFO] [stdout] 7978fe57bd0c148443707ceeb51e00c47e063fbed0d1d7cad02104e7e956334b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 526c86d03163b39f8b9f57ecef9c94598f23a45eb6257abf6fc6d87decc82fab [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" "526c86d03163b39f8b9f57ecef9c94598f23a45eb6257abf6fc6d87decc82fab", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking sequence_trie v0.3.6 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling phf v0.7.24 [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 rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking mount v0.4.0 [INFO] [stderr] Checking bad-redirects v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0615]: attempted to take value of method `path` on type `&iron::Url` [INFO] [stdout] --> src/main.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | path.push_str(&orig_url.path[0]); [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 27 | path.push_str(&orig_url.path()[0]); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `path` on type `iron::Url` [INFO] [stdout] --> src/main.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | for piece in req.url.path.iter() { [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 31 | for piece in req.url.path().iter() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0615`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bad-redirects` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0615]: attempted to take value of method `path` on type `&iron::Url` [INFO] [stdout] --> src/main.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | path.push_str(&orig_url.path[0]); [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 27 | path.push_str(&orig_url.path()[0]); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `path` on type `iron::Url` [INFO] [stdout] --> src/main.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | for piece in req.url.path.iter() { [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 31 | for piece in req.url.path().iter() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0615`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "526c86d03163b39f8b9f57ecef9c94598f23a45eb6257abf6fc6d87decc82fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "526c86d03163b39f8b9f57ecef9c94598f23a45eb6257abf6fc6d87decc82fab", kill_on_drop: false }` [INFO] [stdout] 526c86d03163b39f8b9f57ecef9c94598f23a45eb6257abf6fc6d87decc82fab