[INFO] cloning repository https://github.com/just2011lin/rust-programing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/just2011lin/rust-programing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust2011lin%2Frust-programing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust2011lin%2Frust-programing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85b5f0db1ea4d981b8c9a5a764279f6673e044ba [INFO] testing just2011lin/rust-programing against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust2011lin%2Frust-programing" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to create directory for '/workspace/builds/worker-3-tc2/source/.git/logs/refs/remotes/origin/HEAD': No such file or directory [INFO] [stderr] error: unable to write symref for refs/remotes/origin/HEAD: No space left on device [INFO] [stderr] fatal: unable to update refs/remotes/origin/HEAD [INFO] testing just2011lin/rust-programing against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust2011lin%2Frust-programing" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] /workspace/builds/worker-3-tc2/source/.git/objects: No space left on device [INFO] testing just2011lin/rust-programing against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust2011lin%2Frust-programing" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/ch19_advanced_features/ch19_02_advanced_traits.rs [INFO] [stderr] error: unable to write file src/ch19_advanced_features/ch19_04_advanced_functions_and_clourses.rs [INFO] [stderr] error: unable to write file src/ch19_advanced_features/ch19_05_macros.rs [INFO] [stderr] error: unable to write file src/ch21_ownership.rs [INFO] [stderr] fatal: cannot create directory at 'src/ch21_ownership': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] testing just2011lin/rust-programing against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust2011lin%2Frust-programing" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/just2011lin/rust-programing on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/just2011lin/rust-programing [INFO] finished tweaking git repo https://github.com/just2011lin/rust-programing [INFO] tweaked toml for git repo https://github.com/just2011lin/rust-programing written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/just2011lin/rust-programing 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7eb0e018a3978bb698c4533d81f46e28bba7dfbdea892c05810da57baf40ede5 [INFO] running `Command { std: "docker" "start" "-a" "7eb0e018a3978bb698c4533d81f46e28bba7dfbdea892c05810da57baf40ede5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7eb0e018a3978bb698c4533d81f46e28bba7dfbdea892c05810da57baf40ede5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eb0e018a3978bb698c4533d81f46e28bba7dfbdea892c05810da57baf40ede5", kill_on_drop: false }` [INFO] [stdout] 7eb0e018a3978bb698c4533d81f46e28bba7dfbdea892c05810da57baf40ede5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ca89458203f4ec8baf9228f05b836f85856e44f398e9b3a69cf2e09752d0ddd [INFO] running `Command { std: "docker" "start" "-a" "6ca89458203f4ec8baf9228f05b836f85856e44f398e9b3a69cf2e09752d0ddd", kill_on_drop: false }` [INFO] [stderr] Compiling rust-programing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> src/ch19_advanced_features/ch19_05_macros.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! my_vec { [INFO] [stdout] 4 | | ($( $x:expr ), *) => { [INFO] [stdout] 5 | | { [INFO] [stdout] 6 | | let mut temp_vec = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | }; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `main_my_vec` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "6ca89458203f4ec8baf9228f05b836f85856e44f398e9b3a69cf2e09752d0ddd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ca89458203f4ec8baf9228f05b836f85856e44f398e9b3a69cf2e09752d0ddd", kill_on_drop: false }` [INFO] [stdout] 6ca89458203f4ec8baf9228f05b836f85856e44f398e9b3a69cf2e09752d0ddd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1eea5d4513e04a9977be94d10af821323ea159cf01ee6bf6f2f4437e2583133 [INFO] running `Command { std: "docker" "start" "-a" "d1eea5d4513e04a9977be94d10af821323ea159cf01ee6bf6f2f4437e2583133", kill_on_drop: false }` [INFO] [stderr] Compiling rust-programing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> src/ch19_advanced_features/ch19_05_macros.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! my_vec { [INFO] [stdout] 4 | | ($( $x:expr ), *) => { [INFO] [stdout] 5 | | { [INFO] [stdout] 6 | | let mut temp_vec = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | }; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `main_my_vec` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> src/ch19_advanced_features/ch19_05_macros.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! my_vec { [INFO] [stdout] 4 | | ($( $x:expr ), *) => { [INFO] [stdout] 5 | | { [INFO] [stdout] 6 | | let mut temp_vec = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | }; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `main_my_vec` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "d1eea5d4513e04a9977be94d10af821323ea159cf01ee6bf6f2f4437e2583133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1eea5d4513e04a9977be94d10af821323ea159cf01ee6bf6f2f4437e2583133", kill_on_drop: false }` [INFO] [stdout] d1eea5d4513e04a9977be94d10af821323ea159cf01ee6bf6f2f4437e2583133 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 68ef34efdcc62461479cd198fd06045f8f4e14ccba7a84a45c02e4eae8ed0df1 [INFO] running `Command { std: "docker" "start" "-a" "68ef34efdcc62461479cd198fd06045f8f4e14ccba7a84a45c02e4eae8ed0df1", kill_on_drop: false }` [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> src/ch19_advanced_features/ch19_05_macros.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | / macro_rules! my_vec { [INFO] [stderr] 4 | | ($( $x:expr ), *) => { [INFO] [stderr] 5 | | { [INFO] [stderr] 6 | | let mut temp_vec = Vec::new(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | }; [INFO] [stderr] 13 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `main_my_vec` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-programing` (lib) generated 1 warning [INFO] [stderr] warning: `rust-programing` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_programing-45f9044d0c3a2384) [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/rust_programing-ae877a3f1ab4ee84) [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 rust_programing [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] running `Command { std: "docker" "inspect" "68ef34efdcc62461479cd198fd06045f8f4e14ccba7a84a45c02e4eae8ed0df1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68ef34efdcc62461479cd198fd06045f8f4e14ccba7a84a45c02e4eae8ed0df1", kill_on_drop: false }` [INFO] [stdout] 68ef34efdcc62461479cd198fd06045f8f4e14ccba7a84a45c02e4eae8ed0df1