[INFO] cloning repository https://github.com/LucianoBestia/unsafe_features_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LucianoBestia/unsafe_features_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucianoBestia%2Funsafe_features_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucianoBestia%2Funsafe_features_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a3fa7f3761db17360af8cadfc1cb4bae14b5a22 [INFO] checking LucianoBestia/unsafe_features_example against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucianoBestia%2Funsafe_features_example" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LucianoBestia/unsafe_features_example on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LucianoBestia/unsafe_features_example [INFO] finished tweaking git repo https://github.com/LucianoBestia/unsafe_features_example [INFO] tweaked toml for git repo https://github.com/LucianoBestia/unsafe_features_example written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/LucianoBestia/unsafe_features_example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37fda8ffb551da12e20f3b1aa8580ee9a4c83eee51c2744529dcbe56b9997169 [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" "37fda8ffb551da12e20f3b1aa8580ee9a4c83eee51c2744529dcbe56b9997169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37fda8ffb551da12e20f3b1aa8580ee9a4c83eee51c2744529dcbe56b9997169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37fda8ffb551da12e20f3b1aa8580ee9a4c83eee51c2744529dcbe56b9997169", kill_on_drop: false }` [INFO] [stdout] 37fda8ffb551da12e20f3b1aa8580ee9a4c83eee51c2744529dcbe56b9997169 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce739c1796672d1a4a9e108e3a1efbdf6e083a7458f5d066808e9bae9434fef9 [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" "ce739c1796672d1a4a9e108e3a1efbdf6e083a7458f5d066808e9bae9434fef9", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking library v0.0.1 (/opt/rustwide/workdir/library) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> library/src/read_lyrics_mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | / /// every unsafe should have a doc-comment, to describe what it does [INFO] [stdout] 6 | | /// this unsafe reads from "sample_data/songs/basket_case_green_day.txt" [INFO] [stdout] 7 | | /// one idea how to force the existence of "unsafe feature" [INFO] [stdout] 8 | | /// unsafe( "unsafe_feature_read_song"){...} [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] 9 | / unsafe{ [INFO] [stdout] 10 | | let path = "sample_data/songs/basket_case_green_day.txt"; [INFO] [stdout] 11 | | // std::fs should be "unsafe" [INFO] [stdout] 12 | | // therefore the code must be under a namespace of "unsafe features" [INFO] [stdout] 13 | | file_content = std::fs::read_to_string(path).unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> library/src/read_lyrics_mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe{ [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_private_key` [INFO] [stdout] --> library/src/read_private_key_mod.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn read_private_key()->String {"no feature, no access.".to_string()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking client1 v0.0.1 (/opt/rustwide/workdir/client1) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> library/src/read_lyrics_mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | / /// every unsafe should have a doc-comment, to describe what it does [INFO] [stdout] 6 | | /// this unsafe reads from "sample_data/songs/basket_case_green_day.txt" [INFO] [stdout] 7 | | /// one idea how to force the existence of "unsafe feature" [INFO] [stdout] 8 | | /// unsafe( "unsafe_feature_read_song"){...} [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] 9 | / unsafe{ [INFO] [stdout] 10 | | let path = "sample_data/songs/basket_case_green_day.txt"; [INFO] [stdout] 11 | | // std::fs should be "unsafe" [INFO] [stdout] 12 | | // therefore the code must be under a namespace of "unsafe features" [INFO] [stdout] 13 | | file_content = std::fs::read_to_string(path).unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> library/src/read_lyrics_mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe{ [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_private_key` [INFO] [stdout] --> library/src/read_private_key_mod.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn read_private_key()->String {"no feature, no access.".to_string()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.01s [INFO] running `Command { std: "docker" "inspect" "ce739c1796672d1a4a9e108e3a1efbdf6e083a7458f5d066808e9bae9434fef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce739c1796672d1a4a9e108e3a1efbdf6e083a7458f5d066808e9bae9434fef9", kill_on_drop: false }` [INFO] [stdout] ce739c1796672d1a4a9e108e3a1efbdf6e083a7458f5d066808e9bae9434fef9