[INFO] cloning repository https://github.com/koshkin-kna/rust-learn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/koshkin-kna/rust-learn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoshkin-kna%2Frust-learn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoshkin-kna%2Frust-learn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1c7a0e3513e67fcc84f652742de2f10b5d159f72
[INFO] testing koshkin-kna/rust-learn against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoshkin-kna%2Frust-learn" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/koshkin-kna/rust-learn on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/koshkin-kna/rust-learn
[INFO] finished tweaking git repo https://github.com/koshkin-kna/rust-learn
[INFO] tweaked toml for git repo https://github.com/koshkin-kna/rust-learn written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/koshkin-kna/rust-learn already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d700cfed902d1fada24968930b37a6e702274dbd5e45ac90611b2b0cb4db230b
[INFO] running `Command { std: "docker" "start" "-a" "d700cfed902d1fada24968930b37a6e702274dbd5e45ac90611b2b0cb4db230b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d700cfed902d1fada24968930b37a6e702274dbd5e45ac90611b2b0cb4db230b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d700cfed902d1fada24968930b37a6e702274dbd5e45ac90611b2b0cb4db230b", kill_on_drop: false }`
[INFO] [stdout] d700cfed902d1fada24968930b37a6e702274dbd5e45ac90611b2b0cb4db230b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6a343a96881a00066e3a2f775d4162074dd25903c841d6c8a433b807633a94dc
[INFO] running `Command { std: "docker" "start" "-a" "6a343a96881a00066e3a2f775d4162074dd25903c841d6c8a433b807633a94dc", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.4
[INFO] [stderr]    Compiling nodrop v0.1.12
[INFO] [stderr]    Compiling cfg-if v0.1.3
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling num-integer v0.1.38
[INFO] [stderr]    Compiling libc v0.2.42
[INFO] [stderr]    Compiling lazy_static v1.0.1
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling arrayvec v0.4.7
[INFO] [stderr]    Compiling rayon-core v1.4.0
[INFO] [stderr]    Compiling crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling byteorder v1.2.3
[INFO] [stderr]    Compiling proc-macro2 v0.4.6
[INFO] [stderr]    Compiling adler32 v1.0.2
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling either v1.5.0
[INFO] [stderr]    Compiling deflate v0.7.18
[INFO] [stderr]    Compiling rand v0.4.2
[INFO] [stderr]    Compiling num_cpus v1.8.0
[INFO] [stderr]    Compiling inflate v0.4.2
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling quote v0.6.3
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling bitflags v1.0.3
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling syn v0.14.2
[INFO] [stderr]    Compiling gif v0.10.0
[INFO] [stderr]    Compiling num-rational v0.1.42
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling png v0.12.0
[INFO] [stderr]    Compiling rayon v1.0.1
[INFO] [stderr]    Compiling num-derive v0.2.2
[INFO] [stderr]    Compiling jpeg-decoder v0.1.15
[INFO] [stderr]    Compiling image v0.19.0
[INFO] [stderr]    Compiling learn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:23:36
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn visit_dirs(dir: &Path, cb: &Fn(&DirEntry)) -> io::Result<()> {
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn visit_dirs(dir: &Path, cb: &dyn Fn(&DirEntry)) -> io::Result<()> {
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 9.92s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "6a343a96881a00066e3a2f775d4162074dd25903c841d6c8a433b807633a94dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a343a96881a00066e3a2f775d4162074dd25903c841d6c8a433b807633a94dc", kill_on_drop: false }`
[INFO] [stdout] 6a343a96881a00066e3a2f775d4162074dd25903c841d6c8a433b807633a94dc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9ec60c8033a3b7d70f6a0e1d63f57c1098271975df1457d77b682fb46e518378
[INFO] running `Command { std: "docker" "start" "-a" "9ec60c8033a3b7d70f6a0e1d63f57c1098271975df1457d77b682fb46e518378", kill_on_drop: false }`
[INFO] [stderr]    Compiling learn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:23:36
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn visit_dirs(dir: &Path, cb: &Fn(&DirEntry)) -> io::Result<()> {
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn visit_dirs(dir: &Path, cb: &dyn Fn(&DirEntry)) -> io::Result<()> {
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.34s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "9ec60c8033a3b7d70f6a0e1d63f57c1098271975df1457d77b682fb46e518378", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ec60c8033a3b7d70f6a0e1d63f57c1098271975df1457d77b682fb46e518378", kill_on_drop: false }`
[INFO] [stdout] 9ec60c8033a3b7d70f6a0e1d63f57c1098271975df1457d77b682fb46e518378
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a83c477c6c83ff1cf33be9e05cd04ffede4ee70c77ef1d7d6f214c07ea866c5e
[INFO] running `Command { std: "docker" "start" "-a" "a83c477c6c83ff1cf33be9e05cd04ffede4ee70c77ef1d7d6f214c07ea866c5e", kill_on_drop: false }`
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/main.rs:23:36
[INFO] [stderr]    |
[INFO] [stderr] 23 |     fn visit_dirs(dir: &Path, cb: &Fn(&DirEntry)) -> io::Result<()> {
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 23 |     fn visit_dirs(dir: &Path, cb: &dyn Fn(&DirEntry)) -> io::Result<()> {
[INFO] [stderr]    |                                    +++
[INFO] [stderr] 
[INFO] [stderr] warning: `learn` (bin "learn" test) generated 1 warning (run `cargo fix --bin "learn" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/learn-24775adcfb5ac712)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/learn-48c365be2b4579d3)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests learn
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - step_1::util_file (line 32) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - step_1::util_file (line 32) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `util_file` in this scope
[INFO] [stdout]  --> src/lib.rs:33:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | match util_file("src/text.txt".to_string()) {
[INFO] [stdout]   |       ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - step_1::util_file (line 32)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "a83c477c6c83ff1cf33be9e05cd04ffede4ee70c77ef1d7d6f214c07ea866c5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a83c477c6c83ff1cf33be9e05cd04ffede4ee70c77ef1d7d6f214c07ea866c5e", kill_on_drop: false }`
[INFO] [stdout] a83c477c6c83ff1cf33be9e05cd04ffede4ee70c77ef1d7d6f214c07ea866c5e
