[INFO] updating cached repository https://github.com/selectnull/rserve [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] 244cd59fc24034d36138a832a12036448d00a450 [INFO] testing selectnull/rserve against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fselectnull%2Frserve" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/selectnull/rserve on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/selectnull/rserve [INFO] finished tweaking git repo https://github.com/selectnull/rserve [INFO] tweaked toml for git repo https://github.com/selectnull/rserve written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/selectnull/rserve already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/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" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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_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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc9457b506a448313fdb1856464d9bf965f6757b1ac05cb93d929a80213d0519 [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" "bc9457b506a448313fdb1856464d9bf965f6757b1ac05cb93d929a80213d0519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc9457b506a448313fdb1856464d9bf965f6757b1ac05cb93d929a80213d0519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc9457b506a448313fdb1856464d9bf965f6757b1ac05cb93d929a80213d0519", kill_on_drop: false }` [INFO] [stdout] bc9457b506a448313fdb1856464d9bf965f6757b1ac05cb93d929a80213d0519 [INFO] running `Command { std: "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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 494ede39017d15c23449cbd66c20f13c2098a245cc29c1bfb086b4b512b265f4 [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" "494ede39017d15c23449cbd66c20f13c2098a245cc29c1bfb086b4b512b265f4", kill_on_drop: false }` [INFO] [stderr] Compiling hoedown v3.0.5 [INFO] [stderr] Compiling mime v0.0.11 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling rserve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'std::slice::::connect': renamed to join [INFO] [stdout] --> src/main.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | path.connect("/") [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_mimetype(filename: String) -> Mime { [INFO] [stdout] | ---- expected `iron::mime::Mime` because of return type [INFO] [stdout] ... [INFO] [stdout] 36 | html_text [INFO] [stdout] | ^^^^^^^^^ expected struct `iron::mime::Mime`, found struct `mime::Mime` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `iron::mime::Mime` [INFO] [stdout] found struct `mime::Mime` [INFO] [stdout] = note: perhaps two different versions of crate `mime` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_mimetype(filename: String) -> Mime { [INFO] [stdout] | ---- expected `iron::mime::Mime` because of return type [INFO] [stdout] ... [INFO] [stdout] 38 | html_text [INFO] [stdout] | ^^^^^^^^^ expected struct `iron::mime::Mime`, found struct `mime::Mime` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `iron::mime::Mime` [INFO] [stdout] found struct `mime::Mime` [INFO] [stdout] = note: perhaps two different versions of crate `mime` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_mimetype(filename: String) -> Mime { [INFO] [stdout] | ---- expected `iron::mime::Mime` because of return type [INFO] [stdout] ... [INFO] [stdout] 40 | plain_text [INFO] [stdout] | ^^^^^^^^^^ expected struct `iron::mime::Mime`, found struct `mime::Mime` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `iron::mime::Mime` [INFO] [stdout] found struct `mime::Mime` [INFO] [stdout] = note: perhaps two different versions of crate `mime` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `path` on type `iron::Url` [INFO] [stdout] --> src/main.rs:60:59 [INFO] [stdout] | [INFO] [stdout] 60 | let mimetype = get_mimetype(get_filename(&request.url.path)); [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 60 | let mimetype = get_mimetype(get_filename(&request.url.path())); [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:61:57 [INFO] [stdout] | [INFO] [stdout] 61 | let content = get_content(get_filename(&request.url.path)); [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 61 | let content = get_content(get_filename(&request.url.path())); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0615. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rserve`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "494ede39017d15c23449cbd66c20f13c2098a245cc29c1bfb086b4b512b265f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "494ede39017d15c23449cbd66c20f13c2098a245cc29c1bfb086b4b512b265f4", kill_on_drop: false }` [INFO] [stdout] 494ede39017d15c23449cbd66c20f13c2098a245cc29c1bfb086b4b512b265f4