[INFO] cloning repository https://github.com/younata/mdbook-generate-summary [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/younata/mdbook-generate-summary" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyounata%2Fmdbook-generate-summary", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyounata%2Fmdbook-generate-summary'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64cf0ac7957c5ab49c79e1aee3c70fa10bfc6908 [INFO] testing younata/mdbook-generate-summary against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyounata%2Fmdbook-generate-summary" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/younata/mdbook-generate-summary on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/younata/mdbook-generate-summary [INFO] finished tweaking git repo https://github.com/younata/mdbook-generate-summary [INFO] tweaked toml for git repo https://github.com/younata/mdbook-generate-summary written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/younata/mdbook-generate-summary already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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] f94fac19dced84b964b11697ea22c7b41f90628f7e9a46f931d724c003734c08 [INFO] running `Command { std: "docker" "start" "-a" "f94fac19dced84b964b11697ea22c7b41f90628f7e9a46f931d724c003734c08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f94fac19dced84b964b11697ea22c7b41f90628f7e9a46f931d724c003734c08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f94fac19dced84b964b11697ea22c7b41f90628f7e9a46f931d724c003734c08", kill_on_drop: false }` [INFO] [stdout] f94fac19dced84b964b11697ea22c7b41f90628f7e9a46f931d724c003734c08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14d9159909fa272f165a3efc1aabd3527f61e8176f41ca6663321c7f97280d3d [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" "14d9159909fa272f165a3efc1aabd3527f61e8176f41ca6663321c7f97280d3d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling either v1.5.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling structopt-derive v0.2.15 [INFO] [stderr] Compiling structopt v0.2.15 [INFO] [stderr] Compiling mdbook-generate-summary v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.61s [INFO] running `Command { std: "docker" "inspect" "14d9159909fa272f165a3efc1aabd3527f61e8176f41ca6663321c7f97280d3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14d9159909fa272f165a3efc1aabd3527f61e8176f41ca6663321c7f97280d3d", kill_on_drop: false }` [INFO] [stdout] 14d9159909fa272f165a3efc1aabd3527f61e8176f41ca6663321c7f97280d3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", 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] 202921d9713abe6de048c3d7f996edd31f0c6b1b1b42b458e087b8806a2c1f87 [INFO] running `Command { std: "docker" "start" "-a" "202921d9713abe6de048c3d7f996edd31f0c6b1b1b42b458e087b8806a2c1f87", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling float-cmp v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tempfile v3.0.7 [INFO] [stderr] Compiling predicates v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling assert_cmd v0.10.2 [INFO] [stderr] Compiling mdbook-generate-summary v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/cli.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | fn generates_summary_md() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 43.79s [INFO] running `Command { std: "docker" "inspect" "202921d9713abe6de048c3d7f996edd31f0c6b1b1b42b458e087b8806a2c1f87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "202921d9713abe6de048c3d7f996edd31f0c6b1b1b42b458e087b8806a2c1f87", kill_on_drop: false }` [INFO] [stdout] 202921d9713abe6de048c3d7f996edd31f0c6b1b1b42b458e087b8806a2c1f87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 16ad88e854b2e735504c8cd14d5eaeeacc7773e9997f04516d7378e9185c221d [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" "16ad88e854b2e735504c8cd14d5eaeeacc7773e9997f04516d7378e9185c221d", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/cli.rs:17:45 [INFO] [stderr] | [INFO] [stderr] 17 | fn generates_summary_md() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mdbook_generate_summary-bfd1641a402863d8) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test summary_entry::test::summary_line_with_no_subdir ... ok [INFO] [stdout] test summary_entry::test::indentation_level_with_base_dir ... ok [INFO] [stdout] test summary_entry::test::indentation_level_with_base_dir_and_readme ... ok [INFO] [stdout] test summary_entry::test::indentation_level_with_1_subdir ... ok [INFO] [stdout] test summary_entry::test::indentation_level_with_2_subdir ... ok [INFO] [stdout] test summary_entry::test::indentation_level_with_3_subdir ... ok [INFO] [stdout] test summary_entry::test::ordered ... ok [INFO] [stdout] test summary_entry::test::summary_line_with_1_subdir ... ok [INFO] [stdout] test summary_entry::test::ordered_2 ... ok [INFO] [stdout] test summary_entry::test::summary_line_with_1_subdir_readme ... ok [INFO] [stdout] test test::find_content_finds_a_title ... ok [INFO] [stdout] test test::find_content_returns_no_title_if_none_found ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-2f2d36c35105b3f7) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test generates_summary_md ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 32.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "16ad88e854b2e735504c8cd14d5eaeeacc7773e9997f04516d7378e9185c221d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16ad88e854b2e735504c8cd14d5eaeeacc7773e9997f04516d7378e9185c221d", kill_on_drop: false }` [INFO] [stdout] 16ad88e854b2e735504c8cd14d5eaeeacc7773e9997f04516d7378e9185c221d