[INFO] updating cached repository https://github.com/sutetako/rust_learning [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] 69ae47d04f313d24b1b40ef9c7ea7c4f9920a3d0 [INFO] checking sutetako/rust_learning against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsutetako%2Frust_learning" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sutetako/rust_learning on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/sutetako/rust_learning [INFO] finished tweaking git repo https://github.com/sutetako/rust_learning [INFO] tweaked toml for git repo https://github.com/sutetako/rust_learning written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/sutetako/rust_learning already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 26a51152303ff0f60cbff12c4037d68d2f108a57b745a774f61cefb023e06d5a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "26a51152303ff0f60cbff12c4037d68d2f108a57b745a774f61cefb023e06d5a"` [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking rust_learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:1814:32 [INFO] [stderr] | [INFO] [stderr] 1814 | fn say_hello(out: &mut Write) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:1840:26 [INFO] [stderr] | [INFO] [stderr] 1840 | let writer: &mut Write = &mut buf; // ok [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/main.rs:1469:27 [INFO] [stderr] | [INFO] [stderr] 1469 | self.plural().trim_right_matches('s') [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0109]: type arguments are not allowed for this type [INFO] [stderr] --> src/main.rs:1854:15 [INFO] [stderr] | [INFO] [stderr] 1854 | buf::.write_all(b"hello").expect("error"); [INFO] [stderr] | ^^^ type argument not allowed [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0109`. [INFO] [stderr] error: could not compile `rust_learning`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "26a51152303ff0f60cbff12c4037d68d2f108a57b745a774f61cefb023e06d5a"` [INFO] running `"docker" "rm" "-f" "26a51152303ff0f60cbff12c4037d68d2f108a57b745a774f61cefb023e06d5a"` [INFO] [stdout] 26a51152303ff0f60cbff12c4037d68d2f108a57b745a774f61cefb023e06d5a